Home
last modified time | relevance | path

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

12

/test/framework/harnesses/host_controller/
Dconsole_test.py103 expected = (
107 self.assertEqual(expected, output)
109 self.assertEqual(expected, output)
136 expected = (
141 self.assertEqual(expected, output)
143 self.assertEqual(expected, output)
148 expected = "IndexError: "
149 self.assertTrue(output.startswith(expected))
151 self.assertTrue(output.startswith(expected))
216 expected = expected_fetch_info["build_id"]
[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/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/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/vts/drivers/shell/
DShellDriverTest.cpp166 string expected = "Linux\n"; in TEST() local
169 ASSERT_EQ(output.compare(expected), 0); in TEST()
176 string expected = "/system/bin/ls\n"; in TEST() local
179 ASSERT_EQ(output.compare(expected), 0); in TEST()
/test/app_compat/csuite/harness/src/test/java/com/android/compatibility/
DAppCompatibilityTestTest.java59 @Test(expected = IllegalArgumentException.class)
64 @Test(expected = IllegalArgumentException.class)
76 @Test(expected = NullPointerException.class)
109 @Test(expected = IllegalArgumentException.class)
114 @Test(expected = IllegalArgumentException.class)
126 @Test(expected = NullPointerException.class)
/test/suite_harness/common/host-side/util/tests/src/com/android/compatibility/common/util/
DBusinessLogicHostExecutorTest.java182 @Test(expected = RuntimeException.class)
187 @Test(expected = RuntimeException.class)
192 @Test(expected = RuntimeException.class)
197 @Test(expected = RuntimeException.class)
210 @Test(expected = RuntimeException.class)
224 @Test(expected = RuntimeException.class)
DModuleResultTest.java119 } catch (IllegalArgumentException expected) {} in testMergeModule_mismatchedModuleId()
/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.java123 @Test(expected = IllegalArgumentException.class)
130 @Test(expected = IllegalArgumentException.class)
146 @Test(expected = NullPointerException.class)
184 @Test(expected = IllegalArgumentException.class)
191 @Test(expected = IllegalArgumentException.class)
207 @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/framework/harnesses/host_controller/build/
Dbuild_provider_pab_test.py148 expected = "Backend error -- check your account ID"
149 self.assertEqual(str(cm.exception), expected)
169 expected = "Resource not found"
170 self.assertIn(expected, str(cm.exception))
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
DDynamicConfigPusherTest.java172 } catch (TargetSetupError expected) { in testLocalRead_fileNotFound()
176 expected.getMessage()); in testLocalRead_fileNotFound()
193 } catch (TargetSetupError expected) { in testResourceRead_notFound()
197 expected.getMessage()); in testResourceRead_notFound()
/test/suite_harness/common/host-side/manifest-generator/tests/src/com/android/compatibility/common/generator/
DManifestGeneratorTest.java83 String expected = String.format(MANIFEST, permissionXml, libraryXml, activityXml); in testManifest() local
84 assertEquals("Wrong manifest output", expected, output.toString()); in testManifest()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DCompatibilityTest.java513 long expected = module.getRuntimeHint(); in run() local
514 long delta = Math.abs(duration - expected); in run()
516 if (expected > 0 && ((float)delta / (float)expected) > 0.1f) { in run()
520 TimeUtil.formatElapsedTime(expected), in run()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/
DPreviousResultLoaderTest.java100 } catch (RuntimeException expected) { in testReloadTests_failed()
102 assertEquals("Could not find any test-record.pb to load.", expected.getMessage()); in testReloadTests_failed()
/test/mlts/benchmark/jni/
Drun_tflite.cpp187 const float* expected = reinterpret_cast<const float*>(expected_data); in getOutputError() local
191 float err = output_raw[i] - expected[i]; in getOutputError()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/util/
DDynamicConfigFileReaderTest.java79 } catch (XmlPullParserException expected) { in testGetValueFromFile_invalidFile()
/test/vts/harnesses/tradefed/tests/src/com/android/compatibility/common/tradefed/util/
DVtsRetryFilterHelperTest.java101 @Test(expected = IllegalArgumentException.class)
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DCaseResultTest.java118 } catch (IllegalArgumentException expected) {} in testMergeCase_mismatchedModuleName()
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/
DVtsMultiDeviceTestResultParser.java481 private void parseError(String expected) in parseError() argument
485 expected, mLineNum + 1, mCurrentLine)); in parseError()
/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()

12