Home
last modified time | relevance | path

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

1234567891011

/tools/tradefederation/core/tests/res/testtype/
Dgtest_output4.txt2 [==========] Running 268 tests from 55 test cases.
9 [----------] 2 tests from GetTypeIdTest
14 [----------] 2 tests from GetTypeIdTest (0 ms total)
21 [----------] 2 tests from NullLiteralTest
26 [----------] 2 tests from NullLiteralTest (1 ms total)
28 [----------] 6 tests from CodePointToUtf8Test
41 [----------] 6 tests from CodePointToUtf8Test (2 ms total)
43 [----------] 7 tests from WideStringToUtf8Test
58 [----------] 7 tests from WideStringToUtf8Test (2 ms total)
60 [----------] 4 tests from ListTest
[all …]
Dgtest_output2.txt2 [==========] Running 53 tests from 15 test cases.
4 [----------] 2 tests from GtestCheckSyntaxTest
9 [----------] 2 tests from IsInSetTest
14 [----------] 2 tests from IsDigitTest
19 [----------] 2 tests from IsPunctTest
24 [----------] 2 tests from IsRepeatTest
29 [----------] 2 tests from IsWhiteSpaceTest
34 [----------] 4 tests from IsWordCharTest
43 [----------] 6 tests from IsValidEscapeTest
56 [----------] 10 tests from AtomMatchesCharTest
[all …]
Dgtest_output7.txt2 [==========] Running 11 tests from 2 test cases.
4 [----------] 8 tests from TestPartResultTest
22 [----------] 8 tests from TestPartResultTest (2 ms total)
24 [----------] 3 tests from TestPartResultArrayTest
31 [----------] 3 tests from TestPartResultArrayTest (1 ms total)
34 [==========] 11 tests from 2 test cases ran. (3 ms total)
35 [ PASSED ] 11 tests.
Dgtest_output11.txt2 [==========] Running 11 tests from 2 test cases.
4 [----------] 8 tests from TestPartResultTest
21 [----------] 8 tests from TestPartResultTest (2 ms total)
23 [----------] 3 tests from TestPartResultArrayTest
30 [----------] 3 tests from TestPartResultArrayTest (1 ms total)
33 [==========] 11 tests from 2 test cases ran. (3 ms total)
34 [ PASSED ] 11 tests.
Dgtest_output1.txt2 [==========] Running 11 tests from 2 test cases.
4 [----------] 8 tests from TestPartResultTest
21 [----------] 8 tests from TestPartResultTest (2 ms total)
23 [----------] 3 tests from TestPartResultArrayTest
30 [----------] 3 tests from TestPartResultArrayTest (1 ms total)
33 [==========] 11 tests from 2 test cases ran. (3 ms total)
34 [ PASSED ] 11 tests.
Dgtest_output6.txt1 [==========] Running 10 tests from 3 test cases.
8 [----------] 2 tests from FooTest
17 [----------] 2 tests from FooTest (2 ms total)
19 [----------] 10 tests from MyParamSequence/MyParamTest
34 [----------] 7 tests from MyParamSequence/MyParamTest (5 ms total)
37 [==========] 10 tests from 3 test cases ran. (10 ms total)
38 [ PASSED ] 8 tests.
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/
DTestMappingTest.java69 Set<TestInfo> tests = in testparseTestMapping() local
72 assertEquals(1, tests.size()); in testparseTestMapping()
74 for (TestInfo test : tests) { in testparseTestMapping()
78 tests = in testparseTestMapping()
81 assertEquals(1, tests.size()); in testparseTestMapping()
83 for (TestInfo test : tests) { in testparseTestMapping()
87 tests = in testparseTestMapping()
90 assertEquals(2, tests.size()); in testparseTestMapping()
97 for (TestInfo test : tests) { in testparseTestMapping()
104 tests = in testparseTestMapping()
[all …]
/tools/asuite/atest/
Dcli_translator.py184 def _get_test_infos(self, tests, test_mapping_test_details=None): argument
197 test_mapping_test_details = [None] * len(tests)
198 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)
339 tests = set(merged_all_tests.get(test_group, []))
342 tests.update(grouped_tests)
343 return tests, merged_all_tests, all_imports
395 tests, all_tests, imports = self._get_tests_from_test_mapping_files(
[all …]
Dcli_translator_unittest.py83 self.args.tests = []
222 self.args.tests = [uc.CLASS_NAME]
233 self.args.tests = [uc.MODULE_NAME, uc.CLASS_NAME]
249 self.args.tests = []
265 self.args.tests = ['src_path:all']
277 tests, all_tests = self.ctr._find_tests_by_test_mapping(
285 self.assertEqual(expected, tests)
293 tests, all_tests = self.ctr._find_tests_by_test_mapping(
303 self.assertEqual(expected, tests)
311 tests, all_tests = self.ctr._find_tests_by_test_mapping(
[all …]
Datest.py494 for tests, args, test_type in test_runs:
495 if not tests:
497 header = RUN_HEADER_FMT % {TEST_COUNT: len(tests), TEST_TYPE: test_type}
499 logging.debug('\n'.join([str(info) for info in tests]))
501 results_dir, tests, args, delay_print_summary=True)
539 for test_runner, tests in test_runner_handler.group_tests_by_test_runners(test_infos):
541 run_cmds = runner.generate_run_commands(tests, extra_args)
626 args.tests.sort()
630 atest_utils.handle_test_runner_cmd(' '.join(args.tests),
637 atest_utils.handle_test_runner_cmd(' '.join(args.tests),
[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))
124 for test_runner, tests in group_tests_by_test_runners(test_infos):
125 test_name = ' '.join([test.test_name for test in tests])
132 ret_code = test_runner.run_tests(tests, extra_args, reporter)
/tools/tradefederation/core/atest/
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 …]
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 …]
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)
/tools/tradefederation/core/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/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/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/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/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteTest.java839 Collection<IRemoteTest> tests = mTestSuite.split(3, mTestInfo); in testShardModules_notShardable() local
840 assertEquals(5, tests.size()); in testShardModules_notShardable()
841 for (IRemoteTest test : tests) { in testShardModules_notShardable()
849 Collection<IRemoteTest> tests = mTestSuite.split(2, mTestInfo); in testGetTestShard_onlyOneTest() local
850 assertEquals(1, tests.size()); in testGetTestShard_onlyOneTest()
851 for (IRemoteTest test : tests) { in testGetTestShard_onlyOneTest()
863 Collection<IRemoteTest> tests = mTestSuite.split(3, mTestInfo); in testGetRuntimeHint() local
864 for (IRemoteTest test : tests) { in testGetRuntimeHint()
1386 List<IRemoteTest> tests = new ArrayList<>(); in testWhiteListFiltering() local
1387 tests.add(new StubTest()); in testWhiteListFiltering()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationExecutionTest.java208 List<IRemoteTest> tests = new ArrayList<>(); in testRun_autoRetry() local
215 tests.add(stubTest); in testRun_autoRetry()
216 mConfig.setTests(tests); in testRun_autoRetry()
238 List<IRemoteTest> tests = new ArrayList<>(); in testRun_autoRetry_throughForwarder() local
245 tests.add(stubTest); in testRun_autoRetry_throughForwarder()
246 mConfig.setTests(tests); in testRun_autoRetry_throughForwarder()
268 List<IRemoteTest> tests = new ArrayList<>(); in testRun_metricCollectors() local
270 tests.add(new RemoteTestCollector()); in testRun_metricCollectors()
272 tests.add( in testRun_metricCollectors()
278 mConfig.setTests(tests); in testRun_metricCollectors()
[all …]
/tools/test/connectivity/acts/tests/google/wifi/
DWifiRvrTest.py613 self.tests = self.generate_test_cases(channels=[1, 6, 11],
622 self.tests = self.generate_test_cases(
632 self.tests = self.generate_test_cases(
642 self.tests = self.generate_test_cases(
652 self.tests = self.generate_test_cases(
662 self.tests = self.generate_test_cases(
672 self.tests = self.generate_test_cases(
682 self.tests = self.generate_test_cases(
831 self.tests = self.generate_test_cases(
840 self.tests = self.generate_test_cases([6], ['VHT20'],
[all …]
DWifiSensitivityTest.py589 self.tests = self.generate_test_cases(
597 self.tests = self.generate_test_cases([6, 36, 149],
605 self.tests = self.generate_test_cases([1, 2, 6, 10, 11], ['VHT20'],
612 self.tests = self.generate_test_cases(
620 self.tests = self.generate_test_cases([36, 40, 44, 48],
628 self.tests = self.generate_test_cases([149, 153, 157, 161],
879 self.tests = self.generate_test_cases(requested_channels,
893 self.tests = self.generate_test_cases(requested_channels, ['VHT20'],
917 self.tests = self.generate_test_cases(requested_channels,
932 self.tests = self.generate_test_cases(
/tools/test/connectivity/acts/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/tradefederation/core/tests/src/com/android/tradefed/testtype/
DJarHostTestTest.java148 List<IRemoteTest> tests = new ArrayList<>(mTest.split(5, mTestInfo)); in testSplit_withJar() local
150 assertEquals(8, tests.size()); in testSplit_withJar()
154 IRemoteTest shard1 = tests.get(0); in testSplit_withJar()
161 IRemoteTest shard2 = tests.get(1); in testSplit_withJar()
168 IRemoteTest shard3 = tests.get(2); in testSplit_withJar()
175 IRemoteTest shard4 = tests.get(3); in testSplit_withJar()
182 IRemoteTest shard5 = tests.get(4); in testSplit_withJar()
189 IRemoteTest shard6 = tests.get(5); in testSplit_withJar()
196 IRemoteTest shard7 = tests.get(6); in testSplit_withJar()
203 IRemoteTest shard8 = tests.get(7); in testSplit_withJar()

1234567891011