Home
last modified time | relevance | path

Searched refs:TestInformation (Results 1 – 25 of 221) sorted by relevance

123456789

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java42 import com.android.tradefed.invoker.TestInformation;
103 private TestInformation mModuleInfo;
156 public void run(TestInformation testInfo, ITestInvocationListener listener) in run()
219 public void run(TestInformation testInfo, ITestInvocationListener listener) in run()
288 public void run(TestInformation testInfo, ITestInvocationListener listener) in run()
334 TestInformation.newBuilder() in setUp()
520 TestInformation.newBuilder() in testRun_aggregateRunFailures()
668 public void setUp(TestInformation testInfo) in testRun_failPreparation()
685 TestInformation.newBuilder() in testRun_failPreparation()
713 public void setUp(TestInformation testInfo) in testRun_failPreparation_runtime()
[all …]
DITestSuiteIntegrationTest.java39 import com.android.tradefed.invoker.TestInformation;
104 private TestInformation mTestInfo;
170 mTestInfo = TestInformation.newBuilder().setInvocationContext(mContext).build(); in setUp()
427 TestInformation info = in scheduleConfig()
428 TestInformation.newBuilder().setInvocationContext(mContext).build(); in scheduleConfig()
473 TestInformation info = in scheduleConfig()
474 TestInformation.newBuilder() in scheduleConfig()
526 TestInformation testInfo = in testRun_sharding_firstModuleRunsAll()
527 TestInformation.newBuilder().setInvocationContext(mContext).build(); in testRun_sharding_firstModuleRunsAll()
568 TestInformation testInfo = in testRun_sharding_parallelRun()
[all …]
DModuleDefinitionMultiTest.java25 import com.android.tradefed.invoker.TestInformation;
127 TestInformation moduleInfo = in testCreateAndRun()
128 TestInformation.newBuilder() in testCreateAndRun()
167 TestInformation moduleInfo = in testPreparer_mismatch()
168 TestInformation.newBuilder() in testPreparer_mismatch()
DTfSuiteRunnerTest.java36 import com.android.tradefed.invoker.TestInformation;
78 private TestInformation mTestInfo;
91 mTestInfo = TestInformation.newBuilder().setInvocationContext(context).build(); in setUp()
235 TestInformation testInfo = in testLoadTests_suite()
236 TestInformation.newBuilder().setInvocationContext(context).build(); in testLoadTests_suite()
DGranularRetriableTestWrapperTest.java36 import com.android.tradefed.invoker.TestInformation;
74 private TestInformation mModuleInfo;
121 public void run(TestInformation testInfo, ITestInvocationListener listener) in run()
228 public void run(TestInformation testInfo, ITestInvocationListener listener) in run()
295 TestInformation.newBuilder().setInvocationContext(mModuleInvocationContext).build(); in setUp()
328 public void run(TestInformation testInfo, ITestInvocationListener listener) in testIntraModuleRun_catchDeviceUnresponsiveException()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationExecutionTest.java203 TestInformation info = TestInformation.newBuilder().setInvocationContext(mContext).build(); in testRun_autoRetry()
233 TestInformation info = TestInformation.newBuilder().setInvocationContext(mContext).build(); in testRun_autoRetry_throughForwarder()
267 TestInformation info = TestInformation.newBuilder().setInvocationContext(mContext).build(); in testRun_metricCollectors()
275 public void run(TestInformation info, ITestInvocationListener listener) in testRun_metricCollectors()
290 TestInformation info = TestInformation.newBuilder().setInvocationContext(mContext).build(); in testRun_metricCollectors_auto()
326 TestInformation testInfo = in testDoSetup()
327 TestInformation.newBuilder().setInvocationContext(mContext).build(); in testDoSetup()
374 TestInformation testInfo = in testDoTearDown()
375 TestInformation.newBuilder().setInvocationContext(mContext).build(); in testDoTearDown()
417 public void setUp(TestInformation testInformation) in testDoTearDown_multiDevice()
[all …]
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/
DTestInformation.java31 public class TestInformation { class
47 private TestInformation(Builder builder) { in TestInformation() method in TestInformation
54 private TestInformation( in TestInformation() method in TestInformation
55 TestInformation invocationInfo, in TestInformation()
75 public static TestInformation createModuleTestInfo( in createModuleTestInfo()
76 TestInformation invocationInfo, IInvocationContext moduleContext) { in createModuleTestInfo()
77 return new TestInformation(invocationInfo, moduleContext, false); in createModuleTestInfo()
81 public static TestInformation createCopyTestInfo( in createCopyTestInfo()
82 TestInformation invocationInfo, IInvocationContext context) { in createCopyTestInfo()
83 return new TestInformation(invocationInfo, context, true); in createCopyTestInfo()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparer.java26 import com.android.tradefed.invoker.TestInformation;
92 public void setUp(TestInformation testInfo) in setUp()
167 public void tearDown(TestInformation testInfo, Throwable e) throws DeviceNotAvailableException { in tearDown()
192 private void initBundletoolUtil(TestInformation testInfo) throws TargetSetupError { in initBundletoolUtil()
235 private List<File> getSplitsForApks(TestInformation testInfo, File moduleFile) in getSplitsForApks()
262 public List<File> getModulesToInstall(TestInformation testInfo) in getModulesToInstall()
329 protected void installer(TestInformation testInfo, Map<File, String> testAppFileNames) in installer()
354 TestInformation testInfo, List<File> moduleFilenames, final String[] extraArgs) in installTrain()
413 protected void installUsingBundleTool(TestInformation testInfo, List<File> testAppFileNames) in installUsingBundleTool()
437 TestInformation testInfo, String deviceSpecFilePath, File apkFile) in installSingleModuleUsingBundletool()
[all …]
DTestAppInstallSetup.java29 import com.android.tradefed.invoker.TestInformation;
167 private TestInformation mTestInfo;
169 protected void setTestInformation(TestInformation testInfo) { in setTestInformation()
237 protected File getLocalPathForFilename(TestInformation testInfo, String apkFileName) in getLocalPathForFilename()
266 TestInformation backwardCompatible = in setUp()
267 TestInformation.newBuilder().setInvocationContext(context).build(); in setUp()
273 public void setUp(TestInformation testInfo) in setUp()
342 public TestInformation getTestInfo() { in getTestInfo()
371 public void tearDown(TestInformation testInfo, Throwable e) throws DeviceNotAvailableException { in tearDown()
409 protected void installer(TestInformation testInfo, Map<File, String> appFilesAndPackages) in installer()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/sandbox/
DParentSandboxInvocationExecutionTest.java43 import com.android.tradefed.invoker.TestInformation;
69 private TestInformation mTestInfo;
100 TestInformation info, in setUp()
115 mTestInfo = TestInformation.newBuilder().setInvocationContext(mContext).build(); in setUp()
210 TestInformation testInfo = in testParentSandbox_testMode()
211 TestInformation.newBuilder().setInvocationContext(mContext).build(); in testParentSandbox_testMode()
227 TestInformation testInfo = in testParentSandbox_NotTestMode()
228 TestInformation.newBuilder().setInvocationContext(mContext).build(); in testParentSandbox_NotTestMode()
246 TestInformation testInfo = in testParentSandbox_shutdown()
247 TestInformation.newBuilder().setInvocationContext(mContext).build(); in testParentSandbox_shutdown()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java111 TestInformation testInfo, in fetchBuild()
207 TestInformation testInfo, in shardConfig()
220 public void doSetup(TestInformation testInfo, IConfiguration config, final ITestLogger listener) in doSetup()
243 TestInformation replicated = in doSetup()
244 TestInformation.createModuleTestInfo(testInfo, testInfo.getContext()); in doSetup()
299 TestInformation testInfo, in runPreparationOnDevice()
377 TestInformation testInfo, in runMultiTargetPreparers()
403 TestInformation testInfo, in runMultiTargetPreparersTearDown()
445 TestInformation testInfo, in doTeardown()
558 TestInformation info, IConfiguration config, ITestInvocationListener listener) in runTests()
[all …]
DTestInvocation.java209 TestInformation testInfo, in performInvocation()
433 TestInformation testInfo, in prepareAndRun()
618 TestInformation testInfo, in invokeFetchBuild()
730 TestInformation sharedTestInfo = null; in invoke()
731 TestInformation info = null; in invoke()
733 sharedTestInfo = (TestInformation) sharedInfoObject; in invoke()
735 info = TestInformation.createModuleTestInfo(sharedTestInfo, context); in invoke()
740 TestInformation.newBuilder() in invoke()
1103 private void deleteInvocationFiles(TestInformation testInfo, IConfiguration config) { in deleteInvocationFiles()
1178 private TestInformation mTestInfo;
[all …]
DIInvocationExecution.java49 TestInformation testInfo, in fetchBuild()
77 TestInformation testInfo, IConfiguration config, final ITestLogger logger) in doSetup()
116 TestInformation testInfo, in doTeardown()
149 TestInformation testInfo, in shardConfig()
164 TestInformation info, IConfiguration config, ITestInvocationListener listener) in runTests()
/tools/tradefederation/core/src/com/android/tradefed/invoker/sandbox/
DParentSandboxInvocationExecution.java33 import com.android.tradefed.invoker.TestInformation;
56 TestInformation testInfo, in fetchBuild()
72 public void doSetup(TestInformation testInfo, IConfiguration config, ITestLogger logger) in doSetup()
85 TestInformation testInfo, in doTeardown()
113 TestInformation info, IConfiguration config, ITestInvocationListener listener) in runTests()
170 TestInformation info, IConfiguration config, ITestInvocationListener listener) in prepareAndRunSandbox()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationSerialTestTest.java28 import com.android.tradefed.invoker.TestInformation;
53 private TestInformation mTestInfo;
63 mTestInfo = TestInformation.newBuilder().setInvocationContext(context).build(); in setUp()
76 public void run(TestInformation testInfo, ITestInvocationListener listener) { in testRun()
125 public void run(TestInformation testInfo, ITestInvocationListener listener) { in testRun_runFailure()
196 public void run(TestInformation testInfo, ITestInvocationListener listener) { in testRun_package()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java38 import com.android.tradefed.invoker.TestInformation;
305 public final void run(TestInformation moduleInfo, ITestInvocationListener listener) in run()
320 TestInformation moduleInfo, in run()
340 TestInformation moduleInfo, in run()
783 TestInformation moduleInfo, in runPreparerSetup()
823 IMultiTargetPreparer preparer, TestInformation moduleInfo, ITestLogger logger) { in runMultiPreparerSetup()
856 private void runTearDown(TestInformation moduleInfo, Throwable exception) in runTearDown()
1059 private Throwable runTargetPreparation(TestInformation moduleInfo, ITestLogger logger) { in runTargetPreparation()
DITestSuite.java41 import com.android.tradefed.invoker.TestInformation;
598 public final void run(TestInformation testInfo, ITestInvocationListener listener) in run()
671 TestInformation moduleInfo = in run()
672 TestInformation.createModuleTestInfo( in run()
745 TestInformation moduleInfo, in runSingleModule()
926 public Collection<IRemoteTest> split(Integer shardCountHint, TestInformation testInfo) { in split()
985 LinkedHashMap<String, IConfiguration> runConfig, TestInformation testInfo) { in injectInfo()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DSandboxInvocationRunnerTest.java25 import com.android.tradefed.invoker.TestInformation;
56 TestInformation info = TestInformation.newBuilder().setInvocationContext(mContext).build(); in testPrepareAndRun()
71 TestInformation info = TestInformation.newBuilder().setInvocationContext(mContext).build(); in testPrepareAndRun_prepFailure()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DInstrumentationPreparerTest.java29 import com.android.tradefed.invoker.TestInformation;
51 private TestInformation mTestInfo;
61 mTestInfo = TestInformation.newBuilder().setInvocationContext(context).build(); in setUp()
71 public void run(TestInformation testInfo, ITestInvocationListener listener) { in testRun()
96 public void run(TestInformation testInfo, ITestInvocationListener listener) { in testRun_testFailed()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DStrictShardHelperTest.java40 import com.android.tradefed.invoker.TestInformation;
78 private TestInformation mTestInfo;
90 mTestInfo = TestInformation.newBuilder().setInvocationContext(mContext).build(); in setUp()
176 public void run(TestInformation testInfo, ITestInvocationListener listener) in testShardConfig_internal_shardIndex_notShardable_shard0()
207 public void run(TestInformation testInfo, ITestInvocationListener listener) in testShardConfig_internal_shardIndex_notShardable_shard1()
361 public void run(TestInformation testInfo, ITestInvocationListener listener) in run()
DShardHelperTest.java38 import com.android.tradefed.invoker.TestInformation;
77 private TestInformation mTestInfo;
99 TestInformation testInfo, IConfiguration config) { in setUp()
109 mTestInfo = TestInformation.newBuilder().setInvocationContext(mContext).build(); in setUp()
343 TestInformation testInfo, IConfiguration config) { in testClone_withKeystore()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationFileTest.java22 import com.android.tradefed.invoker.TestInformation;
101 public void run(TestInformation testInfo, final ITestInvocationListener listener) in run()
121 TestInformation testInfo, in writeTestsToFileAndRun()
198 InstrumentationTest runner, TestInformation testInfo, ITestInvocationListener listener) in runTests()
223 InstrumentationTest runner, TestInformation testInfo, ITestInvocationListener listener) in reRunTestsSerially()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DShardHelper.java31 import com.android.tradefed.invoker.TestInformation;
104 TestInformation testInfo, in shardConfig()
200 TestInformation testInfo, in rescheduleConfig()
232 protected void validateOptions(TestInformation testInfo, IConfiguration config) { in validateOptions()
284 TestInformation testInfo, in shardTest()
DShardBuildCloner.java28 import com.android.tradefed.invoker.TestInformation;
45 IConfiguration fromConfig, IConfiguration toConfig, TestInformation testInfo) { in cloneBuildInfos()
75 TestInformation newInfo = TestInformation.createCopyTestInfo(testInfo, context); in cloneBuildInfos()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DDeviceParameterizedRunner.java19 import com.android.tradefed.invoker.TestInformation;
53 private TestInformation mTestInformation;
99 public void setTestInformation(TestInformation testInformation) { in setTestInformation()
104 public TestInformation getTestInformation() { in getTestInformation()

123456789