Home
last modified time | relevance | path

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

12345678

/tools/tradefederation/core/tests/src/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;
236 ITestSuite suite = new TestSuiteFolderImpl(mTestConfigFolder); in testSimplePassRun() local
237 suite.setDevice(mMockDevice); in testSimplePassRun()
238 suite.setBuild(mMockBuildInfo); in testSimplePassRun()
239 suite.setSystemStatusChecker(new ArrayList<ISystemStatusChecker>()); in testSimplePassRun()
240 suite.setInvocationContext(mContext); in testSimplePassRun()
241 suite.setConfiguration(mStubMainConfiguration); in testSimplePassRun()
[all …]
/tools/tradefederation/core/tests/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/tradefederation/core/tests/src/com/android/tradefed/
DUnitTests.java201 import com.android.tradefed.result.suite.FormattedGeneratorReporterTest;
202 import com.android.tradefed.result.suite.XmlSuiteResultFormatterTest;
209 import com.android.tradefed.suite.checker.ActivityStatusCheckerTest;
210 import com.android.tradefed.suite.checker.DeviceSettingCheckerTest;
211 import com.android.tradefed.suite.checker.DeviceStorageStatusCheckerTest;
212 import com.android.tradefed.suite.checker.EnforcedSeLinuxCheckerTest;
213 import com.android.tradefed.suite.checker.KeyguardStatusCheckerTest;
214 import com.android.tradefed.suite.checker.LeakedThreadStatusCheckerTest;
215 import com.android.tradefed.suite.checker.ShellStatusCheckerTest;
216 import com.android.tradefed.suite.checker.SystemServerFileDescriptorCheckerTest;
[all …]
/tools/asuite/atest/test_finders/
Dsuite_plan_finder_unittest.py66 suite=suite_plan)
75 suite='cts')
109 suite=suite_name)
119 suite = 'cts'
124 build_targets=set([suite]),
125 suite=suite)
154 suite = 'cts'
160 build_targets=set([suite]),
161 suite=suite)
165 suite = 'cts'
[all …]
Dsuite_plan_finder.py83 suite = match.group('suite')
94 build_targets=set([suite]),
95 suite=suite)
149 suite=suite_name))
Dtest_info.py32 suite=None, module_class=None, install_locations=None, argument
55 self.suite = suite
75 self.data, self.suite, self.module_class,
/tools/tradefederation/core/atest/test_finders/
Dsuite_plan_finder_unittest.py62 suite=suite_plan)
71 suite='cts')
105 suite=suite_name)
115 suite = 'cts'
120 build_targets=set([suite]),
121 suite=suite)
150 suite = 'cts'
156 build_targets=set([suite]),
157 suite=suite)
161 suite = 'cts'
[all …]
Dsuite_plan_finder.py83 suite = match.group('suite')
93 build_targets=set([suite]),
94 suite=suite)
148 suite=suite_name))
Dtest_info.py33 suite=None, module_class=None, install_locations=None, argument
56 self.suite = suite
76 self.data, self.suite, self.module_class,
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DRetryRescheduler.java16 package com.android.tradefed.testtype.suite.retry;
42 import com.android.tradefed.testtype.suite.BaseTestSuite;
43 import com.android.tradefed.testtype.suite.ITestSuite;
44 import com.android.tradefed.testtype.suite.SuiteTestFilter;
181 BaseTestSuite suite = (BaseTestSuite) test; in run() local
183 updateRunner(suite, collectedTests, replayer); in run()
190 suite.enableRebootBeforeTest(); in run()
239 BaseTestSuite suite, CollectingTestListener results, ResultsPlayer replayer) { in updateRunner() argument
303 addExcludeToConfig(suite, moduleResult, result.getKey().toString()); in updateRunner()
326 addExcludeToConfig(suite, moduleResult, subMap.getKey()); in updateRunner()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java42 import com.android.tradefed.testtype.suite.ModuleDefinition;
351 TestSuite suite = collectTests(collectClasses(classObj)); in countTestCases() local
352 int suiteCount = suite.countTestCases(); in countTestCases()
787 private Set<Class<?>> getClassesFromSuite(TestSuite suite) { in getClassesFromSuite() argument
789 Enumeration<Test> tests = suite.tests(); in getClassesFromSuite()
802 TestSuite suite = new TestSuite(); in collectTests() local
832 suite.addTest(testObj); in collectTests()
835 return suite; in collectTests()
848 TestSuite suite = collectTests(collectClasses(classObj)); in getTestMethods() local
849 for (int i = 0; i < suite.testCount(); i++) { in getTestMethods()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java16 package com.android.tradefed.testtype.suite;
54 import com.android.tradefed.suite.checker.ISystemStatusChecker;
55 import com.android.tradefed.suite.checker.ISystemStatusCheckerReceiver;
56 import com.android.tradefed.suite.checker.StatusCheckerResult;
57 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
966 ITestSuite suite = createInstance(); in split() local
967 OptionCopier.copyOptionsNoThrow(this, suite); in split()
968 suite.mIsSharded = true; in split()
969 suite.mDirectModule = m; in split()
970 splitTests.add(suite); in split()
DSuiteModuleLoader.java16 package com.android.tradefed.testtype.suite;
35 import com.android.tradefed.testtype.suite.params.IModuleParameter;
36 import com.android.tradefed.testtype.suite.params.MainlineModuleHandler;
37 import com.android.tradefed.testtype.suite.params.ModuleParameters;
38 import com.android.tradefed.testtype.suite.params.ModuleParametersHelper;
39 import com.android.tradefed.testtype.suite.params.NegativeHandler;
40 import com.android.tradefed.testtype.suite.params.NotMultiAbiHandler;
DBaseTestSuite.java16 package com.android.tradefed.testtype.suite;
30 import com.android.tradefed.testtype.suite.params.IModuleParameter;
31 import com.android.tradefed.testtype.suite.params.ModuleParameters;
32 import com.android.tradefed.testtype.suite.params.ModuleParametersHelper;
33 import com.android.tradefed.testtype.suite.params.NegativeHandler;
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DDeviceTestSuiteTest.java69 DeviceTestSuite suite = new DeviceTestSuite(); in testRun_suite() local
70 suite.addTestSuite(MockTest.class); in testRun_suite()
85 suite.run(mTestInfo, listener); in testRun_suite()
92 DeviceTestSuite suite = new DeviceTestSuite(); in testRun_deviceNotAvail() local
93 suite.addTestSuite(MockAbortTest.class); in testRun_deviceNotAvail()
108 suite.run(mTestInfo, listener); in testRun_deviceNotAvail()
/tools/tradefederation/core/atest/test_runners/
Dsuite_plan_test_runner_unittest.py50 suite=suite_name)
79 suite = 'cts'
83 suite=suite)
88 exe_cmd = suite_plan_test_runner.SuitePlanTestRunner.EXECUTABLE % suite
/tools/asuite/atest/test_runners/
Dsuite_plan_test_runner_unittest.py54 suite=suite_name)
83 suite = 'cts'
87 suite=suite)
92 exe_cmd = suite_plan_test_runner.SuitePlanTestRunner.EXECUTABLE % suite
/tools/tradefederation/core/atest/
Dmodule_info.py171 def is_suite_in_compatibility_suites(self, suite, mod_info): argument
181 return suite in mod_info.get(constants.MODULE_COMPATIBILITY_SUITES, [])
183 def get_testable_modules(self, suite=None): argument
197 if suite:
198 if self.is_suite_in_compatibility_suites(suite, info):
/tools/asuite/atest/
Dmodule_info.py173 def is_suite_in_compatibility_suites(self, suite, mod_info): argument
183 return suite in mod_info.get(constants.MODULE_COMPATIBILITY_SUITES, [])
185 def get_testable_modules(self, suite=None): argument
199 if suite:
200 if self.is_suite_in_compatibility_suites(suite, info):
/tools/tradefederation/core/tests/res/testdata/
Dtest_mapping_213 "name": "suite/stub1",
23 "name": "suite/stub1",
31 "name": "suite/stub2",
34 "test-suite-tag": "just_a_name"
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/
DTestMappingsValidation.java30 import com.android.tradefed.testtype.suite.ITestSuite;
417 String suite = compatibilitySuites.optString(i); in validateSuiteSetting() local
418 if (suite.equals(GENERAL_TESTS) || suite.equals(DEVICE_TESTS)) { in validateSuiteSetting()
/tools/tradefederation/core/atest/docs/
Ddeveloper_workflow.md86 The `testtype/suite/AtestRunner.java` is the most important file in
99 For example, the tests for `tools/tradefederation/core/src/com/android/tradefed/testtype/suite/Ates…
100 can be found in `tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/AtestRunn…
116 `tradefed.sh run host -n --class com.android.tradefed.testtype.suite.AtestRunnerTest`
/tools/asuite/atest/docs/
Ddeveloper_workflow.md86 The `testtype/suite/AtestRunner.java` is the most important file in
99 For example, the tests for `tools/tradefederation/core/src/com/android/tradefed/testtype/suite/Ates…
100 can be found in `tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/AtestRunn…
116 `tradefed.sh run host -n --class com.android.tradefed.testtype.suite.AtestRunnerTest`
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DTestsPoolPollerTest.java47 import com.android.tradefed.testtype.suite.ITestSuite;
48 import com.android.tradefed.testtype.suite.ITestSuiteTest.TestSuiteImpl;
268 ITestSuite suite = new TestSuiteImpl(numTests); in testRun_dnae_reportNotExecuted() local
269 testsList.addAll(suite.split(3, mTestInfo)); in testRun_dnae_reportNotExecuted()
/tools/test/connectivity/acts/framework/tests/
Dtest_suite.py40 suite = unittest.TestSuite()
48 suite.addTest(loader.discover(root, filename))
59 for index, test in enumerate(suite._tests):

12345678