/tools/tradefederation/core/tests/res/testdata/ |
D | subprocess1.txt | 2 …me":1489160957284,"className":"android.gesture.cts.GestureLibraryTest","testName":"testIsReadOnly"} 3 …me":1489160958359,"className":"android.gesture.cts.GestureLibraryTest","testName":"testIsReadOnly"} 4 …me":1489160957284,"className":"android.gesture.cts.GestureLibraryTest","testName":"testGetGestureE… 5 …ter: TEST_FAILED {"className":"android.gesture.cts.GestureLibraryTest","testName":"testGetGestureE… 6 …me":1489160958359,"className":"android.gesture.cts.GestureLibraryTest","testName":"testGetGestureE… 7 …me":1489160957284,"className":"android.gesture.cts.GestureLibraryTest","testName":"testGetGestures… 8 …er: TEST_IGNORED {"className":"android.gesture.cts.GestureLibraryTest","testName":"testGetGestures… 9 …me":1489160958359,"className":"android.gesture.cts.GestureLibraryTest","testName":"testGetGestures… 10 …ime":1489160957285,"className":"android.gesture.cts.GestureLibraryTest","testName":"testRecognize"} 11 …SUMPTION_FAILURE {"className":"android.gesture.cts.GestureLibraryTest","testName":"testRecognize",… [all …]
|
D | subprocess2.txt | 2 …me":1489160957285,"className":"android.gesture.cts.GestureLibraryTest","testName":"testIsReadOnly"} 3 …me":1489160958359,"className":"android.gesture.cts.GestureLibraryTest","testName":"testIsReadOnly"} 4 …me":1489160957285,"className":"android.gesture.cts.GestureLibraryTest","testName":"testGetGestureE… 5 …me":1489160957285,"className":"android.gesture.cts.GestureLibraryTest","testName":"testGetGestures… 6 …er: TEST_IGNORED {"className":"android.gesture.cts.GestureLibraryTest","testName":"testGetGestures… 7 …me":1489160958359,"className":"android.gesture.cts.GestureLibraryTest","testName":"testGetGestures… 8 …ime":1489160957285,"className":"android.gesture.cts.GestureLibraryTest","testName":"testRecognize"} 9 …SUMPTION_FAILURE {"className":"android.gesture.cts.GestureLibraryTest","testName":"testRecognize",… 10 …ime":1489160958359,"className":"android.gesture.cts.GestureLibraryTest","testName":"testRecognize"}
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | TestDescription.java | 44 public TestDescription(String className, String testName) { in TestDescription() argument 45 if (className == null || testName == null) { in TestDescription() 49 mTestName = testName; in TestDescription() 53 Matcher m = PARAMETERIZED_TEST_REGEX.matcher(testName); in TestDescription() 57 mTestNameNoParams = testName; in TestDescription() 68 public TestDescription(String className, String testName, Annotation... annotations) { in TestDescription() argument 69 this(className, testName); in TestDescription() 80 public TestDescription(String className, String testName, Collection<Annotation> annotations) { in TestDescription() argument 81 this(className, testName, annotations.toArray(new Annotation[annotations.size()])); in TestDescription()
|
D | JUnitToInvocationResultForwarder.java | 131 String testName = ""; in getTestId() local 133 testName = ((TestCase) test).getName(); in getTestId() 138 Method testMethod = test.getClass().getMethod(testName); in getTestId() 145 return new TestDescription(className, testName, annotations); in getTestId()
|
D | BugreportCollector.java | 386 final String testName = String.format("%s__%s", test.getClassName(), in check() local 391 desc = testName; in check() 396 desc = String.format("FAILED-%s", testName); in check()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/ |
D | InstrumentationTestDef.java | 35 public InstrumentationTestDef(String testName, String packageName) { in InstrumentationTestDef() argument 36 mName = testName; in InstrumentationTestDef()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | AtestRunnerTest.java | 110 String testName = String.format(TEST_NAME_FMT, "tf/uiautomator"); in testLoadTests_filter() local 111 assertTrue(configMap.containsKey(testName)); in testLoadTests_filter() 112 IConfiguration config = configMap.get(testName); in testLoadTests_filter() 129 String testName = String.format(TEST_NAME_FMT, "suite/base-suite1"); in testLoadTests_ignoreFilter() local 130 assertTrue(configMap.containsKey(testName)); in testLoadTests_ignoreFilter() 131 IConfiguration config = configMap.get(testName); in testLoadTests_ignoreFilter()
|
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/ |
D | GLBenchmarkTest.java | 241 String testName = String.format("%s - %s", testTitle, testType); in parseResultXml() local 242 if (METRICS_KEY_MAP.containsKey(testName)) { in parseResultXml() 243 if (testName.contains("Fill") || testName.contains("Triangle")) { in parseResultXml() 247 CLog.i(String.format("%s: %s (fps=%s)", testName, score, fps)); in parseResultXml() 248 String testKey = METRICS_KEY_MAP.get(testName); in parseResultXml()
|
D | AppTransitionTests.java | 272 IRemoteAndroidTestRunner createRemoteAndroidTestRunner(String testName, String launchApps, in createRemoteAndroidTestRunner() argument 276 runner.setMethodName(CLASS_NAME, testName); in createRemoteAndroidTestRunner() 287 mDevice.executeShellCommand(String.format("rm -rf %s/%s", mTraceDirectory, testName)); in createRemoteAndroidTestRunner() 325 private void startEventsLogs(LogcatReceiver logReceiver, String testName) in startEventsLogs() argument
|
D | MicroBenchTest.java | 268 public TestCase(String testName, String testKey, String command, int iterations, in TestCase() argument 270 mTestName = testName; in TestCase()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | Camera2LatencyTest.java | 69 private Map<String, String> parseResults(String testName, Map<String, String> testMetrics) { in parseResults() argument 85 String keyName = String.format("%s_%s", testName, metric.getKey()); in parseResults()
|
D | CameraBurstStartupTest.java | 67 public Map<String, String> parseResults(String testName, Map<String, String> testMetrics) { in parseResults() argument 75 String keyName = String.format("%s_%s", testName, metric.getKey()); in parseResults()
|
D | CameraShotLatencyTest.java | 73 public Map<String, String> parseResults(String testName, Map<String, String> testMetrics) { in parseResults() argument 83 String keyName = String.format("%s_%s", testName, metric.getKey()); in parseResults()
|
D | Camera2StressTest.java | 143 private void parseLog(String testName, Map<String, String> testMetrics) { in parseLog() argument 179 testMetrics.put(testName, resultMap.get(KEY_ITERATION)); in parseLog()
|
D | Camera2FrameworkStressTest.java | 108 private Map<String, String> parseLog(String testName) { in parseLog() argument 150 String keyName = testName + "_" + cameraId; in parseLog()
|
D | MediaMemoryTest.java | 127 for (String testName : mTests) { in run() 128 runner.setMethodName(TEST_CLASS_NAME, testName); in run()
|
D | CameraPerformanceTest.java | 245 for (String testName : TEST_NAMES_AS_PREFIX) { in getRuSchemaKeyName() 246 if (testMethod.endsWith(testName)) { in getRuSchemaKeyName() 247 schemaKey = String.format("%s_%s", testName, schemaKey); in getRuSchemaKeyName()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | BugreportCollectorTest.java | 311 private TestDescription injectTestRun(String runName, String testName, String metricValue) { in injectTestRun() argument 312 return injectTestRun(runName, testName, metricValue, false); in injectTestRun() 322 String runName, String testName, String metricValue, boolean shouldFail) { in injectTestRun() argument 329 final TestDescription test = new TestDescription("FooTest", testName); in injectTestRun() 340 ITestInvocationListener listener, String runName, String testName) { in setListenerTestRunExpectations() argument 341 setListenerTestRunExpectations(listener, runName, testName, false); in setListenerTestRunExpectations() 346 ITestInvocationListener listener, String runName, String testName, boolean shouldFail) { in setListenerTestRunExpectations() argument 348 final TestDescription test = new TestDescription("FooTest", testName); in setListenerTestRunExpectations()
|
D | CollectingTestListenerTest.java | 254 private TestDescription injectTestRun(String runName, String testName, String metricValue) { in injectTestRun() argument 255 return injectTestRun(runName, testName, metricValue, false); in injectTestRun() 264 String runName, String testName, String metricValue, boolean failtest) { in injectTestRun() argument 271 final TestDescription test = new TestDescription("FooTest", testName); in injectTestRun()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | GTestFuncTest.java | 77 String testName = test[1]; in testRun() local 78 TestDescription id = new TestDescription(testClass, testName); in testRun() 81 if (testName.endsWith("Fail")) { in testRun()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | FakeTest.java | 180 final String testName = String.format("testMethod%d", i); in executeTestRun() local 181 final TestDescription test = new TestDescription(runName, testName); in executeTestRun() 190 String.format("Test %s had a predictable boo-boo.", testName)); in executeTestRun()
|
D | GTestXmlResultParser.java | 200 public ParsedTestInfo(String testName, String testClassName, String testRunTime) { in ParsedTestInfo() argument 201 mTestName = testName; in ParsedTestInfo()
|
D | UiAutomatorRunner.java | 179 public void setMethodName(String className, String testName) { in setMethodName() argument 180 setClassName(className + METHOD_SEPARATOR + testName); in setMethodName()
|
D | GTestResultParser.java | 189 public ParsedTestInfo(String testName, String testClassName, String testRunTime) { in ParsedTestInfo() argument 190 mTestName = testName; in ParsedTestInfo()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 96 private void logTestPassed(String testName) { in logTestPassed() argument 99 LogLevel.INFO, "[%d/%d] %s pass", mTestsRan, mExpectedTestCount, testName); in logTestPassed()
|