/test/framework/harnesses/host_controller/ |
D | console_test.py | 103 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/ |
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/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/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/vts/drivers/shell/ |
D | ShellDriverTest.cpp | 166 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/ |
D | AppCompatibilityTestTest.java | 59 @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/ |
D | BusinessLogicHostExecutorTest.java | 182 @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)
|
D | ModuleResultTest.java | 119 } catch (IllegalArgumentException expected) {} in testMergeModule_mismatchedModuleId()
|
/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 | 123 @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/ |
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/framework/harnesses/host_controller/build/ |
D | build_provider_pab_test.py | 148 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/ |
D | DynamicConfigPusherTest.java | 172 } 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/ |
D | ManifestGeneratorTest.java | 83 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/ |
D | CompatibilityTest.java | 513 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/ |
D | PreviousResultLoaderTest.java | 100 } 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/ |
D | run_tflite.cpp | 187 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/ |
D | DynamicConfigFileReaderTest.java | 79 } catch (XmlPullParserException expected) { in testGetValueFromFile_invalidFile()
|
/test/vts/harnesses/tradefed/tests/src/com/android/compatibility/common/tradefed/util/ |
D | VtsRetryFilterHelperTest.java | 101 @Test(expected = IllegalArgumentException.class)
|
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/ |
D | CaseResultTest.java | 118 } catch (IllegalArgumentException expected) {} in testMergeCase_mismatchedModuleName()
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/ |
D | VtsMultiDeviceTestResultParser.java | 481 private void parseError(String expected) in parseError() argument 485 expected, mLineNum + 1, mCurrentLine)); in parseError()
|
/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()
|