/tools/tradefederation/core/javatests/com/android/tradefed/invoker/ |
D | InvocationContextTest.java | 48 private InvocationContext mContext; field in InvocationContextTest 52 mContext = new InvocationContext(); in setUp() 59 assertNull(mContext.getInvocationId()); in testGetInvocationID() 62 mContext.addInvocationAttribute(IInvocationContext.INVOCATION_ID, "TEST_ID"); in testGetInvocationID() 63 assertEquals("TEST_ID", mContext.getInvocationId()); in testGetInvocationID() 72 assertNull(mContext.getDeviceName(device1)); in testGetDeviceName() 73 mContext.addAllocatedDevice("test1", device1); in testGetDeviceName() 74 assertEquals("test1", mContext.getDeviceName(device1)); in testGetDeviceName() 75 assertNull(mContext.getDeviceName(device2)); in testGetDeviceName() 84 assertNull(mContext.getBuildInfoName(build1)); in testGetBuildInfoName() [all …]
|
D | InvocationExecutionTest.java | 86 private IInvocationContext mContext; field in InvocationExecutionTest 96 mContext = new InvocationContext(); in setUp() 121 mContext.addAllocatedDevice("default", mock(ITestDevice.class)); in testCleanUp() 125 mExec.doCleanUp(mContext, mConfig, null); in testCleanUp() 140 mContext.addAllocatedDevice("default", mock(ITestDevice.class)); in testCleanUp_disabled() 145 mExec.doCleanUp(mContext, mConfig, null); in testCleanUp_disabled() 158 mContext.addAllocatedDevice("default", mock(ITestDevice.class)); in testCleanUp_tearDownDisabled() 163 mExec.doCleanUp(mContext, mConfig, null); in testCleanUp_tearDownDisabled() 209 TestInformation info = TestInformation.newBuilder().setInvocationContext(mContext).build(); in testRun_autoRetry() 223 mConfig.getRetryDecision().setInvocationContext(mContext); in testRun_autoRetry() [all …]
|
D | SandboxedInvocationExecutionTest.java | 92 private IInvocationContext mContext; field in SandboxedInvocationExecutionTest 129 mContext = new InvocationContext(); in setUp() 131 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 132 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, new BuildInfo()); in setUp() 142 mTestInfo = TestInformation.newBuilder().setInvocationContext(mContext).build(); in setUp() 164 mInvocation.invoke(mContext, mConfig, mMockRescheduler, mMockListener); in testSandboxInvocation() 169 Mockito.verify(mMockProvider, times(1)).setInvocationContext(mContext); in testSandboxInvocation() 233 mInvocation.invoke(mContext, mConfig, mMockRescheduler, mMockListener); in testParentSandboxInvocation_sharding() 262 mInvocation.invoke(mContext, mConfig, mMockRescheduler, mMockListener); in testParentSandboxInvocation() 314 mInvocation.invoke(mContext, mConfig, mMockRescheduler, mMockListener); in testInvocation_sharding_notTests() [all …]
|
D | ShardListenerTest.java | 50 private IInvocationContext mContext; field in ShardListenerTest 61 mContext = new InvocationContext(); in setUp() 62 mContext.addDeviceBuildInfo("default", new BuildInfo()); in setUp() 63 mContext.addAllocatedDevice("default", mMockDevice); in setUp() 72 mShardListener.invocationStarted(mContext); in testBufferAndReplay() 79 inOrder.verify(mMockListener).invocationStarted(mContext); in testBufferAndReplay() 88 verify(mMockListener).invocationStarted(mContext); in testBufferAndReplay() 106 mShardListener.invocationStarted(mContext); in testPlayRuns() 113 inOrder.verify(mMockListener).invocationStarted(mContext); in testPlayRuns() 121 verify(mMockListener).invocationStarted(mContext); in testPlayRuns() [all …]
|
D | TestInvocationMultiTest.java | 74 private IInvocationContext mContext; field in TestInvocationMultiTest 94 mContext = new InvocationContext(); in setUp() 163 mContext.addAllocatedDevice("device1", mDevice1); in makeTwoDeviceContext() 164 mContext.addAllocatedDevice("device2", mDevice2); in makeTwoDeviceContext() 213 mContext, mMockConfig, mMockRescheduler, new ITestInvocationListener[] {}); in testRunBuildProvider_oneMiss() 228 verify(mMockTestListener).invocationStarted(mContext); in testRunBuildProvider_oneMiss() 229 verify(mMockLogSaver).invocationStarted(mContext); in testRunBuildProvider_oneMiss() 256 mContext.addAllocatedDevice("device1", mDevice1); in testResolveDynamicFails() 257 mContext.addAllocatedDevice("device2", mDevice2); in testResolveDynamicFails() 302 mContext, mMockConfig, mMockRescheduler, new ITestInvocationListener[] {}); in testResolveDynamicFails() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/module/ |
D | KernelTestModuleControllerTest.java | 40 private IInvocationContext mContext; field in KernelTestModuleControllerTest 50 mContext = new InvocationContext(); in setUp() 51 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp() 52 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 59 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in testModuleAbiMatchesArch() 65 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testModuleAbiMatchesArch() 71 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in testModuleAbiMatchesOneOfArch() 78 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testModuleAbiMatchesOneOfArch() 84 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in testModuleAbiMismatchesArch() 92 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testModuleAbiMismatchesArch() [all …]
|
D | ShippingApiLevelModuleControllerTest.java | 44 private IInvocationContext mContext; field in ShippingApiLevelModuleControllerTest 61 mContext = new InvocationContext(); in setUp() 62 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 63 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in setUp() 64 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp() 80 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testMinApiLevelHigherThanProductFirstApiLevel() 96 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testMinApiLevelHigherThanBoardFirstApiLevel() 109 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testBoardApiLevelsNotFound() 125 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testApiLevelsNotFound() 138 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testVsrMinApiLevelHigherThanBoardFirstApiLevel() [all …]
|
D | NativeBridgeModuleControllerTest.java | 41 private IInvocationContext mContext; field in NativeBridgeModuleControllerTest 51 mContext = new InvocationContext(); in setUp() 52 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 53 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in setUp() 54 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp() 62 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testStubDevice() 72 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testNoBridgeSupport() 87 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testBridgeSupport() 101 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testBridgeSupport_differentBitness() 115 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testBridgeSupport_differentArch()
|
D | MainlineTestModuleControllerTest.java | 47 private IInvocationContext mContext; field in MainlineTestModuleControllerTest 58 mContext = new InvocationContext(); in setUp() 59 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 60 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in setUp() 61 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp() 76 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testModuleExistsRun() 90 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testGoModuleExistsRun() 105 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testModuleNotInstalledTestRun() 115 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testControllerDisabled() 125 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testControllerEnabledNoMainlineModuleSpecified()
|
D | DeviceFeatureModuleControllerTest.java | 44 private IInvocationContext mContext; field in DeviceFeatureModuleControllerTest 54 mContext = new InvocationContext(); in setUp() 55 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 56 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in setUp() 57 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp() 69 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testDeviceHasRequiredFeature() 81 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testDeviceHasNoRequiredFeature() 93 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testDeviceHasForbiddenFeature() 105 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testDeviceHasNoForbiddenFeature()
|
D | ArchModuleControllerTest.java | 41 private IInvocationContext mContext; field in ArchModuleControllerTest 49 mContext = new InvocationContext(); in setUp() 50 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp() 51 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 56 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in testMatchesArch() 61 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testMatchesArch() 66 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in testMismatchesArch() 71 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testMismatchesArch()
|
D | CarModuleControllerTest.java | 44 private IInvocationContext mContext; field in CarModuleControllerTest 54 mContext = new InvocationContext(); in setUp() 55 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 56 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in setUp() 57 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp() 65 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testStubDevice() 74 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testNotAutomotive() 83 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testAutomotive()
|
D | MinApiLevelModuleControllerTest.java | 43 private IInvocationContext mContext; field in MinApiLevelModuleControllerTest 54 mContext = new InvocationContext(); in setUp() 55 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 56 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in setUp() 57 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp() 71 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testDeviceApiLevelLowerThanMinApiLevel() 85 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testDeviceApiLevelHigherThanMinApiLevel() 99 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testVndkVersionHasStringCodeName() 113 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testDeviceApiLevelNotFound()
|
D | MaxSdkModuleControllerTest.java | 45 private IInvocationContext mContext; field in MaxSdkModuleControllerTest 55 mContext = new InvocationContext(); in setUp() 56 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 57 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in setUp() 58 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp() 70 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testDeviceApiLevelHigherThanMaxSdkLevel() 82 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testDeviceApiLevelLowerThanMaxSdkLevel() 94 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testDeviceApiLevelEqualsMaxSdkLevel() 106 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testDeviceApiLevelNotFound()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/ |
D | ITestSuiteIntegrationTest.java | 107 private IInvocationContext mContext; field in ITestSuiteIntegrationTest 171 mContext = new InvocationContext(); in setUp() 172 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 173 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuildInfo); in setUp() 174 mTestInfo = TestInformation.newBuilder().setInvocationContext(mContext).build(); in setUp() 243 suite.setInvocationContext(mContext); in testSimplePassRun() 245 mListener.invocationStarted(mContext); in testSimplePassRun() 283 suite.setInvocationContext(mContext); in testSimplePassRun_withLoggedFile() 286 mainInvocationForwarder.invocationStarted(mContext); in testSimplePassRun_withLoggedFile() 339 suite.setInvocationContext(mContext); in testSimpleRun_withFail() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/suite/ |
D | FormattedGeneratorReporterTest.java | 49 private IInvocationContext mContext; field in FormattedGeneratorReporterTest 55 mContext = new InvocationContext(); in setUp() 57 mContext.addDeviceBuildInfo("default", mBuildInfo); in setUp() 72 resultHolder, 0, 0, 0, 0, 500L, mContext, new HashMap<>()); in testFinalizedResults_nothingRan() 89 mReporter.invocationStarted(mContext); in testFinalizedResults_nothingRan() 106 resultHolder, 1, 1, 1, 0, 0L, mContext, new HashMap<>()); in testFinalizeResults_noAbi() 119 mReporter.invocationStarted(mContext); in testFinalizeResults_noAbi() 139 resultHolder, 1, 1, 1, 0, 0L, mContext, expectedModuleAbi); in testFinalizeResults() 152 mReporter.invocationStarted(mContext); in testFinalizeResults() 187 mReporter.invocationStarted(mContext); in testFinalizedResults_skipped() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/sandbox/ |
D | ParentSandboxInvocationExecutionTest.java | 59 private IInvocationContext mContext; field in ParentSandboxInvocationExecutionTest 105 mContext = new InvocationContext(); in setUp() 106 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 107 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, new BuildInfo()); in setUp() 111 mTestInfo = TestInformation.newBuilder().setInvocationContext(mContext).build(); in setUp() 121 mParentSandbox.doCleanUp(mContext, mConfig, null); in testDefaultSkipSetup_tearDown() 138 TestInformation.newBuilder().setInvocationContext(mContext).build(); in testParentSandbox_testMode() 152 mContext = new InvocationContext(); in testParentSandbox_NotTestMode() 153 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testParentSandbox_NotTestMode() 155 TestInformation.newBuilder().setInvocationContext(mContext).build(); in testParentSandbox_NotTestMode() [all …]
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/ |
D | TestInformation.java | 36 private final IInvocationContext mContext; field in TestInformation 54 mContext = builder.mContext; in TestInformation() 64 mContext = moduleContext; in TestInformation() 96 return mContext; in getContext() 101 return mContext.getDevices().get(mPrimaryDeviceIndex); in getDevice() 106 return mContext.getDevices(); in getDevices() 111 return mContext.getBuildInfos().get(mPrimaryDeviceIndex); in getBuildInfo() 157 private IInvocationContext mContext; field in TestInformation.Builder 172 this.mContext = context; in setInvocationContext()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | DeviceMetricData.java | 40 private final IInvocationContext mContext; field in DeviceMetricData 44 mContext = context; in DeviceMetricData() 56 if (mContext.getDevices().size() > 1) { in addMetric() 58 String deviceName = mContext.getDeviceName(mContext.getDevices().get(0)); in addMetric() 77 if (mContext.getDevices().size() > 1) { in addMetricForDevice() 79 String deviceName = mContext.getDeviceName(device); in addMetricForDevice()
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/ |
D | FileSystemLogSaverTest.java | 67 private IInvocationContext mContext; field in FileSystemLogSaverTest 79 mContext = new InvocationContext(); in setUp() 80 mContext.addDeviceBuildInfo("fakeDevice", mMockBuild); in setUp() 81 mContext.setTestTag(TEST_TAG); in setUp() 94 saver.invocationStarted(mContext); in testGetFileDir() 112 newSaver.invocationStarted(mContext); in testGetFileDir() 154 saver.invocationStarted(mContext); in testGetFileDir_retention() 181 saver.invocationStarted(mContext); in testSaveLogData_uncompressed() 210 saver.invocationStarted(mContext); in testSaveLogData_compressed() 238 saver.invocationStarted(mContext); in testSaveLogDataRaw() [all …]
|
D | JsonHttpTestResultReporterTest.java | 56 private IInvocationContext mContext; field in JsonHttpTestResultReporterTest 62 mContext = new InvocationContext(); in setUp() 63 mContext.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in setUp() 69 mReporter.invocationStarted(mContext); in testSkipFailedRuns_notSet() 89 mReporter.invocationStarted(mContext); in testSkipFailedRuns_set() 107 mReporter.invocationStarted(mContext); in testInvalidMetricsNotSet() 125 mReporter.invocationStarted(mContext); in testInvalidAndInvalidMetricsNotSet() 152 mReporter.invocationStarted(mContext); in testIncludeAdditionalTestDetails() 162 mReporter.invocationStarted(mContext); in testAdditionalKeyValuePairs()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollectorTest.java | 65 private IInvocationContext mContext; field in BaseDeviceMetricCollectorTest 75 mContext = new InvocationContext(); in setUp() 81 mBase.init(mContext, mMockListener); in testInitAndForwarding() 82 mBase.invocationStarted(mContext); in testInitAndForwarding() 83 mBase.testModuleStarted(mContext); in testInitAndForwarding() 130 mBase.init(mContext, mMockListener); in testMultiInit() 132 mBase.init(mContext, mMockListener); in testMultiInit() 171 mBase.init(mContext, mMockListener); in testForwarding_withException() 172 mBase.invocationStarted(mContext); in testForwarding_withException() 333 base.init(mContext, mMockListener); in verifyFiltering() [all …]
|
D | RebootReasonCollectorTest.java | 61 @Mock private IInvocationContext mContext; field in RebootReasonCollectorTest 74 when(mContext.getDevices()).thenReturn(Arrays.asList(testDevice)); in testStatsdInteractions_singleDevice() 82 mCollector.init(mContext, mListener); in testStatsdInteractions_singleDevice() 98 when(mContext.getDevices()).thenReturn(Arrays.asList(testDevice)); in testAddingMetrics_singleDevice() 111 mCollector.init(mContext, mListener); in testAddingMetrics_singleDevice() 170 doReturn(Arrays.asList(testDevice1, testDevice2)).when(mContext).getDevices(); in testStatsdInteractions_multiDevice() 181 mCollector.init(mContext, mListener); in testStatsdInteractions_multiDevice() 204 doReturn(Arrays.asList(testDevice1, testDevice2)).when(mContext).getDevices(); in testAddingMetrics_multiDevice() 205 doReturn(DEVICE_SERIAL_1).when(mContext).getDeviceName(testDevice1); in testAddingMetrics_multiDevice() 206 doReturn(DEVICE_SERIAL_2).when(mContext).getDeviceName(testDevice2); in testAddingMetrics_multiDevice() [all …]
|
D | RuntimeRestartCollectorTest.java | 106 @Mock private IInvocationContext mContext; field in RuntimeRestartCollectorTest 124 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testStatsdInteractions_singleDevice() 135 mCollector.init(mContext, mListener); in testStatsdInteractions_singleDevice() 161 doReturn(Arrays.asList(testDevice1, testDevice2)).when(mContext).getDevices(); in testStatsdInteractions_multiDevice() 175 mCollector.init(mContext, mListener); in testStatsdInteractions_multiDevice() 205 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testAddingMetrics_noRuntimeRestart_noPriorRuntimeRestart() 217 mCollector.init(mContext, mListener); in testAddingMetrics_noRuntimeRestart_noPriorRuntimeRestart() 242 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testAddingMetrics_noRuntimeRestart_withPriorRuntimeRestart() 260 mCollector.init(mContext, mListener); in testAddingMetrics_noRuntimeRestart_withPriorRuntimeRestart() 285 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testAddingMetrics_withRuntimeRestart_noPriorRuntimeRestart() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/params/ |
D | MainlineModuleHandlerTest.java | 49 private IInvocationContext mContext; field in MainlineModuleHandlerTest 58 mContext = new InvocationContext(); in setUp() 62 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuildInfo); in setUp() 70 mHandler = new MainlineModuleHandler("mod1.apk", mAbi, mContext, false); in testApplySetup() 85 mHandler = new MainlineModuleHandler("mod1.apk+mod2.apex", mAbi, mContext, false); in testApplySetup_MultipleMainlineModules() 105 mHandler = new MainlineModuleHandler("mod1.apk+mod2.apex", mAbi, mContext, false); in testBuildDynamicBaseLink_BranchIsNotSet() 125 mHandler = new MainlineModuleHandler("mod1.apk+mod2.apex", null, mAbi, mContext); in testApplySetup_CompleteMainlineModulePath_inCI() 148 "mod1.apk+mod2.apex", "/android/build/top", mAbi, mContext); in testApplySetup_CompleteMainLineModulePath_inLocal()
|