Home
last modified time | relevance | path

Searched refs:TEST_URI (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DSearchRecentSuggestionsProviderTest.java31 private final static Uri TEST_URI = Uri.parse(AUTHORITY_HEAD + "/suggestions"); field in SearchRecentSuggestionsProviderTest
53 assertNotNull(s.getType(TEST_URI)); in testSearchRecentSuggestionsProvider()
62 s.insert(TEST_URI, new ContentValues()); in testSearchRecentSuggestionsProvider()
66 s.insert(TEST_URI, new ContentValues()); in testSearchRecentSuggestionsProvider()
70 s.delete(TEST_URI, null, null); in testSearchRecentSuggestionsProvider()
75 s.update(TEST_URI, null, null, null); in testSearchRecentSuggestionsProvider()
DIntentTest.java55 private static final Uri TEST_URI = People.CONTENT_URI; field in IntentTest
96 mIntent = new Intent(TEST_ACTION, TEST_URI); in testConstructor()
99 assertEquals(TEST_URI, mIntent.getData()); in testConstructor()
105 mIntent = new Intent(TEST_ACTION, TEST_URI, mContext, MockActivity.class); in testConstructor()
108 assertEquals(TEST_URI, mIntent.getData()); in testConstructor()
128 mIntent.setData(TEST_URI); in testReadFromParcel()
171 mIntent.setData(TEST_URI); in testGetScheme()
172 assertEquals(TEST_URI.getScheme(), mIntent.getScheme()); in testGetScheme()
267 mIntent.setData(TEST_URI); in testResolveType1()
268 assertEquals(contentResolver.getType(TEST_URI), mIntent.resolveType(mContext)); in testResolveType1()
[all …]
/cts/tests/app/src/android/app/cts/
DPersonTest.java28 private static final String TEST_URI = Uri.fromParts("a", "b", "c").toString(); field in PersonTest
37 .setUri(TEST_URI) in testPerson_builder()
45 assertEquals(TEST_URI, person.getUri()); in testPerson_builder()
67 .setUri(TEST_URI) in testToBuilder()
76 assertEquals(TEST_URI, result.getUri()); in testToBuilder()
110 .setUri(TEST_URI) in testEquals()
124 .setUri(TEST_URI) in testEquals_noIcon()
140 .setUri(TEST_URI) in testEquals_different()
DNewDocumentTest.java31 private static Uri TEST_URI = Uri.parse("test_uri"); field in NewDocumentTest
37 intent.setData(TEST_URI); in testNewDocument()
/cts/tests/tests/net/src/android/net/cts/
DProxyInfoTest.java46 private static final Uri TEST_URI = Uri.parse("https://test.example.com"); field in ProxyInfoTest
87 final ProxyInfo proxy1 = ProxyInfo.buildPacProxy(TEST_URI); in testBuildPacProxy()
93 assertEquals(TEST_URI, proxy1.getPacFileUrl()); in testBuildPacProxy()
95 final ProxyInfo proxy2 = ProxyInfo.buildPacProxy(TEST_URI, TEST_PORT); in testBuildPacProxy()
101 assertEquals(TEST_URI, proxy2.getPacFileUrl()); in testBuildPacProxy()