Home
last modified time | relevance | path

Searched refs:RunStrategy (Results 1 – 15 of 15) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/
DMainlineTestModuleController.java50 public RunStrategy shouldRun(IInvocationContext context) { in shouldRun()
52 return RunStrategy.RUN; in shouldRun()
59 return RunStrategy.RUN; in shouldRun()
78 return RunStrategy.FULL_MODULE_BYPASS; in shouldRun()
83 return RunStrategy.FULL_MODULE_BYPASS; in shouldRun()
86 return RunStrategy.RUN; in shouldRun()
DDeviceFeatureModuleController.java32 public RunStrategy shouldRun(IInvocationContext context) { in shouldRun()
42 return RunStrategy.FULL_MODULE_BYPASS; in shouldRun()
50 return RunStrategy.RUN; in shouldRun()
DMinSdkModuleController.java41 public RunStrategy shouldRun(IInvocationContext context) { in shouldRun()
69 return RunStrategy.FULL_MODULE_BYPASS; in shouldRun()
75 return RunStrategy.RUN; in shouldRun()
DIModuleController.java24 public enum RunStrategy { enum
39 public RunStrategy shouldRunModule(IInvocationContext context); in shouldRunModule()
DBaseModuleController.java52 public final RunStrategy shouldRunModule(IInvocationContext context) { in shouldRunModule()
63 public abstract RunStrategy shouldRun(IInvocationContext context); in shouldRun()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/
DNativeBridgeModuleControllerTest.java27 import com.android.tradefed.testtype.suite.module.IModuleController.RunStrategy;
59 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testStubDevice()
70 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testNoBridgeSupport()
86 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testBridgeSupport()
102 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testBridgeSupport_differentBitness()
118 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testBridgeSupport_differentArch()
DCarModuleControllerTest.java27 import com.android.tradefed.testtype.suite.module.IModuleController.RunStrategy;
62 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testStubDevice()
72 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testNotAutomotive()
82 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testAutomotive()
DMainlineTestModuleControllerTest.java30 import com.android.tradefed.testtype.suite.module.IModuleController.RunStrategy;
73 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testModuleExistsRun()
89 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testModuleNotInstalledTestRun()
100 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testControllerDisabled()
111 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testControllerEnabledNoMainlineModuleSpecified()
DMinApiLevelModuleControllerTest.java28 import com.android.tradefed.testtype.suite.module.IModuleController.RunStrategy;
68 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testDeviceApiLevelLowerThanMinApiLevel()
83 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testDeviceApiLevelHigherThanMinApiLevel()
98 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testDeviceApiLevelNotFound()
DDeviceFeatureModuleControllerTest.java28 import com.android.tradefed.testtype.suite.module.IModuleController.RunStrategy;
66 assertEquals(RunStrategy.RUN, mController.shouldRunModule(mContext)); in testDeviceHasRequiredFeature()
79 assertEquals(RunStrategy.FULL_MODULE_BYPASS, mController.shouldRunModule(mContext)); in testDeviceHasNoRequiredFeature()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/module/
DCarModuleController.java30 public RunStrategy shouldRun(IInvocationContext context) { in shouldRun()
37 return RunStrategy.RUN; in shouldRun()
47 return RunStrategy.FULL_MODULE_BYPASS; in shouldRun()
DTestFailureModuleController.java27 public RunStrategy shouldRun(IInvocationContext context) { in shouldRun()
28 return RunStrategy.RUN; in shouldRun()
DNativeBridgeModuleController.java36 public RunStrategy shouldRun(IInvocationContext context) { in shouldRun()
59 return RunStrategy.FULL_MODULE_BYPASS; in shouldRun()
65 return RunStrategy.RUN; in shouldRun()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java77 import com.android.tradefed.testtype.suite.module.IModuleController.RunStrategy;
350 RunStrategy rs = applyConfigurationControl(failureListener); in run()
351 if (RunStrategy.FULL_MODULE_BYPASS.equals(rs)) { in run()
354 } else if (RunStrategy.SKIP_MODULE_TESTCASES.equals(rs)) { in run()
1020 private RunStrategy applyConfigurationControl(TestFailureListener failureListener) { in applyConfigurationControl()
1036 return RunStrategy.RUN; in applyConfigurationControl()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java1110 public RunStrategy shouldRun(IInvocationContext context) { in testModuleController_fullBypass()
1111 return RunStrategy.FULL_MODULE_BYPASS; in testModuleController_fullBypass()
1157 public RunStrategy shouldRun(IInvocationContext context) { in testModuleController_skipTestCases()
1158 return RunStrategy.SKIP_MODULE_TESTCASES; in testModuleController_skipTestCases()