/test/app_compat/csuite/harness/src/test/java/com/android/csuite/testing/ |
D | MoreAssertsTest.java | 30 @Test(expected = AssertionError.class) 41 @Test(expected = AssertionError.class) 50 @Test(expected = AssertionError.class) 61 IllegalArgumentException expected = new IllegalArgumentException(); in assertThrows_expectedExceptionTypeThrown_returnsSameObject() local 67 throw expected; in assertThrows_expectedExceptionTypeThrown_returnsSameObject() 70 assertThat(actual).isSameInstanceAs(expected); in assertThrows_expectedExceptionTypeThrown_returnsSameObject() 75 IllegalArgumentException expected = new IllegalArgumentException(); in assertThrows_subTypeOfExpectedExceptionTypeThrown_returnsSameObject() local 81 throw expected; in assertThrows_subTypeOfExpectedExceptionTypeThrown_returnsSameObject() 84 assertThat(actual).isSameInstanceAs(expected); in assertThrows_subTypeOfExpectedExceptionTypeThrown_returnsSameObject()
|
D | CorrespondencesTest.java | 32 @Test(expected = AssertionError.class)
|
/test/vti/dashboard/src/test/java/com/android/vts/job/ |
D | VtsProfilingStatsJobServletTest.java | 221 StatSummary expected = in testNewSummary() local 226 expected.updateStats(value); in testNewSummary() 284 assertEquals(expected.getCount(), pps.getGlobalStats().getCount()); in testNewSummary() 285 assertEquals(expected.getMax(), pps.getGlobalStats().getMax(), THRESHOLD); in testNewSummary() 286 assertEquals(expected.getMin(), pps.getGlobalStats().getMin(), THRESHOLD); in testNewSummary() 287 assertEquals(expected.getMean(), pps.getGlobalStats().getMean(), THRESHOLD); in testNewSummary() 288 assertEquals(expected.getSumSq(), pps.getGlobalStats().getSumSq(), THRESHOLD); in testNewSummary() 329 StatSummary expected = in testUpdateSummary() local 341 expected, in testUpdateSummary() 359 for (long value : values) expected.updateStats(value); in testUpdateSummary() [all …]
|
/test/vti/dashboard/src/test/java/com/android/vts/util/ |
D | TimeUtilTest.java | 29 String expected = "2017-09-01 10:29:36 (PDT)"; in testFormatDateTime() local 31 assertEquals(expected, timeString); in testFormatDateTime() 38 String expected = "2017-08-31"; in testFormatDate() local 40 assertEquals(expected, timeString); in testFormatDate()
|
/test/vts/runners/host/ |
D | asserts.py | 307 def __init__(self, expected, expected_regexp=None, extras=None): argument 308 self.expected = expected 319 exc_name = self.expected.__name__ 321 exc_name = str(self.expected) 324 if not issubclass(exc_type, self.expected):
|
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/config/ |
D | AppRemoteFileResolverTest.java | 153 File expected = temporaryFolder.newFolder(); in templateHasNoPlaceholders_returnsFileWithoutExpansion() local 154 AppRemoteFileResolver resolver = newResolverWithTemplate(expected.toURI().toString()); in templateHasNoPlaceholders_returnsFileWithoutExpansion() 158 assertThat(actual).isEqualTo(expected); in templateHasNoPlaceholders_returnsFileWithoutExpansion() 188 File expected = new File(parent, PACKAGE_NAME); in templateContainsPlaceholder_resolvesUriToFile() local 195 assertThat(actual).isEqualTo(expected); in templateContainsPlaceholder_resolvesUriToFile() 214 File expected = uriToFile(uri); in templateExpandsToUriWithUnsupportedScheme_returnsExpandedUri() local 218 assertThat(actual).isEqualTo(expected); in templateExpandsToUriWithUnsupportedScheme_returnsExpandedUri()
|
/test/vts/utils/python/coverage/ |
D | gcda_parser_test.py | 132 for index, expected in zip(range(len(expected_list)), expected_list): 134 expected) 138 for index, expected in zip(range(len(expected_list)), expected_list): 140 expected)
|
D | coverage_report_test.py | 55 expected = {'sample.c': [-1, -1, -1, -1, 2, -1, -1, -1, -1, -1, 2, 59 self.assertEqual(coverage_dict, expected)
|
D | gcno_parser_test.py | 203 for index, expected in zip(range(5), expected_list): 204 self.assertEqual(func.blocks[index].lines, expected) 214 for index, expected in zip(range(12), expected_list): 215 self.assertEqual(func.blocks[index].lines, expected)
|
/test/app_compat/csuite/harness/src/test/java/com/android/compatibility/testtype/ |
D | AppLaunchTestTest.java | 149 @Test(expected = IllegalArgumentException.class) 156 @Test(expected = IllegalArgumentException.class) 172 @Test(expected = NullPointerException.class) 210 @Test(expected = IllegalArgumentException.class) 217 @Test(expected = IllegalArgumentException.class) 233 @Test(expected = NullPointerException.class)
|
/test/vts/drivers/hal/libcodecoverage/ |
D | GcdaFile.cpp | 130 int GcdaFile::Magic(unsigned magic, unsigned expected) { in Magic() argument 131 if (magic == expected) return 1; in Magic() 134 if (magic == expected) { in Magic()
|
D | GcdaFile.h | 66 int Magic(unsigned magic, unsigned expected);
|
/test/app_compat/csuite/harness/src/test/java/com/android/compatibility/targetprep/ |
D | CheckGmsPreparerTest.java | 201 (LogItem actual, String expected) -> { in createContainsErrorLogCorrespondence() 203 && actual.getMessage().contains(expected); in createContainsErrorLogCorrespondence()
|
/test/vts-testcase/kernel/bow/ |
D | BowTest.cpp | 303 std::string expected = "Sector " + std::to_string(i); in FindChanged() local 304 EXPECT_STREQ(buffer, expected.c_str()); in FindChanged()
|
/test/mlts/benchmark/jni/ |
D | run_tflite.cpp | 242 const float* expected = reinterpret_cast<const float*>(expected_data); in getOutputError() local 246 float err = output_raw[i] - expected[i]; in getOutputError()
|
/test/app_compat/csuite/ |
D | pylintrc | 294 expected-line-ending-format=
|
/test/mlts/models/assets/asr_float/ |
D | LICENSE | 32 material as expected. Licensors should clearly mark any
|