Home
last modified time | relevance | path

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

123456

/tools/asuite/atest/unittest_data/tradefed_prebuilt/prebuilts/filegroups/tradefed/
Dtradefed-contrib.jar ... android/build/ com/android/build/tests/ com/android/build/tests/ImageStats ...
/tools/tradefederation/prebuilts/filegroups/tradefed/
Dtradefed-contrib.jar ... android/build/ com/android/build/tests/ com/android/build/tests/ImageStats ...
Dtf-contrib-tests.jar ... android/build/ com/android/build/tests/ com/android/build/tests/ImageStatsTest ...
/tools/asuite/atest-py2/
Dcli_translator.py185 def _get_test_infos(self, tests, test_mapping_test_details=None): argument
198 test_mapping_test_details = [None] * len(tests)
199 for test, tm_test_detail in zip(tests, test_mapping_test_details):
279 tests = []
305 tests.append(test_mapping.TestDetail(test))
306 grouped_tests.update(tests)
355 tests = set(merged_all_tests.get(test_group, []))
358 tests.update(grouped_tests)
359 return tests, merged_all_tests, all_imports
411 tests, all_tests, imports = self._get_tests_from_test_mapping_files(
[all …]
Dtest_runner_handler.py76 for test_runner, tests in itertools.groupby(sorted_test_infos, key):
78 tests = list(tests)
83 tests_by_test_runner.append((test_runner_class, tests))
121 for test_runner, tests in group_tests_by_test_runners(test_infos):
122 test_name = ' '.join([test.test_name for test in tests])
129 ret_code = test_runner.run_tests(tests, extra_args, reporter)
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
71 packages/apps/Car/Messenger/tests/robotests/src/com/android/car/messenger/MessengerDelegateTest.java
Dcli_translator_unittest.py82 self.args.tests = []
221 self.args.tests = [uc.CLASS_NAME]
232 self.args.tests = [uc.MODULE_NAME, uc.CLASS_NAME]
248 self.args.tests = []
264 self.args.tests = ['src_path:all']
276 tests, all_tests = self.ctr._find_tests_by_test_mapping(
284 self.assertEqual(expected, tests)
292 tests, all_tests = self.ctr._find_tests_by_test_mapping(
302 self.assertEqual(expected, tests)
310 tests, all_tests = self.ctr._find_tests_by_test_mapping(
[all …]
Datest.py486 for tests, args, test_type in test_runs:
487 if not tests:
489 header = RUN_HEADER_FMT % {TEST_COUNT: len(tests), TEST_TYPE: test_type}
491 logging.debug('\n'.join([str(info) for info in tests]))
493 results_dir, tests, args, delay_print_summary=True)
531 for test_runner, tests in test_runner_handler.group_tests_by_test_runners(test_infos):
533 run_cmds = runner.generate_run_commands(tests, extra_args)
583 test_references=args.tests,
619 atest_utils.clean_test_info_caches(args.tests)
636 args.tests.sort()
[all …]
/tools/asuite/atest/
Dcli_translator.py263 def _get_test_infos(self, tests, test_mapping_test_details=None, argument
278 test_mapping_test_details = [None] * len(tests)
279 for test, tm_test_detail in zip(tests, test_mapping_test_details):
361 tests = []
394 tests.append(test_mapping.TestDetail(test))
395 grouped_tests.update(tests)
428 tests = set()
431 tests.update(temp_tests)
434 tests.update(grouped_tests)
435 return tests, merged_all_tests, all_imports
[all …]
Dtest_runner_handler.py77 for test_runner, tests in itertools.groupby(sorted_test_infos, key):
79 tests = list(tests)
84 tests_by_test_runner.append((test_runner_class, tests))
125 for test_runner, tests in group_tests_by_test_runners(test_infos):
126 test_name = ' '.join([test.test_name for test in tests])
133 ret_code = test_runner.run_tests(tests, extra_args, reporter)
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
74 packages/apps/Car/Messenger/tests/robotests/src/com/android/car/messenger/MessengerDelegateTest.java
101 cts/tests/framework/base/windowmanager/src/android/server/wm/DisplayCutoutTests.java#testDisplayCut…
102 cts/tests/tests/os/src/android/os/cts/CompanionDeviceManagerTest.kt#testIsDeviceAssociated
Dcli_translator_unittest.py90 self.args.tests = []
247 self.args.tests = [uc.CLASS_NAME]
259 self.args.tests = [uc.MODULE_NAME, uc.CLASS_NAME]
278 self.args.tests = []
296 self.args.tests = ['src_path:all']
309 tests, all_tests = self.ctr._find_tests_by_test_mapping(
317 self.assertEqual(expected, tests)
325 tests, all_tests = self.ctr._find_tests_by_test_mapping(
335 self.assertEqual(expected, tests)
343 tests, all_tests = self.ctr._find_tests_by_test_mapping(
[all …]
Datest.py505 for tests, args, test_type in test_runs:
506 if not tests:
508 header = RUN_HEADER_FMT % {TEST_COUNT: len(tests), TEST_TYPE: test_type}
510 logging.debug('\n'.join([str(info) for info in tests]))
512 results_dir, tests, args, mod_info, delay_print_summary=True)
551 for test_runner, tests in test_runner_handler.group_tests_by_test_runners(test_infos):
553 run_cmds = runner.generate_run_commands(tests, extra_args)
639 args.tests.sort()
643 atest_utils.handle_test_runner_cmd(' '.join(args.tests),
650 atest_utils.handle_test_runner_cmd(' '.join(args.tests),
[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-py2/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 run ALL the python tests by executing this bash script in the
76 All tests should be passing before you submit your change.
93 ##### Writing tests
95 Tradefed test files live in a parallel `/tests/` file tree here:
[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/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 run ALL the python tests by executing this bash script in the
76 All tests should be passing before you submit your change.
93 ##### Writing tests
95 Tradefed test files live in a parallel `/tests/` file tree here:
[all …]
/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/repohooks/rh/
Dshell_unittest.py47 def _testData(self, functor, tests, check_type=True): argument
49 for test_output, test_input in tests.items():
103 tests = {
111 self._testData(rh.shell.cmd_to_str, tests)
/tools/asuite/atest-py2/unittest_data/cache_root/
D78ea54ef315f5613f7c11dd1a87f10c7.cache20 S'device-tests'
52 VMODULES-IN-platform_testing-tests-example-native
69 Vplatform_testing/tests/example/native/AndroidTest.xml
/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/graphicsbenchmark/functional_tests/java/
DAndroid.mk32 LOCAL_MODULE_TAGS := tests
33 LOCAL_COMPATIBILITY_SUITE := device-tests
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRvrTest.py676 self.tests = self.generate_test_cases(
686 self.tests = self.generate_test_cases(
696 self.tests = self.generate_test_cases(
706 self.tests = self.generate_test_cases(
716 self.tests = self.generate_test_cases(
726 self.tests = self.generate_test_cases(
736 self.tests = self.generate_test_cases(
888 self.tests = self.generate_test_cases(
896 self.tests = self.generate_test_cases([6], ['bw20'],
899 self.tests.extend(
[all …]
DWifiPingTest.py548 self.tests = self.generate_test_cases(
561 self.tests = self.generate_test_cases(
572 self.tests = self.generate_test_cases(
752 self.tests = self.generate_test_cases(ap_power='standard',
763 self.tests = self.generate_test_cases(
774 self.tests = self.generate_test_cases(ap_power='standard',
784 self.tests = self.generate_test_cases(ap_power='low_power',
795 self.tests = self.generate_test_cases(
806 self.tests = self.generate_test_cases(ap_power='low_power',
/tools/test/connectivity/acts_tests/tests/google/native/
DNativeTest.py23 tests = None variable in NativeTest
27 self.tests = (

123456