Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 25 of 178) sorted by relevance

12345678

/tools/asuite/atest/
Dcli_translator.py300 def _get_test_infos(self, tests, test_mapping_test_details=None): argument
313 test_mapping_test_details = [None] * len(tests)
314 for test, tm_test_detail in zip(tests, test_mapping_test_details):
395 tests = []
424 tests.append(test_mapping.TestDetail(test))
425 grouped_tests.update(tests)
458 tests = set()
461 tests.update(temp_tests)
464 tests.update(grouped_tests)
465 return tests, merged_all_tests, all_imports
[all …]
Dtest_runner_handler.py87 for test_runner, tests in itertools.groupby(sorted_test_infos, key):
89 tests = list(tests)
94 tests_by_test_runner.append((test_runner_class, tests))
113 for test_runner, tests in group_tests_by_test_runners(test_infos):
118 ).get_test_runner_build_reqs(tests)
141 for test_runner, tests in group_tests_by_test_runners(test_infos):
142 test_name = ' '.join([test.test_name for test in tests])
153 ret_code = test_runner.run_tests(tests, extra_args, reporter)
172 for test in tests:
Dcli_translator_unittest.py96 self.args.tests = []
260 self.args.tests = [uc.CLASS_NAME]
278 self.args.tests = [uc.MODULE_NAME, uc.CLASS_NAME]
300 self.args.tests = []
322 self.args.tests = ['src_path:all']
339 tests, all_tests = self.ctr._find_tests_by_test_mapping(
347 self.assertEqual(expected, tests)
356 tests, all_tests = self.ctr._find_tests_by_test_mapping(
366 self.assertEqual(expected, tests)
375 tests, all_tests = self.ctr._find_tests_by_test_mapping(
[all …]
Datest_main.py656 for tests, args, test_type in test_runs:
657 if not tests:
659 header = RUN_HEADER_FMT % {TEST_COUNT: len(tests), TEST_TYPE: test_type}
661 logging.debug('\n'.join([str(info) for info in tests]))
663 results_dir, tests, args, mod_info, delay_print_summary=True)
702 for test_runner, tests in test_runner_handler.group_tests_by_test_runners(
706 run_cmds = runner.generate_run_commands(tests, extra_args)
793 tests_str = ' '.join(args.tests)
801 test_commands = atest_utils.get_verify_key(args.tests, extra_args)
905 tests: List[str]) -> bool:
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/
DREADME.md6 There are 4 groups of tests (in 4 sub-directories):
8 * functional: Functional tests that each implementation must pass. These
9 are pass/fail tests.
11 latency or throughput. Some of the tests may not have pass/fail results -
12 they just record the measured performance. Even when tests do have a pass/
18 * ota (over-the-air): A small number of tests which configure the device
20 sniffer trace and analyze it for validity. These tests are **not** automated.
22 The tests can be executed in several ways:
27 If a test class is specified, then all tests within that test class are executed.
29 2. All tests in a test group: `act.py -c <config> -tf <test_file>`
[all …]
/tools/asuite/atest/docs/
Ddeveloper_workflow.md17 involved with your change. This will help determine what tests you write
26 the appropriate test runner code to run the tests. As the tests
58 ##### Writing tests
62 should have "_unittests" appended to the name. For example, tests
67 ##### Running tests
69 Python tests are just python files executable by the Python interpreter.
70 You can use atest to run all unit tests via:<br>
76 Alternatively, it is possible to run ALL the python tests by executing the
91 All tests should be passing before you submit your change.
108 ##### Writing tests
[all …]
Datest_structure.md33 proceed to the first juicy part of atest, finding tests.
35 The tests specified by the user are passed into the ```CLITranslator``` to
42 Once ```TestInfo``` objects have been constructed for all the tests passed in
46 The final step is to run the tests which is where the test runners do their job.
76 atest to find tests in the android repo based on the user's input (path,
86 Test Runners are classes that execute the tests. They consume a ```TestInfo```
/tools/test/connectivity/acts/
DREADME.md10 Included in the tests/google directory are a bundle of tests, many of which can
13 1. Wifi tests for access point interopability, enterprise server integration,
15 2. Bluetooth tests for low energy, GATT, SPP, and bonding.
16 3. Cellular tests for circuit switch and IMS calling, data connectivity,
32 To run unit tests:
78 cd framework/tests/ \
102 To run tests, required information must be provided via a json-formatted
118 "testpaths": ["../tests/sample"],
133 Test classes must also contain an iterable member self.tests that lists the
144 self.tests = (
[all …]
/tools/asuite/atest/test_plans/
DINTEGRATION_TESTS1 # TODO (b/121362882): Add deviceless tests when dry-run is ready.
10 # frameworks/base/services/tests/servicestests/src/com/android/server/wm/ScreenDecorWindowTests.jav…
11 # packages/apps/Bluetooth/tests/unit/Android.mk
12 platform_testing/tests/example/native
13 # platform_testing/tests/example/native/
14 platform_testing/tests/example/native/Android.bp
75 packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wal…
102 cts/tests/framework/base/windowmanager/src/android/server/wm/DisplayCutoutTests.java#testDisplayCut…
103 cts/tests/tests/os/src/android/os/cts/CompanionDeviceManagerTest.kt#testIsDeviceAssociated
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/
DREADME.md6 There are 2 groups of tests (in 2 sub-directories):
8 * functional: Functional tests that each implementation must pass. These
9 are pass/fail tests.
15 The tests can be executed using:
20 If a test class is specified, then all tests within that test class are executed.
23 The Wi-Fi RTT tests support several different test scenarios which require different test bed
42 devices without listing specific serial numbers. Note that some tests use a
53 AP or between the two test devices (for Aware ranging tests).
55 control the length and duration of the stress tests. The stress test runs for the specified number
/tools/test/connectivity/acts_tests/tests/google/cellular/performance/
DCellularFr2PeakThroughputTest.py394 self.tests = self.generate_test_cases(['N257', 'N258', 'N260', 'N261'],
416 self.tests = self.generate_test_cases(['N257', 'N258', 'N260', 'N261'],
429 self.tests.extend(
443 self.tests.extend(
457 self.tests.extend(
478 self.tests = self.generate_test_cases(['N257', 'N258', 'N260', 'N261'],
491 self.tests.extend(
505 self.tests.extend(
519 self.tests.extend(
547 self.tests = self.generate_test_cases(
DCellular5GFR2ThroughputTest.py506 self.tests = self.generate_test_cases(['N257', 'N258', 'N260', 'N261'],
522 self.tests = self.generate_test_cases(['N257', 'N258', 'N260', 'N261'],
530 self.tests.extend(
539 self.tests.extend(
548 self.tests.extend(
557 self.tests.extend(
572 self.tests = self.generate_test_cases(['N257', 'N258', 'N260', 'N261'],
580 self.tests.extend(
589 self.tests.extend(
598 self.tests.extend(
[all …]
/tools/asuite/atest/bazel/
Datest_bazel_mode.md2 Atest is a command line tool that allows users to run Android tests locally
7 Atest Bazel Mode creates a synthetic Bazel workspace and executes tests using
10 Currently it is able to run all host unit tests only. Capability to run tests
27 To run multiple tests, separate test references with spaces. For example:
31 To run all host unit tests from the current directory:
43 Bazel needs a Bazel workspace to execute tests.
57 test = "//platform_testing/tests/example/jarhosttest:HelloWorldHostTest",
90 * In Atest Standard Mode, user can identify tests by module name, class name,
116 Some tests try to read the test data using relative path. This some times does
/tools/dexter/dexter/
Ddexter_tests.py62 tests = 0 variable
77 tests = tests + 1 variable
102 print('\nSUMMARY: updated expected output for %d tests\n' % tests)
104 print('\nSUMMARY: %d failure(s), %d test cases\n' % (failures, tests))
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRvrTest.py756 self.tests = self.generate_test_cases(
770 self.tests = self.generate_test_cases(
781 self.tests = self.generate_test_cases(
795 self.tests = self.generate_test_cases(
806 self.tests = self.generate_test_cases(
817 self.tests = self.generate_test_cases(
828 self.tests = self.generate_test_cases(
839 self.tests = self.generate_test_cases(
1080 self.tests = self.generate_test_cases(
1090 self.tests = self.generate_test_cases([6], ['bw20'],
[all …]
DWifiPingTest.py666 self.tests = self.generate_test_cases(
684 self.tests = self.generate_test_cases(
700 self.tests = self.generate_test_cases(
868 self.tests = self.generate_test_cases(
882 self.tests = self.generate_test_cases(
899 self.tests = self.generate_test_cases(
913 self.tests = self.generate_test_cases(
927 self.tests = self.generate_test_cases(
941 self.tests = self.generate_test_cases(
955 self.tests = self.generate_test_cases(
[all …]
DWifiSensitivityTest.py658 self.tests = self.generate_test_cases(
667 self.tests = self.generate_test_cases([6, 36, 149],
676 self.tests = self.generate_test_cases([1, 2, 6, 10, 11], ['VHT20'],
684 self.tests = self.generate_test_cases(
693 self.tests = self.generate_test_cases([36, 40, 44, 48],
702 self.tests = self.generate_test_cases([149, 153, 157, 161],
941 self.tests = self.generate_test_cases(requested_channels,
960 self.tests = self.generate_test_cases(requested_channels,
985 self.tests = self.generate_test_cases(requested_channels,
1001 self.tests = self.generate_test_cases(
/tools/test/connectivity/acts_tests/tests/google/native/bt/
DBtNativeTest.py8 tests = None variable in BtNativeTest
12 self.tests = (
23 self.tests = self.tests + ("test_two_devices_set_get_name", )
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/
DSoftApTest.py1704 tests = self.soft_ap_test_params.get(
1709 for config_settings in tests:
1770 tests = self.soft_ap_test_params.get(
1777 for config_settings in tests:
1829 tests = self.soft_ap_test_params.get(
1834 for config_settings in tests:
1882 tests = self.soft_ap_test_params.get(
1887 for config_settings in tests:
1916 tests = self.soft_ap_test_params.get(
1923 for config_settings in tests:
[all …]
/tools/repohooks/rh/
Dshell_unittest.py48 def _testData(self, functor, tests, check_type=True): argument
50 for test_output, test_input in tests.items():
116 tests = {
124 self._testData(rh.shell.cmd_to_str, tests)
/tools/trebuchet/
DAndroid.bp63 name: "trebuchet-core-tests",
76 test_suites: ["general-tests"],
80 name: "trebuchet-startup-common-tests",
92 test_suites: ["general-tests"],
/tools/test/connectivity/acts/framework/acts/
Dbase_test.py734 def _block_all_test_cases(self, tests, reason='Failed class setup'): argument
742 for test_name, test_func in tests:
780 if self.tests:
782 valid_tests = list(self.tests)
799 tests = self._get_test_methods(matches)
806 self._block_all_test_cases(tests)
813 self._block_all_test_cases(tests)
830 for test_name, test_func in tests:
/tools/asuite/atest/bazel/resources/rules/
Dtradefed_test.bzl15 """Rules used to run tests using Tradefed."""
141 doc = "A rule used to run host-side deviceless tests using Tradefed",
150 # Robolectric tests.
189 doc = "A rule used to run Robolectric tests using Tradefed",
250 doc = "A rule used to run device tests using Tradefed",
367 "host-unit-tests": [],
369 "device-tests": [],
370 "general-tests": [],
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dbt_carkit_lib.py108 def process_tests(self, tests): argument
109 for test in tests:
116 tests = [
130 _process_tests(tests)
133 tests = [
139 _process_tests(tests)
142 tests = [
147 _process_tests(tests)
150 tests = [
156 _process_tests(tests)
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py423 def extract_test_from_tests(tests, default_all=False): argument
439 count = len(tests)
441 return tests if count else None
444 numbered_list = ['%s: %s' % (i, t) for i, t in enumerate(tests)]
459 return tests
460 mtests.update(tests[start_index:(end_index+1)])
1264 tests = []
1268 tests.append(name)
1269 return tests

12345678