/cts/tests/tests/database/src/android/database/cts/ |
D | StaleDataExceptionTest.java | 24 String expected1 = "Expected exception message"; in testConstructors() local 35 throw new StaleDataException(expected1); in testConstructors() 37 assertEquals(expected1, e.getMessage()); in testConstructors()
|
D | SQLExceptionTest.java | 25 String expected1 = "Expected exception message"; in testConstructors() local 36 throw new SQLException(expected1); in testConstructors() 38 assertEquals(expected1, e.getMessage()); in testConstructors()
|
D | CursorIndexOutOfBoundsExceptionTest.java | 36 String expected1 = "Expected exception message"; in testConstructors() local 46 throw new CursorIndexOutOfBoundsException(expected1); in testConstructors() 48 assertEquals(expected1, e.getMessage()); in testConstructors()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | PatternMatcherTest.java | 67 String expected1 = "test1"; in testGetPath() local 69 mPatternMatcher = new PatternMatcher(expected1, PatternMatcher.PATTERN_LITERAL); in testGetPath() 70 assertEquals(expected1, mPatternMatcher.getPath()); in testGetPath() 82 String expected1 = "PatternMatcher{LITERAL: test}"; in testToString() local 87 assertEquals(expected1, mPatternMatcher.toString()); in testToString()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | sample.rscript | 28 float4 expected0, float4 expected1, float4 expected2, float4 expected3) { 34 _RS_ASSERT(compare(expected1, result)); 45 float4 expected0, float4 expected1, float4 expected2, float4 expected3) { 51 _RS_ASSERT(compare(expected1, result));
|
/cts/tests/tests/util/src/android/util/cts/ |
D | TypedValueTest.java | 127 final float expected1 = 0.0f; in testComplexToFraction() local 133 assertEquals(expected1, TypedValue.complexToFraction(data1, base1, pbase1), 0.0f); in testComplexToFraction() 212 final float expected1 = 0.0f; in testComplexToFloat() local 217 assertEquals(expected1, TypedValue.complexToFloat(complex1), 0.0f); in testComplexToFloat()
|
/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | LocationProviderBaseTest.java | 150 Location expected1 = new Location(location1); in testReportLocations_stripExtras() local 151 expected1.setExtras(null); in testReportLocations_stripExtras() 154 List<Location> expected = Arrays.asList(expected1, expected2); in testReportLocations_stripExtras()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | InterpolatorTest.java | 63 int expected1 = 100; in testReset2() local 67 interpolator.reset(expected1, expected2); in testReset2() 68 assertEquals(expected1, interpolator.getValueCount()); in testReset2()
|
D | PathTest.java | 135 Path.FillType expected1 = Path.FillType.EVEN_ODD; in testAccessFillType() local 144 assertEquals(expected1, path.getFillType()); in testAccessFillType()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | TimeTest.java | 493 Time expected1 = new Time(newTz); in testSwitchTimezone_simpleUtc() local 494 Fields.set(expected1, 2006, 9, 5, 5, 0, 0, 1 /* isDst */, -25200, 277, 4); in testSwitchTimezone_simpleUtc() 495 Fields.verifyTimeEquals(expected1, t); in testSwitchTimezone_simpleUtc() 515 Time expected1 = new Time(zone2); in testSwitchTimezone_standardToStandardTime() local 516 Fields.set(expected1, 2007, 2, 10, 4, 0, 0, 0 /* isDst */, -28800, 68, 6); in testSwitchTimezone_standardToStandardTime() 517 Fields.verifyTimeEquals(expected1, t); in testSwitchTimezone_standardToStandardTime() 537 Time expected1 = new Time(zone2); in testSwitchTimezone_dstToDstTime() local 538 Fields.set(expected1, 2007, 2, 26, 4, 0, 0, 1 /* isDst */, -25200, 84, 1); in testSwitchTimezone_dstToDstTime() 539 Fields.verifyTimeEquals(expected1, t); in testSwitchTimezone_dstToDstTime() 559 Time expected1 = new Time(zone2); in testSwitchTimezone_standardToDstTime() local [all …]
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaStore_Audio_Genres_MembersTest.java | 143 final String expected1 = Audio1.getInstance().getContentValues(mVolumeName) in testStoreAudioGenresMembersExternal() local 145 assertEquals(expected1, c.getString(c.getColumnIndex(Members.DATA))); in testStoreAudioGenresMembersExternal()
|
D | MediaStore_Audio_Playlists_MembersTest.java | 252 final String expected1 = Audio1.getInstance().getContentValues(mVolumeName) in testStoreAudioPlaylistsMembersExternal() local 254 assertEquals(expected1, c.getString(c.getColumnIndex(Members.DATA))); in testStoreAudioPlaylistsMembersExternal()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | GlobalSearchSessionCtsTestBase.java | 617 AppSearchEmail expected1 = in testGlobalQuery_projectionTwoInstances() local 629 assertThat(documents).containsExactly(expected1, expected2); in testGlobalQuery_projectionTwoInstances() 677 AppSearchEmail expected1 = in testGlobalQuery_projectionEmptyTwoInstances() local 685 assertThat(documents).containsExactly(expected1, expected2); in testGlobalQuery_projectionEmptyTwoInstances() 737 AppSearchEmail expected1 = in testGlobalQuery_projectionNonExistentTypeTwoInstances() local 749 assertThat(documents).containsExactly(expected1, expected2); in testGlobalQuery_projectionNonExistentTypeTwoInstances()
|
D | AppSearchSessionCtsTestBase.java | 2127 AppSearchEmail expected1 = in testGetDocuments_projection() local 2139 assertThat(outDocuments).containsExactly(expected1, expected2); in testGetDocuments_projection() 2181 AppSearchEmail expected1 = in testGetDocuments_projectionEmpty() local 2189 assertThat(outDocuments).containsExactly(expected1, expected2); in testGetDocuments_projectionEmpty() 2234 AppSearchEmail expected1 = in testGetDocuments_projectionNonExistentType() local 2246 assertThat(outDocuments).containsExactly(expected1, expected2); in testGetDocuments_projectionNonExistentType() 2291 AppSearchEmail expected1 = in testGetDocuments_wildcardProjection() local 2303 assertThat(outDocuments).containsExactly(expected1, expected2); in testGetDocuments_wildcardProjection() 2347 AppSearchEmail expected1 = in testGetDocuments_wildcardProjectionEmpty() local 2355 assertThat(outDocuments).containsExactly(expected1, expected2); in testGetDocuments_wildcardProjectionEmpty() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverTest.java | 1498 final List<Change> expected1 = Arrays.asList( in testNotifyChange_MultipleFlags() local 1510 return observer1.hadChanges(expected1) in testNotifyChange_MultipleFlags()
|