Home
last modified time | relevance | path

Searched refs:testCase (Results 1 – 6 of 6) sorted by relevance

/platform_testing/libraries/timeresult-helper/src/android/support/test/timeresulthelper/
DTimeResultLogger.java30 public static void writeTimeStamp(String logType, String testCase, long delay, File destFile) in writeTimeStamp() argument
32 writeTimeStamp(logType, testCase, System.currentTimeMillis(), delay, destFile); in writeTimeStamp()
35 public static void writeTimeStamp(String logType, String testCase, long time, in writeTimeStamp() argument
39 logType, testCase)); in writeTimeStamp()
43 public static void writeTimeStampLogStart(String testCase, File destFile) throws IOException { in writeTimeStampLogStart() argument
44 writeTimeStamp("AUTOTEST_TEST_BEGIN", testCase, 5 * 1000, destFile); in writeTimeStampLogStart()
47 public static void writeTimeStampLogEnd(String testCase, File destFile) throws IOException { in writeTimeStampLogEnd() argument
48 writeTimeStamp("AUTOTEST_TEST_SUCCESS", testCase, 0, destFile); in writeTimeStampLogEnd()
51 public static void writeResultToFile(String testCase, File destFile, Bundle result) in writeResultToFile() argument
54 outputWriter.write(String.format("Result %s\n", testCase)); in writeResultToFile()
/platform_testing/libraries/power-helper/src/com/android/helper/
DPowerTestHelper.java131 protected void writePowerLog(String logType, String testCase, long delay) in writePowerLog() argument
133 writePowerLog(logType, testCase, System.currentTimeMillis(), delay); in writePowerLog()
146 protected void writePowerLog(String logType, String testCase, long time, in writePowerLog() argument
150 logType, testCase)); in writePowerLog()
154 protected void writePowerLogStart(String testCase) throws IOException { in writePowerLogStart() argument
155 writePowerLog("AUTOTEST_TEST_BEGIN", testCase, 5 * 1000); in writePowerLogStart()
158 protected void writePowerLogEnd(String testCase) throws IOException { in writePowerLogEnd() argument
159 writePowerLog("AUTOTEST_TEST_SUCCESS", testCase, 0); in writePowerLogEnd()
162 protected void writePowerLogIdleStart(String testCase, long delay) throws IOException { in writePowerLogIdleStart() argument
163 writePowerLog("AUTOTEST_TEST_BEGIN", testCase, delay); in writePowerLogIdleStart()
[all …]
/platform_testing/libraries/sts-common-util/host-side/tests/src/com/android/sts/common/
DNativePocTest.java79 private BaseHostJUnit4Test testCase; field in NativePocTest
111 testCase = new BaseHostJUnit4Test() {}; in setup()
112 testCase.setTestInformation( in setup()
114 testCase.setAbi(ABI_ARM32); // Default to 32bit machine. Re-set this if testing 64 in setup()
130 NativePoc.builder().pocName(POC_NAME).build().run(testCase); in testBasicPocExecution()
155 .run(testCase); in testPocExecutionWithArgsAndEnvVarsAndTimeout()
177 NativePoc.builder().pocName(POC_NAME).timeoutSeconds(100).build().run(testCase); in testPocTimeout()
189 .after(res -> testCase.getDevice().executeShellV2Command("echo EXTRA AFTER CMD")) in testPocExecutionWithResourceAndAfter()
191 .run(testCase); in testPocExecutionWithResourceAndAfter()
209 testCase.setAbi(ABI_ARM64); in test64bit()
[all …]
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DDexTestRunner.java109 for (final TestCase testCase : mScheduler.apply(mTestCases)) { in runTest()
118 mTestCase = testCase; in runTest()
128 testCase.run(testResult); in runTest()
139 onError(testCase, e.getCause()); in runTest()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/
DFlickerServiceCachedTestCaseTest.kt183 val testCase = in skippedIfNonBlocking() constant
196 assertThrows<AssumptionViolatedException> { testCase.execute(mockDescription) } in skippedIfNonBlocking()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DResultHandler.java266 ICaseResult testCase = module.getOrCreateResult(caseName); in getResultFromDir() local
270 ITestResult test = testCase.getOrCreateResult(testName); in getResultFromDir()