Home
last modified time | relevance | path

Searched refs:suite (Results 1 – 25 of 263) sorted by relevance

1234567891011

/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/
DModuleParametersHelper.java16 package com.android.tradefed.testtype.suite.params;
18 import static com.android.tradefed.testtype.suite.params.ModuleParameters.ALL_FOLDABLE_STATES;
19 import static com.android.tradefed.testtype.suite.params.ModuleParameters.INSTANT_APP;
20 import static com.android.tradefed.testtype.suite.params.ModuleParameters.MULTIUSER;
21 import static com.android.tradefed.testtype.suite.params.ModuleParameters.MULTI_ABI;
22 import static com.android.tradefed.testtype.suite.params.ModuleParameters.NOT_INSTANT_APP;
23 import static com.android.tradefed.testtype.suite.params.ModuleParameters.NOT_MULTI_ABI;
24 import static com.android.tradefed.testtype.suite.params.ModuleParameters.NOT_RUN_ON_SDK_SANDBOX;
25 import static com.android.tradefed.testtype.suite.params.ModuleParameters.NOT_SECONDARY_USER;
26 import static com.android.tradefed.testtype.suite.params.ModuleParameters.NOT_SECONDARY_USER_ON_DEF…
[all …]
/tools/tradefederation/core/javatests/res/config/suite/
Dsuite.md1 # Create and run a suite
3 A suite allows one to run a group of tests for a given build. Adding or removing
4 individual test from a suite can be as simple as a test config file change. One
9 A test can also be easily added to multiple suites by specifying the suite name
13 ## Create a suite
15 1. Create a suite configuration file
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
21 suite.
23 A sample suite configuration file looks like this:
[all …]
/tools/asuite/atest/test_finders/
Dsuite_plan_finder_unittest.py67 suite=suite_plan,
79 suite='cts',
122 suite=suite_name,
133 suite = 'cts'
141 build_targets=set([suite]),
142 suite=suite,
177 suite = 'cts'
184 build_targets=set([suite]),
185 suite=suite,
190 suite = 'cts'
[all …]
Dsuite_plan_finder.py89 suite = match.group('suite')
102 build_targets=set([suite]),
103 suite=suite,
160 suite=suite_name,
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DITestSuiteIntegrationTest.java16 package com.android.tradefed.testtype.suite;
50 import com.android.tradefed.result.suite.SuiteResultReporter;
51 import com.android.tradefed.suite.checker.ISystemStatusChecker;
52 import com.android.tradefed.suite.checker.ISystemStatusCheckerReceiver;
239 ITestSuite suite = new TestSuiteFolderImpl(mTestConfigFolder); in testSimplePassRun() local
240 suite.setDevice(mMockDevice); in testSimplePassRun()
241 suite.setBuild(mMockBuildInfo); in testSimplePassRun()
242 suite.setSystemStatusChecker(new ArrayList<ISystemStatusChecker>()); in testSimplePassRun()
243 suite.setInvocationContext(mContext); in testSimplePassRun()
244 suite.setConfiguration(mStubMainConfiguration); in testSimplePassRun()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/config/filter/
DGlobalTestFilter.java25 import com.android.tradefed.testtype.suite.BaseTestSuite;
26 import com.android.tradefed.testtype.suite.SuiteTestFilter;
27 import com.android.tradefed.testtype.suite.TestMappingSuiteRunner;
181 public void applyFiltersToTest(BaseTestSuite suite) { in applyFiltersToTest() argument
183 suite.setIncludeFilter(mIncludeFilters); in applyFiltersToTest()
184 suite.setExcludeFilter(mExcludeFilters); in applyFiltersToTest()
187 suite.clearExcludeFilter(); in applyFiltersToTest()
188 suite.clearIncludeFilter(); in applyFiltersToTest()
189 suite.setIncludeFilter(mStrictIncludeFilters); in applyFiltersToTest()
190 if (suite instanceof TestMappingSuiteRunner) { in applyFiltersToTest()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/
DUnitTests.java234 import com.android.tradefed.result.suite.FormattedGeneratorReporterTest;
235 import com.android.tradefed.result.suite.XmlSuiteResultFormatterTest;
244 import com.android.tradefed.suite.checker.ActivityStatusCheckerTest;
245 import com.android.tradefed.suite.checker.DeviceBaselineCheckerTest;
246 import com.android.tradefed.suite.checker.DeviceSettingCheckerTest;
247 import com.android.tradefed.suite.checker.DeviceStorageStatusCheckerTest;
248 import com.android.tradefed.suite.checker.EnforcedSeLinuxCheckerTest;
249 import com.android.tradefed.suite.checker.FilesystemRootCheckerTest;
250 import com.android.tradefed.suite.checker.KeyguardStatusCheckerTest;
251 import com.android.tradefed.suite.checker.LeakedThreadStatusCheckerTest;
[all …]
/tools/tradefederation/core/javatests/res/testdata/
Dtest_mapping_213 "name": "suite/stub1",
23 "name": "suite/stub1",
31 "name": "suite/stub2",
34 "test-suite-tag": "just_a_name"
Dtest_mapping_18 "name": "suite/stub1",
16 "name": "suite/stub2",
20 "name": "suite/stub3",
Dtest_mapping_golden28 "name": "suite/stub1"
11 "name": "suite/stub2",
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DDeviceTestSuiteTest.java72 DeviceTestSuite suite = new DeviceTestSuite(); in testRun_suite() local
73 suite.addTestSuite(MockTest.class); in testRun_suite()
83 suite.run(mTestInfo, listener); in testRun_suite()
96 DeviceTestSuite suite = new DeviceTestSuite(); in testRun_deviceNotAvail() local
97 suite.addTestSuite(MockAbortTest.class); in testRun_deviceNotAvail()
105 suite.run(mTestInfo, listener); in testRun_deviceNotAvail()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/multiuser/
DRunOnCloneProfileParameterHandler.java17 package com.android.tradefed.testtype.suite.params.multiuser;
20 import com.android.tradefed.testtype.suite.module.Sdk34ModuleController;
21 import com.android.tradefed.testtype.suite.params.IModuleParameterHandler;
DRunOnPrivateProfileParameterHandler.java17 package com.android.tradefed.testtype.suite.params.multiuser;
20 import com.android.tradefed.testtype.suite.module.Sdk35ModuleController;
21 import com.android.tradefed.testtype.suite.params.IModuleParameterHandler;
DRunOnWorkProfileParameterHandler.java17 package com.android.tradefed.testtype.suite.params.multiuser;
20 import com.android.tradefed.testtype.suite.params.IModuleParameterHandler;
/tools/asuite/atest/bazel/scripts/
Dgen_workspace_archive.sh106 -P android-bazel-suite/ \
117 ${DIST_DIR}/bazel-test-suite.zip \
118 ${DIST_DIR}/empty-bazel-test-suite.zip \
124 ${DIST_DIR}/empty-bazel-test-suite.zip
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DRetryRescheduler.java16 package com.android.tradefed.testtype.suite.retry;
40 import com.android.tradefed.testtype.suite.BaseTestSuite;
41 import com.android.tradefed.testtype.suite.SuiteTestFilter;
175 BaseTestSuite suite = (BaseTestSuite) test; in run() local
177 updateRunner(suite, collectedTests, replayer); in run()
216 BaseTestSuite suite, CollectingTestListener results, ResultsPlayer replayer) { in updateRunner() argument
282 addExcludeToConfig(suite, moduleResult, result.getKey().toString()); in updateRunner()
304 addExcludeToConfig(suite, moduleResult, subMap.getKey()); in updateRunner()
319 addExcludeToConfig(suite, moduleResult, null); in updateRunner()
345 BaseTestSuite suite, TestRunResult moduleResult, String testDescription) { in addExcludeToConfig() argument
[all …]
/tools/asuite/atest/test_runners/
Dsuite_plan_test_runner_unittest.py58 suite=suite_name,
92 suite = 'cts'
97 suite=suite,
103 exe_cmd = suite_plan_test_runner.SuitePlanTestRunner.EXECUTABLE % suite
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DDynamicShardHelper.java27 import com.android.tradefed.testtype.suite.ITestSuite;
28 import com.android.tradefed.testtype.suite.ModuleDefinition;
220 ITestSuite suite = (ITestSuite) test; in getAllModules() local
223 if (suite.getIntraModuleSharding()) { in getAllModules()
227 suite.setIntraModuleSharding(false); in getAllModules()
230 Collection<IRemoteTest> splitSuite = suite.split(1000000, testInfo); in getAllModules()
/tools/treble/build/
Dtest.py30 suite = unittest.defaultTestLoader.loadTestsFromNames(test_modules)
33 result = runner.run(suite)
/tools/treble/split/
Dtest.py29 suite = unittest.defaultTestLoader.loadTestsFromNames(test_modules)
32 result = runner.run(suite)
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DDeviceAvailableChecker.java16 package com.android.tradefed.suite.checker;
20 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DISystemStatusChecker.java16 package com.android.tradefed.suite.checker;
20 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/module/
DArchModuleControllerTest.java16 package com.android.tradefed.testtype.suite.module;
27 import com.android.tradefed.testtype.suite.ModuleDefinition;
28 import com.android.tradefed.testtype.suite.module.IModuleController.RunStrategy;
DCarModuleControllerTest.java16 package com.android.tradefed.testtype.suite.module;
27 import com.android.tradefed.testtype.suite.ModuleDefinition;
28 import com.android.tradefed.testtype.suite.module.IModuleController.RunStrategy;
/tools/asuite/atest/bazel/runner/
DAndroid.bp51 name: "empty-bazel-test-suite",
52 cmd: "BAZEL_SUITE_DIR=$(genDir)/android-bazel-suite && " +
61 out: ["empty-bazel-test-suite.zip"],
72 targets: ["empty-bazel-test-suite"],

1234567891011