Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 33) sorted by relevance

12

/tools/test/connectivity/acts/framework/acts/
Dtest_runner.py176 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/
DModuleSplitter.java101 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()
DITestSuite.java315 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 …]
DBaseTestSuite.java265 for (File module : modules) { in setupFilters()
266 if (module.getName().equals(exactModuleName)) { in setupFilters()
267 newModules.add(module); in setupFilters()
DValidateSuiteConfigHelper.java27 import com.android.tradefed.testtype.suite.module.BaseModuleController;
/tools/tradefederation/core/python-lib/tradefed_py/
Dtf_main.py29 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/
DXmlSuiteResultFormatter.java243 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/
Dacts_import_unit_test.py90 module = import_module(fake_module_name, path)
92 self.assertIsNotNone(module)
/tools/test/connectivity/acts/framework/acts/controllers/
Dsniffer.py45 module = importlib.import_module(module_name)
46 objs.append(module.Sniffer(interface,
Dattenuator.py36 module = importlib.import_module(module_name)
38 attn_inst = module.AttenuatorInstrument(inst_cnt)
/tools/tradefederation/core/atest/
DREADME.md63 <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-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/
DTestFailureModuleController.java16 package com.android.tradefed.testtype.suite.module;
DIModuleController.java16 package com.android.tradefed.testtype.suite.module;
DBaseModuleController.java16 package com.android.tradefed.testtype.suite.module;
DNativeBridgeModuleController.java16 package com.android.tradefed.testtype.suite.module;
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/
DNativeBridgeModuleControllerTest.java16 package com.android.tradefed.testtype.suite.module;
27 import com.android.tradefed.testtype.suite.module.IModuleController.RunStrategy;
DBaseModuleControllerTest.java16 package com.android.tradefed.testtype.suite.module;
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DPythonVirtualenvPreparer.java126 protected void addDepModule(String module) { in addDepModule() argument
127 mDepModules.add(module); in addDepModule()
/tools/repohooks/tools/
Dpylintrc45 # 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/
DSuiteModuleLoaderTest.java80 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/
Datest_tf_test_runner.py200 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/
DPythonUnitTestRunner.java91 for (String module : mTests) { in run()
92 doRunTest(listener, runUtil, module); in run()
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils_unittest.py217 mock_module_info.is_module.side_effect = lambda module: (
218 not module == 'is_not_module')
/tools/tradefederation/core/tests/test-apps/NativeTestSampleApp/tests/
DAndroid.mk.bak26 # All source files will be bundled into one test module
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessTestResultsParser.java420 TestModuleStartedEventInfo module = in handleEvent() local
422 mCurrentModuleContext = module.mModuleContext; in handleEvent()
423 mListener.testModuleStarted(module.mModuleContext); in handleEvent()

12