/tools/tradefederation/core/javatests/res/testtype/ |
D | rust_list1.txt | 1 interfaces::service_manager::test_add_service: test 2 interfaces::service_manager::test_check_service: test 3 interfaces::service_manager::test_get_service: test 4 interfaces::service_manager::test_is_declared: test 5 parcel::blob::test_write_blob: test 6 parcel::parcelable::test_custom_parcelable: test 7 parcel::parcelable::test_slice_parcelables: test 8 parcel::test_file_descriptors: test 9 parcel::test_read_data: test 10 parcel::test_utf8_utf16_conversions: test [all …]
|
D | rust_output2.txt | 2 test default_tokenstream_is_empty ... ok <0.000s> 3 test fail ... ok <0.000s> 4 test ident_empty ... ok <0.000s> 5 test ident_invalid ... ok <0.000s> 6 test ident_number ... ok <0.000s> 7 test idents ... FAILED <0.000s> 8 test lifetime_empty ... ok <0.000s> 9 test lifetime_invalid ... ok <0.000s> 10 test lifetime_number ... ok <0.000s> 11 test literal_character ... ok <0.000s> [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | FilteredResultForwarder.java | 39 public void testStarted(TestDescription test) { in testStarted() argument 40 if (!mAllowedTests.contains(test)) { in testStarted() 43 super.testStarted(test); in testStarted() 47 public void testStarted(TestDescription test, long startTime) { in testStarted() argument 48 if (!mAllowedTests.contains(test)) { in testStarted() 51 super.testStarted(test, startTime); in testStarted() 55 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 56 if (!mAllowedTests.contains(test)) { in testEnded() 59 super.testEnded(test, testMetrics); in testEnded() 63 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument [all …]
|
D | TestResultListener.java | 38 public abstract void testResult(TestDescription test, TestResult result); in testResult() argument 41 public final void testStarted(TestDescription test, long startTime) { in testStarted() argument 46 mCurrentTest = test; in testStarted() 52 public final void testStarted(TestDescription test) { in testStarted() argument 53 testStarted(test, System.currentTimeMillis()); in testStarted() 57 public final void testFailed(TestDescription test, String trace) { in testFailed() argument 63 public final void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 69 public void testSkipped(TestDescription test, SkipReason reason) { in testSkipped() argument 75 public final void testIgnored(TestDescription test) { in testIgnored() argument 80 public final void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() argument [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/ |
D | LogcatCrashResultForwarderTest.java | 57 TestDescription test = new TestDescription("com.class", "test"); in testCaptureTestCrash_noCrashInLogcat() local 62 mReporter.testStarted(test, 0L); in testCaptureTestCrash_noCrashInLogcat() 63 mReporter.testFailed(test, "instrumentation failed. reason: 'Process crashed.'"); in testCaptureTestCrash_noCrashInLogcat() 64 mReporter.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_noCrashInLogcat() 66 verify(mMockListener).testStarted(test, 0L); in testCaptureTestCrash_noCrashInLogcat() 69 test, in testCaptureTestCrash_noCrashInLogcat() 73 verify(mMockListener).testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_noCrashInLogcat() 84 TestDescription test = new TestDescription("com.class", "test"); in testCaptureTestCrash_oneCrashingLogcat() local 102 mReporter.testStarted(test, 0L); in testCaptureTestCrash_oneCrashingLogcat() 103 mReporter.testFailed(test, "instrumentation failed. reason: 'Process crashed.'"); in testCaptureTestCrash_oneCrashingLogcat() [all …]
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | ShowForStubPurposesAnnotationTest.kt | 237 fun `Hierarchy test - SystemApi + ModuleApi`() { in Hierarchy test - SystemApi + ModuleApi() 294 fun `Hierarchy test - SystemApi only`() { in Hierarchy test - SystemApi only() 331 fun `Hierarchy test - ModuleApi Only, also check the stub files`() { in Hierarchy test - ModuleApi Only, also check the stub files() 453 fun `Hierarchy test - Can't refer from system to module`() { in Hierarchy test - Can't refer from system to module() 525 package test.pkg; 528 @test.annotation.Hide 529 @test.annotation.SystemApi 532 @test.annotation.Hide 533 @test.annotation.SystemApi 536 @test.annotation.Hide [all …]
|
/tools/treble/build/treble_build/local/ |
D | ninja_test.go | 136 for _, test := range tests { 139 command: test.command.cmd, 140 query: test.query.cmd, 141 input: test.input.cmd, 142 path: test.path.cmd, 143 paths: test.paths.cmd, 144 deps: test.deps.cmd, 145 build: test.build.cmd, 149 if test.command.cmd != nil { 150 if res, err := n.Command(nil, test.target); err != nil { [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | TestTimeoutEnforcer.java | 76 public void testStarted(TestDescription test, long startTime) { in testStarted() argument 77 super.testStarted(test, startTime); in testStarted() 79 mTrackingStartTime.put(test, startTime); in testStarted() 84 public void testFailed(TestDescription test, String trace) { in testFailed() argument 85 super.testFailed(test, trace); in testFailed() 87 mTrackingStartTime.remove(test); in testFailed() 91 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() argument 92 super.testFailed(test, failure); in testFailed() 94 mTrackingStartTime.remove(test); in testFailed() 98 public void testIgnored(TestDescription test) { in testIgnored() argument [all …]
|
D | DeviceTestResult.java | 69 public void runProtected(final Test test, Protectable p) { in runProtected() argument 76 addFailure(test, e); in runProtected() 82 addError(test, e); in runProtected() 85 addError(test, e); in runProtected() 88 addError(test, e); in runProtected() 93 protected void run(final TestCase test) { in run() argument 99 test.runBare(); in run() 103 startTest(test); in run() 104 runProtected(test, p); in run() 106 endTest(test); in run() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | TestsPoolPoller.java | 119 IRemoteTest test = poll(); in run() local 120 if (test == null) { in run() 123 if (test instanceof IBuildReceiver) { in run() 124 ((IBuildReceiver) test).setBuild(info.getBuildInfo()); in run() 126 if (test instanceof IDeviceTest) { in run() 127 ((IDeviceTest) test).setDevice(info.getDevice()); in run() 129 if (test instanceof IInvocationContextReceiver) { in run() 130 ((IInvocationContextReceiver) test).setInvocationContext(info.getContext()); in run() 132 if (test instanceof ISystemStatusCheckerReceiver) { in run() 133 ((ISystemStatusCheckerReceiver) test) in run() [all …]
|
D | LocalPool.java | 53 ITokenRequest test = itr.next(); in poll() local 57 mRejectedToken.remove(test); in poll() 58 mTokenPool.remove(test); in poll() 59 return test; in poll() 61 if (mRejectedToken.contains(test)) { in poll() 65 Set<TokenProperty> tokens = test.getRequiredTokens(info); in poll() 68 mTokenPool.remove(test); in poll() 69 mRejectedToken.remove(test); in poll() 70 return test; in poll() 74 mRejectedToken.add(test); in poll() [all …]
|
/tools/asuite/atest/ |
D | result_reporter.py | 111 def update_perf_info(self, test): argument 117 all_additional_keys = set(test.additional_info.keys()) 122 benchmark_info['test_name'] = test.test_name 123 for key, data in test.additional_info.items(): 317 def process_test_result(self, test): argument 323 if test.runner_name not in self.runners: 324 self.runners[test.runner_name] = OrderedDict() 325 assert self.runners[test.runner_name] != FAILURE_FLAG 326 self.all_test_results.append(test) 327 if test.group_name not in self.runners[test.runner_name]: [all …]
|
/tools/asuite/atest/docs/ |
D | develop_test_runners.md | 3 Learn about test runners and how to create a new test runner class. 6 1. [Test Runner Details](#test-runner-details) 7 2. [Creating a Test Runner](#creating-a-test-runner) 9 ## <a name="test-runner-details">Test Runner Details</a> 11 The test runner class is responsible for test execution. Its primary logic 14 top-level args consumed by atest passed onto the test runner. It is up to the 15 test runner to translate those args into the specific args the test runner 16 accepts. In this way, you can think of the test runner as a translator between 17 the atest CLI and your test runner's CLI. The reason for this is so that atest 19 the differing CLIs of various test runners. The test runner should also [all …]
|
D | atest_structure.md | 10 3. [Test Finders](#test-finders) 11 4. [Test Runners](#test-runners) 16 Atest is primarily composed of 2 components: [test finders](#test-finders) and 17 [test runners](#test-runners). At a high level, atest does the following: 19 2. Find test(s) based on user input 20 3. Build test dependencies 21 4. Run test(s) 31 compatibility_suite, auto_gen_config, etc) that is used during the test finding 32 process. We create the results dir for our test runners to dump results in and 37 required and optional bits used to run the test as how the user intended. [all …]
|
D | develop_test_finders.md | 3 Learn about test finders and how to create a new test finder class. 6 1. [Test Finder Details](#test-finder-details) 7 2. [Creating a Test Finder](#creating-a-test-finder) 9 ## <a name="test-finder-details">Test Finder Details</a> 11 A test finder class holds find methods. A find method is given a string (the 13 A ```TestInfo``` object holds the test name, test dependencies, test runner, and 14 a data field to hold misc bits like filters and extra args for the test. The 15 test finder class can hold multiple find methods. The find methods are grouped 16 together in a class so they can share metadata for optimal test finding. 18 the test configs for the ```TFIntegrationFinder```. [all …]
|
/tools/tradefederation/core/javatests/res/config/suite/ |
D | suite.md | 4 individual test from a suite can be as simple as a test config file change. One 6 presubmit check. If a test becomes unstable, we can make a single test config 9 A test can also be easily added to multiple suites by specifying the suite name 10 in the test config file. So one doesn't need to maintain a collection of test in 11 complicated GCL files, for a test to run in multiple suites. 17 Suite configuration file is similar to a TradeFed test configuration file. It 19 "run-suite-tag", which defines the name of the suite. Any test configuration 20 file has option "test-suite-tag" set to that value will be included in that 27 <configuration description="Android framework-base-presubmit test suite config."> 28 <test class="com.android.tradefed.testtype.suite.TfSuiteRunner"> [all …]
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | ITestLifeCycleReceiver.java | 134 public default void testStarted(TestDescription test) {} in testStarted() argument 143 default void testStarted(TestDescription test, long startTime) { in testStarted() argument 144 testStarted(test); in testStarted() 155 public default void testFailed(TestDescription test, String trace) {} in testFailed() argument 165 public default void testFailed(TestDescription test, FailureDescription failure) { in testFailed() argument 166 testFailed(test, failure.toString()); in testFailed() 175 public default void testAssumptionFailure(TestDescription test, String trace) {} in testAssumptionFailure() argument 183 public default void testAssumptionFailure(TestDescription test, FailureDescription failure) { in testAssumptionFailure() argument 184 testAssumptionFailure(test, failure.toString()); in testAssumptionFailure() 193 public default void testIgnored(TestDescription test) {} in testIgnored() argument [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/ |
D | ModuleSplitterTest.java | 67 StubTest test = new StubTest(); in testSplitModule_configNotShardable() local 68 OptionSetter setterTest = new OptionSetter(test); in testSplitModule_configNotShardable() 71 config.setTest(test); in testSplitModule_configNotShardable() 86 assertSame(test, res.get(0).getTests().get(0)); in testSplitModule_configNotShardable() 104 StubTest test = new StubTest(); in testSplitModule_configNotStrictShardable_dynamic() local 105 OptionSetter setterTest = new OptionSetter(test); in testSplitModule_configNotStrictShardable_dynamic() 108 config.setTest(test); in testSplitModule_configNotStrictShardable_dynamic() 123 assertNotSame(test, res.get(0).getTests().get(0)); in testSplitModule_configNotStrictShardable_dynamic() 140 StubTest test = new StubTest(); in testSplitModule_configNotStrictShardable_notDynamic() local 141 OptionSetter setterTest = new OptionSetter(test); in testSplitModule_configNotStrictShardable_notDynamic() [all …]
|
D | GranularRetriableTestWrapperTest.java | 131 public boolean shouldRun(TestDescription test) { in shouldRun() argument 181 public boolean shouldRun(TestDescription test) { in shouldRun() argument 182 if (mExcludeFilters.contains(test.toString())) { in shouldRun() 185 if (!mIncludeFilters.isEmpty() && !mIncludeFilters.contains(test.toString())) { in shouldRun() 299 IRemoteTest test, int maxRunCount) throws Exception { in createGranularTestWrapper() argument 300 return createGranularTestWrapper(test, maxRunCount, new ArrayList<>(), null); in createGranularTestWrapper() 304 IRemoteTest test, int maxRunCount, List<IMetricCollector> collectors) throws Exception { in createGranularTestWrapper() argument 305 return createGranularTestWrapper(test, maxRunCount, collectors, null); in createGranularTestWrapper() 309 IRemoteTest test, in createGranularTestWrapper() argument 315 new GranularRetriableTestWrapper(test, module, null, null, maxRunCount); in createGranularTestWrapper() [all …]
|
/tools/asuite/atest/bazel/runner/src/com/android/tradefed/testtype/bazel/ |
D | ForwardingTestListener.java | 91 public void testStarted(TestDescription test) { in testStarted() argument 92 delegate().testStarted(test); in testStarted() 96 public void testStarted(TestDescription test, long startTime) { in testStarted() argument 97 delegate().testStarted(test, startTime); in testStarted() 101 public void testFailed(TestDescription test, String trace) { in testFailed() argument 102 delegate().testFailed(test, trace); in testFailed() 106 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() argument 107 delegate().testFailed(test, failure); in testFailed() 111 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 112 delegate().testAssumptionFailure(test, trace); in testAssumptionFailure() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | DeviceTestCaseTest.java | 110 MockTest test = new MockTest(); in testRun_suite() local 120 test.run(mTestInfo, listener); in testRun_suite() 136 MockTest test = new MockTest(); in testRun_includeFilter() local 137 test.addIncludeFilter("com.android.tradefed.testtype.DeviceTestCaseTest$MockTest#test1"); in testRun_includeFilter() 145 test.run(mTestInfo, listener); in testRun_includeFilter() 159 MockTest test = new MockTest(); in testRun_excludeFilter() local 160 test.addExcludeFilter("com.android.tradefed.testtype.DeviceTestCaseTest$MockTest#test1"); in testRun_excludeFilter() 165 test.run(mTestInfo, listener); in testRun_excludeFilter() 179 MockAnnotatedTest test = new MockAnnotatedTest(); in testRun_includeAnnotationFiltering() local 180 test.addIncludeAnnotation("com.android.tradefed.testtype.DeviceTestCaseTest$MyAnnotation1"); in testRun_includeAnnotationFiltering() [all …]
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraTestMetricsCollectionListener.java | 60 TestDescription test, in testEnded() argument 63 super.testEnded(test, endTime, testMetrics); in testEnded() 64 handleMetricsOnTestEnded(test, TfMetricProtoUtil.compatibleConvert(testMetrics)); in testEnded() 65 stopDumping(test); in testEnded() 66 mListener.testEnded(test, endTime, testMetrics); in testEnded() 70 public void testStarted(TestDescription test, long startTime) { in testStarted() argument 71 super.testStarted(test, startTime); in testStarted() 72 startDumping(test); in testStarted() 73 mListener.testStarted(test, startTime); in testStarted() 77 public void testFailed(TestDescription test, String trace) { in testFailed() argument [all …]
|
/tools/asuite/atest/test_finders/ |
D | module_finder.py | 96 def _update_to_vts_test_info(self, test): argument 108 test.test_runner = self._VTS_TEST_RUNNER 110 self.root_dir, test.data[constants.TI_REL_CONFIG] 134 test.add_build_target(target) 135 test.add_build_target('vts-test-core') 136 test.add_build_target(test.test_name) 137 return test 139 def _update_to_mobly_test_info(self, test): argument 153 test.test_runner = self._MOBLY_RUNNER 155 module_name = test.test_name [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessor.java | 267 public final void testStarted(TestDescription test) { in testStarted() argument 268 testStarted(test, System.currentTimeMillis()); in testStarted() 272 public final void testStarted(TestDescription test, long startTime) { in testStarted() argument 273 mCurrentTest = test; in testStarted() 274 if (mTestLogs.containsKey(test)) { in testStarted() 275 mTestLogs.get(test).clear(); in testStarted() 277 mTestLogs.put(test, new HashMap<String, LogFile>()); in testStarted() 279 mForwarder.testStarted(test, startTime); in testStarted() 283 public final void testFailed(TestDescription test, String trace) { in testFailed() argument 284 mForwarder.testFailed(test, trace); in testFailed() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/ |
D | FilePullerLogCollectorTest.java | 76 TestDescription test = new TestDescription("class", "test"); in testSkipStub() local 86 listener.testStarted(test, 0L); in testSkipStub() 87 listener.testEnded(test, 50L, TfMetricProtoUtil.upgradeConvert(metrics)); in testSkipStub() 93 verify(mMockListener).testStarted(test, 0L); in testSkipStub() 94 verify(mMockListener).testEnded(Mockito.eq(test), Mockito.eq(50L), capture.capture()); in testSkipStub() 112 TestDescription test = new TestDescription("class", "test"); in testPullAndLog() local 124 listener.testStarted(test, 0L); in testPullAndLog() 125 listener.testEnded(test, 50L, TfMetricProtoUtil.upgradeConvert(metrics)); in testPullAndLog() 131 verify(mMockListener).testStarted(test, 0L); in testPullAndLog() 135 verify(mMockListener).testEnded(Mockito.eq(test), Mockito.eq(50L), capture.capture()); in testPullAndLog() [all …]
|