Home
last modified time | relevance | path

Searched refs:runner (Results 1 – 25 of 101) sorted by relevance

12345

/tools/test/connectivity/acts/framework/tests/libs/ota/ota_runners/
Dota_runner_test.py74 runner = OtaRunnerImpl(tool, device)
75 runner.android_device.adb.getprop = mock.Mock(side_effect=['a', 'b'])
76 runner.get_post_build_id = lambda: 'abc'
78 runner._update()
89 runner = OtaRunnerImpl(tool, device)
90 runner.android_device.adb.getprop = mock.Mock(side_effect=['a', 'a'])
91 runner.get_post_build_id = lambda: 'abc'
93 runner._update()
101 runner = ota_runner.OtaRunner(tool, device)
103 self.assertEqual(runner.ota_tool, tool)
[all …]
/tools/asuite/atest/docs/
Ddevelop_test_runners.md3 Learn about test runners and how to create a new test runner class.
6 1. [Test Runner Details](#test-runner-details)
7 2. [Creating a Test Runner](#creating-a-test-runner)
9 ## <a name="test-runner-details">Test Runner Details</a>
11 The test runner class is responsible for test execution. Its primary logic
14 top-level args consumed by atest passed onto the test runner. It is up to the
15 test runner to translate those args into the specific args the test runner
16 accepts. In this way, you can think of the test runner as a translator between
17 the atest CLI and your test runner's CLI. The reason for this is so that atest
19 the differing CLIs of various test runners. The test runner should also
[all …]
Datest_structure.md38 Required info would be the test name, test dependencies, and the test runner
48 which invokes each ```TestInfo``` specified test runner. In this specific case,
66 contains logic to determine what test runner to use for a particular
68 * ```test_runners/``` - Location of test runner classes. More details on test
79 runner can understand, and specifying the test runner.
Ddeveloper_workflow.md25 information needed for the test runner to run the test. It then invokes
26 the appropriate test runner code to run the tests. As the tests
27 are run it also parses the test runner's output into the output seen by
44 Each test runner will have a different workflow. Atest currently
/tools/asuite/atest-py2/docs/
Ddevelop_test_runners.md3 Learn about test runners and how to create a new test runner class.
6 1. [Test Runner Details](#test-runner-details)
7 2. [Creating a Test Runner](#creating-a-test-runner)
9 ## <a name="test-runner-details">Test Runner Details</a>
11 The test runner class is responsible for test execution. Its primary logic
14 top-level args consumed by atest passed onto the test runner. It is up to the
15 test runner to translate those args into the specific args the test runner
16 accepts. In this way, you can think of the test runner as a translator between
17 the atest CLI and your test runner's CLI. The reason for this is so that atest
19 the differing CLIs of various test runners. The test runner should also
[all …]
Datest_structure.md38 Required info would be the test name, test dependencies, and the test runner
48 which invokes each ```TestInfo``` specified test runner. In this specific case,
66 contains logic to determine what test runner to use for a particular
68 * ```test_runners/``` - Location of test runner classes. More details on test
79 runner can understand, and specifying the test runner.
Ddeveloper_workflow.md25 information needed for the test runner to run the test. It then invokes
26 the appropriate test runner code to run the tests. As the tests
27 are run it also parses the test runner's output into the output seen by
44 Each test runner will have a different workflow. Atest currently
/tools/asuite/atest-py2/
DINTEGRATION_TESTS3 ###Purpose: Test with finder: MODULE and runner: AtestTradefedTestRunner###
9 ###Purpose: Test with finder: MODULE_FILE_PATH and runner: AtestTradefedTestRunner###
18 ###Purpose: Test with finder: INTEGRATION_FILE_PATH and runner: AtestTradefedTestRunner###
23 ###Purpose: Test with finder: MODULE_CLASS and runner: AtestTradefedTestRunner###
30 ###Purpose: Test with finder: QUALIFIED_CLASS and runner: AtestTradefedTestRunner###
36 ###Purpose: Test with finder: MODULE_PACKAGE and runner: AtestTradefedTestRunner###
41 ###Purpose: Test with finder: PACKAGE and runner: AtestTradefedTestRunner###
46 ###Purpose: Test with finder: CLASS and runner: AtestTradefedTestRunner###
51 ###Purpose: Test with finder: CC_CLASS and runner: AtestTradefedTestRunner###
58 ###Purpose: Test with finder: INTEGRATION and runner: AtestTradefedTestRunner###
[all …]
Datest_execution_info.py311 runner = info_dict[_TEST_RUNNER_KEY].setdefault(test.runner_name, {})
312 group = runner.setdefault(test.group_name, {})
319 for runner in info_dict[_TEST_RUNNER_KEY]:
320 for group in info_dict[_TEST_RUNNER_KEY][runner]:
322 for status in info_dict[_TEST_RUNNER_KEY][runner][group]:
323 count = len(info_dict[_TEST_RUNNER_KEY][runner][group][status])
327 info_dict[_TEST_RUNNER_KEY][runner][group][_SUMMARY_KEY] = group_summary
/tools/asuite/atest/test_plans/
DINTEGRATION_TESTS3 ###Purpose: Test with finder: MODULE and runner: AtestTradefedTestRunner###
9 ###Purpose: Test with finder: MODULE_FILE_PATH and runner: AtestTradefedTestRunner###
18 ###Purpose: Test with finder: INTEGRATION_FILE_PATH and runner: AtestTradefedTestRunner###
23 ###Purpose: Test with finder: MODULE_CLASS and runner: AtestTradefedTestRunner###
30 ###Purpose: Test with finder: QUALIFIED_CLASS and runner: AtestTradefedTestRunner###
40 ###Purpose: Test with finder: MODULE_PACKAGE and runner: AtestTradefedTestRunner###
45 ###Purpose: Test with finder: PACKAGE and runner: AtestTradefedTestRunner###
50 ###Purpose: Test with finder: CLASS and runner: AtestTradefedTestRunner###
55 ###Purpose: Test with finder: CC_CLASS and runner: AtestTradefedTestRunner###
60 ###Purpose: Test with finder: INTEGRATION and runner: AtestTradefedTestRunner###
[all …]
/tools/asuite/atest/
Dbazel_mode_unittest.py1306 runner=ATEST_TF_RUNNER))
1323 runner=ATEST_TF_RUNNER))
1340 runner=ATEST_TF_RUNNER))
1363 runner=ATEST_TF_RUNNER))
1386 runner=ATEST_TF_RUNNER))
1409 runner=ATEST_TF_RUNNER))
1432 runner=ATEST_TF_RUNNER))
1455 runner=ATEST_TF_RUNNER))
1471 runner=ATEST_TF_RUNNER): argument
1473 return [test_info.TestInfo(test_name, runner, MODULE_BUILD_TARGETS)]
[all …]
Datest_execution_info.py359 runner = info_dict[_TEST_RUNNER_KEY].setdefault(
361 group = runner.setdefault(test.group_name, {})
368 for runner in info_dict[_TEST_RUNNER_KEY]:
369 for group in info_dict[_TEST_RUNNER_KEY][runner]:
371 for status in info_dict[_TEST_RUNNER_KEY][runner][group]:
372 count = len(info_dict[_TEST_RUNNER_KEY][runner][group][status])
376 info_dict[_TEST_RUNNER_KEY][runner][group][_SUMMARY_KEY] = group_summary
/tools/test/connectivity/acts/framework/tests/libs/ota/
Dota_updater_test.py84 runner = MockOtaRunner()
85 runner.set_failure(True)
86 ota_updater.ota_runners = {device: runner}
92 runner = MockOtaRunner()
93 runner.set_failure(True)
94 ota_updater.ota_runners = {device: runner}
102 runner = MockOtaRunner()
103 ota_updater.ota_runners = {device: runner}
/tools/test/connectivity/acts/framework/acts/bin/
Dact.py50 runner = _create_test_runner(parsed_config, test_identifiers)
53 runner.run()
54 return runner.results.is_all_pass
59 (runner.testbed_name, i))
62 runner.stop()
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_runners/
Dota_runner_factory.py159 runner = ota_runner.SingleUseOtaRunner(ota_tool, android_device,
162 runner = ota_runner.MultiUseOtaRunner(ota_tool, android_device,
168 _bound_devices[android_device] = runner
169 return runner
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dradvd.py38 def __init__(self, runner, interface, working_dir=None, radvd_binary=None): argument
53 if working_dir is None and runner == job.run:
58 self._runner = runner
62 self._shell = shell.ShellCommand(runner, working_dir)
Ddhcp_server.py41 def __init__(self, runner, interface, working_dir='/tmp'): argument
51 self._runner = runner
53 self._shell = shell.ShellCommand(runner, working_dir)
Dhostapd.py41 def __init__(self, runner, interface, working_dir='/tmp'): argument
49 self._runner = runner
53 self._shell = shell.ShellCommand(runner, working_dir)
/tools/test/connectivity/acts/framework/tests/libs/ota/ota_tools/
Dadb_sideload_ota_tool_test.py64 runner = ota_runner.SingleUseOtaRunner(tool, device, ota_package_path,
66 runner.android_device.adb.getprop = mock.Mock(side_effect=['a', 'b'])
67 runner.update()
Dupdate_device_ota_tool_test.py60 runner = mock.Mock(
62 runner.return_value.android_device = device
64 tool.update(runner)
/tools/test/connectivity/acts/framework/tests/metrics/loggers/
Dbounded_metrics_test.py182 runner = TestRunner(test_run_config, [(
187 runner.run()
188 runner.stop()
190 return runner
Dblackbox_test.py183 runner = TestRunner(test_run_config, [(
188 runner.run()
189 runner.stop()
191 return runner
/tools/treble/split/
Dtest.py26 runner = unittest.TextTestRunner(verbosity=2)
27 result = runner.run(suite)
/tools/treble/build/
Dtest.py27 runner = unittest.TextTestRunner(verbosity=2)
28 result = runner.run(suite)
/tools/asuite/plugin_lib/
Dplugin_run_unittests.py61 runner = unittest.TextTestRunner(verbosity=2)
62 result = runner.run(test_suite)

12345