Home
last modified time | relevance | path

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

1234

/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/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###
31 ###Purpose: Test with finder: QUALIFIED_CLASS and runner: AtestTradefedTestRunner###
41 ###Purpose: Test with finder: MODULE_PACKAGE and runner: AtestTradefedTestRunner###
46 ###Purpose: Test with finder: PACKAGE and runner: AtestTradefedTestRunner###
51 ###Purpose: Test with finder: CLASS and runner: AtestTradefedTestRunner###
56 ###Purpose: Test with finder: CC_CLASS and runner: AtestTradefedTestRunner###
61 ###Purpose: Test with finder: INTEGRATION and runner: AtestTradefedTestRunner###
[all …]
/tools/asuite/atest/
Dbazel_mode_unittest.py1703 runner=ATEST_TF_RUNNER)
1721 runner=ATEST_TF_RUNNER)
1739 runner=ATEST_TF_RUNNER)
1763 runner=ATEST_TF_RUNNER)
1787 runner=ATEST_TF_RUNNER)
1811 runner=ATEST_TF_RUNNER)
1835 runner=ATEST_TF_RUNNER)
1859 runner=ATEST_TF_RUNNER)
1877 runner=ATEST_TF_RUNNER)
1893 runner=ATEST_TF_RUNNER): argument
[all …]
Datest_execution_info.py366 runner = info_dict[_TEST_RUNNER_KEY].setdefault(
368 group = runner.setdefault(test.group_name, {})
375 for runner in info_dict[_TEST_RUNNER_KEY]:
376 for group in info_dict[_TEST_RUNNER_KEY][runner]:
378 for status in info_dict[_TEST_RUNNER_KEY][runner][group]:
379 count = len(info_dict[_TEST_RUNNER_KEY][runner][group][status])
383 info_dict[_TEST_RUNNER_KEY][runner][group][_SUMMARY_KEY] = group_summary
Datest_run_unittests.py80 runner = unittest.TextTestRunner(verbosity=2)
81 return runner.run(test_suite)
/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/asuite/atest/bazel/runner/
DAndroid.bp20 name: "bazel-test-runner",
54 "cp $(location :bazel-test-runner) \"$${BAZEL_SUITE_DIR}\"/testcases && " +
59 ":bazel-test-runner",
72 name: "bazel-test-runner-tests",
77 "bazel-test-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)
/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/asuite/atest/bazel/resources/rules/
Ddevice_test.bzl27 "runner": "depset of executable to to setup test environment and execute test.",
33 …runner_script = _BAZEL_WORK_DIR + ctx.attr.run_with[DeviceEnvironment].runner.to_list()[0].short_p…
43 "{runner}": runner_script,
/tools/test/connectivity/acts/framework/tests/metrics/loggers/
Dblackbox_test.py183 runner = TestRunner(test_run_config, [(
188 runner.run()
189 runner.stop()
191 return runner
Dbounded_metrics_test.py182 runner = TestRunner(test_run_config, [(
187 runner.run()
188 runner.stop()
190 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.py62 runner = unittest.TextTestRunner(verbosity=2)
63 result = runner.run(test_suite)
/tools/asuite/aidegen/
Daidegen_run_unittests.py63 runner = unittest.TextTestRunner(verbosity=2)
64 result = runner.run(test_suite)
/tools/asuite/atest/asuite_lib_test/
Dasuite_lib_run_tests.py66 runner = unittest.TextTestRunner(verbosity=2)
67 result = runner.run(test_suite)
/tools/test/graphicsbenchmark/functional_tests/java/src/com/android/game/qualification/tests/
DSurfaceFlingerTest.java20 import androidx.test.runner.AndroidJUnit4;
25 import org.junit.runner.RunWith;

1234