/tools/test/connectivity/acts/framework/acts/ |
D | test_runner.py | 176 module = importlib.import_module(name) 193 for member_name in dir(module): 196 test_class = getattr(module, member_name) 215 module = importlib.import_module( 217 builtin_controllers.append(module) 221 def verify_controller_module(module): argument 236 if not hasattr(module, attr): 239 "controller module attribute %s.") % (module.__name__, 241 if not getattr(module, attr): 244 (attr, module.__name__)) [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleSplitter.java | 101 ModuleDefinition module = in createAndAddModule() local 108 currentList.add(module); in createAndAddModule() 126 ModuleDefinition module = in createAndAddModule() local 133 currentList.add(module); in createAndAddModule() 161 ModuleDefinition module = in addModuleToListFromSingleTest() local 168 currentList.add(module); in addModuleToListFromSingleTest()
|
D | ITestSuite.java | 315 ModuleDefinition module = in createExecutionList() local 322 module.setDevice(mDevice); in createExecutionList() 323 module.setDeviceInfos(mDeviceInfos); in createExecutionList() 324 module.setBuild(mBuildInfo); in createExecutionList() 325 runModules.add(module); in createExecutionList() 418 ModuleDefinition module = runModules.remove(0); in run() local 421 if (module.hasTests()) { in run() 428 module.getModuleInvocationContext() in run() 430 module.getModuleInvocationContext() in run() 433 listener.testModuleStarted(module.getModuleInvocationContext()); in run() [all …]
|
D | BaseTestSuite.java | 265 for (File module : modules) { in setupFilters() 266 if (module.getName().equals(exactModuleName)) { in setupFilters() 267 newModules.add(module); in setupFilters()
|
D | ValidateSuiteConfigHelper.java | 27 import com.android.tradefed.testtype.suite.module.BaseModuleController;
|
/tools/tradefederation/core/python-lib/tradefed_py/ |
D | tf_main.py | 29 def __init__(self, module='__main__', defaultTest=None, argument 77 self.module = None 97 TradefedProgram(module=None)
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatter.java | 243 for (TestRunResult module : holder.runResults) { in writeResults() 246 if (holder.modulesAbi.get(module.getName()) != null) { in writeResults() 247 String moduleAbi = holder.modulesAbi.get(module.getName()).getName(); in writeResults() 248 String moduleNameStripped = module.getName().replace(moduleAbi + " ", ""); in writeResults() 252 serializer.attribute(NS, NAME_ATTR, module.getName()); in writeResults() 254 serializer.attribute(NS, RUNTIME_ATTR, String.valueOf(module.getElapsedTime())); in writeResults() 255 serializer.attribute(NS, DONE_ATTR, Boolean.toString(module.isRunComplete())); in writeResults() 257 NS, PASS_ATTR, Integer.toString(module.getNumTestsInState(TestStatus.PASSED))); in writeResults() 258 serializer.attribute(NS, TOTAL_TESTS_ATTR, Integer.toString(module.getNumTests())); in writeResults() 260 serializeTestCases(serializer, module.getTestResults()); in writeResults() [all …]
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_import_unit_test.py | 90 module = import_module(fake_module_name, path) 92 self.assertIsNotNone(module)
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | sniffer.py | 45 module = importlib.import_module(module_name) 46 objs.append(module.Sniffer(interface,
|
D | attenuator.py | 36 module = importlib.import_module(module_name) 38 attn_inst = module.AttenuatorInstrument(inst_cnt)
|
/tools/tradefederation/core/atest/ |
D | README.md | 63 <tr><td> -m</td><td>--rebuild-module-info</td> 64 <td>Forces a rebuild of the module-info.json file.</td></tr> 109 Identifying a test by its module name will run the entire module. Input 113 Note: Use **TF Integration Test** to run non-module tests integrated directly 124 class and not the whole module. **Module:Class** is the preferred way to run 141 the module name. 172 Both module-based tests and integration-based tests can be run by 177 Example - 2 ways to run the `CtsJankDeviceTestCases` module via path:<br> 178 1. run module from android \<repo root>: `atest cts/tests/jank` 182 Example - run a specific class within `CtsJankDeviceTestCases` module via path:<br> [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/ |
D | TestFailureModuleController.java | 16 package com.android.tradefed.testtype.suite.module;
|
D | IModuleController.java | 16 package com.android.tradefed.testtype.suite.module;
|
D | BaseModuleController.java | 16 package com.android.tradefed.testtype.suite.module;
|
D | NativeBridgeModuleController.java | 16 package com.android.tradefed.testtype.suite.module;
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/ |
D | NativeBridgeModuleControllerTest.java | 16 package com.android.tradefed.testtype.suite.module; 27 import com.android.tradefed.testtype.suite.module.IModuleController.RunStrategy;
|
D | BaseModuleControllerTest.java | 16 package com.android.tradefed.testtype.suite.module;
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | PythonVirtualenvPreparer.java | 126 protected void addDepModule(String module) { in addDepModule() argument 127 mDepModules.add(module); in addDepModule()
|
/tools/repohooks/tools/ |
D | pylintrc | 45 # A comma-separated list of package or module names from where C extensions may 107 # Put messages in a separate file for each module / package specified on the 148 # List of module names for which member attributes should not be checked 151 # supports qualified module names, as well as Unix pattern matching. 225 # Maximum number of lines in a module 226 max-module-lines=1000 311 # Regular expression matching correct module names 312 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ 314 # Naming hint for module names 315 module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | SuiteModuleLoaderTest.java | 80 File module = new File(mTestsDir, moduleName + SuiteModuleLoader.CONFIG_EXT); in createModuleConfig() local 81 FileUtil.writeToFile(TEST_CONFIG, module); in createModuleConfig()
|
/tools/tradefederation/core/atest/test_runners/ |
D | atest_tf_test_runner.py | 200 for module, group in atest_utils.sort_and_group(test_infos, key): 223 test_info.TestInfo(test_name=module,
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | PythonUnitTestRunner.java | 91 for (String module : mTests) { in run() 92 doRunTest(listener, runUtil, module); in run()
|
/tools/tradefederation/core/atest/test_finders/ |
D | test_finder_utils_unittest.py | 217 mock_module_info.is_module.side_effect = lambda module: ( 218 not module == 'is_not_module')
|
/tools/tradefederation/core/tests/test-apps/NativeTestSampleApp/tests/ |
D | Android.mk.bak | 26 # All source files will be bundled into one test module
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | SubprocessTestResultsParser.java | 420 TestModuleStartedEventInfo module = in handleEvent() local 422 mCurrentModuleContext = module.mModuleContext; in handleEvent() 423 mListener.testModuleStarted(module.mModuleContext); in handleEvent()
|