Home
last modified time | relevance | path

Searched refs:runner (Results 1 – 25 of 87) 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-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.
/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_run_unittests.py67 runner = unittest.TextTestRunner(verbosity=2)
68 result = runner.run(test_suite)
/tools/asuite/atest/
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 …]
Datest_execution_info.py358 runner = info_dict[_TEST_RUNNER_KEY].setdefault(
360 group = runner.setdefault(test.group_name, {})
367 for runner in info_dict[_TEST_RUNNER_KEY]:
368 for group in info_dict[_TEST_RUNNER_KEY][runner]:
370 for status in info_dict[_TEST_RUNNER_KEY][runner][group]:
371 count = len(info_dict[_TEST_RUNNER_KEY][runner][group][status])
375 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/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/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/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/treble/build/
Dtest.py27 runner = unittest.TextTestRunner(verbosity=2)
28 result = runner.run(suite)
/tools/treble/split/
Dtest.py26 runner = unittest.TextTestRunner(verbosity=2)
27 result = runner.run(suite)
/tools/asuite/aidegen/
Daidegen_run_unittests.py61 runner = unittest.TextTestRunner(verbosity=2)
62 result = runner.run(test_suite)
/tools/asuite/plugin_lib/
Dplugin_run_unittests.py61 runner = unittest.TextTestRunner(verbosity=2)
62 result = runner.run(test_suite)
/tools/asuite/atest/docs/
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.
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd.py38 def __init__(self, runner, interface, working_dir='/tmp'): argument
46 self._runner = runner
50 self._shell = shell.ShellCommand(runner, working_dir)
Ddhcp_server.py42 def __init__(self, runner, interface, working_dir='/tmp'): argument
50 self._runner = runner
52 self._shell = shell.ShellCommand(runner, working_dir)
/tools/asuite/atest/asuite_lib_test/
Dasuite_lib_run_tests.py71 runner = unittest.TextTestRunner(verbosity=2)
72 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;
DChoreoTest.java20 import androidx.test.runner.AndroidJUnit4;
30 import org.junit.runner.RunWith;
/tools/acloud/
Dacloud_test.py86 runner = unittest.TextTestRunner(verbosity=2)
87 result = runner.run(test_suite)
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/
Droute.py34 def __init__(self, runner): argument
40 self._runner = runner
Dip.py28 def __init__(self, runner): argument
34 self._runner = runner

1234