Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 17 of 17) sorted by relevance

/test/app_compat/csuite/harness/src/test/java/com/android/csuite/testing/
DMoreAssertsTest.java30 @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()
DCorrespondencesTest.java32 @Test(expected = AssertionError.class)
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsProfilingStatsJobServletTest.java221 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/
DTimeUtilTest.java29 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/
Dasserts.py307 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/
DAppRemoteFileResolverTest.java153 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/
Dgcda_parser_test.py132 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)
Dcoverage_report_test.py55 expected = {'sample.c': [-1, -1, -1, -1, 2, -1, -1, -1, -1, -1, 2,
59 self.assertEqual(coverage_dict, expected)
Dgcno_parser_test.py203 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/
DAppLaunchTestTest.java149 @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/
DGcdaFile.cpp130 int GcdaFile::Magic(unsigned magic, unsigned expected) { in Magic() argument
131 if (magic == expected) return 1; in Magic()
134 if (magic == expected) { in Magic()
DGcdaFile.h66 int Magic(unsigned magic, unsigned expected);
/test/app_compat/csuite/harness/src/test/java/com/android/compatibility/targetprep/
DCheckGmsPreparerTest.java201 (LogItem actual, String expected) -> { in createContainsErrorLogCorrespondence()
203 && actual.getMessage().contains(expected); in createContainsErrorLogCorrespondence()
/test/vts-testcase/kernel/bow/
DBowTest.cpp303 std::string expected = "Sector " + std::to_string(i); in FindChanged() local
304 EXPECT_STREQ(buffer, expected.c_str()); in FindChanged()
/test/mlts/benchmark/jni/
Drun_tflite.cpp242 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/
Dpylintrc294 expected-line-ending-format=
/test/mlts/models/assets/asr_float/
DLICENSE32 material as expected. Licensors should clearly mark any