/tools/asuite/atest/ |
D | result_reporter_unittest.py | 247 group = self.rr.runners['someTestRunner'].get('someTestModule') 248 self.assertIsNotNone(group) 250 mock_update.assert_called_with(RESULT_PASSED_TEST, group) 256 mock_update.assert_called_with(RESULT_FAILED_TEST, group) 324 group = result_reporter.RunStat() 325 self.rr._update_stats(RESULT_PASSED_TEST, group) 330 self.assertEqual(group.passed, 1) 331 self.assertEqual(group.failed, 0) 332 self.assertEqual(group.ignored, 0) 333 self.assertEqual(group.run_errors, False) [all …]
|
D | atest_arg_parser.py | 170 group = self.add_mutually_exclusive_group() 171 group.add_argument('--collect-tests-only', action='store_true', 173 group.add_argument('--dry-run', action='store_true', help=DRY_RUN) 238 group = self.add_mutually_exclusive_group() 240 group.add_argument('--iterations', nargs='?', 243 group.add_argument('--rerun-until-failure', nargs='?', 246 group.add_argument('--retry-any-failure', nargs='?',
|
D | atest_execution_info.py | 360 group = runner.setdefault(test.group_name, {}) 364 group.setdefault(test.status, []).append(result_dict) 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
|
D | result_reporter.py | 531 def _update_stats(self, test, group): argument 542 group.passed += 1 545 group.ignored += 1 548 group.assumption_failed += 1 552 group.failed += 1 555 group.run_errors = True
|
/tools/asuite/atest-py2/ |
D | result_reporter_unittest.py | 246 group = self.rr.runners['someTestRunner'].get('someTestModule') 247 self.assertIsNotNone(group) 249 mock_update.assert_called_with(RESULT_PASSED_TEST, group) 255 mock_update.assert_called_with(RESULT_FAILED_TEST, group) 323 group = result_reporter.RunStat() 324 self.rr._update_stats(RESULT_PASSED_TEST, group) 329 self.assertEquals(group.passed, 1) 330 self.assertEquals(group.failed, 0) 331 self.assertEquals(group.ignored, 0) 332 self.assertEquals(group.run_errors, False) [all …]
|
D | atest_arg_parser.py | 148 group = self.add_mutually_exclusive_group() 149 group.add_argument('--collect-tests-only', action='store_true', 151 group.add_argument('--dry-run', action='store_true', help=DRY_RUN) 197 group = self.add_mutually_exclusive_group() 199 group.add_argument('--iterations', nargs='?', 202 group.add_argument('--rerun-until-failure', nargs='?', 205 group.add_argument('--retry-any-failure', nargs='?',
|
D | atest_execution_info.py | 312 group = runner.setdefault(test.group_name, {}) 316 group.setdefault(test.status, []).append(result_dict) 320 for group in info_dict[_TEST_RUNNER_KEY][runner]: 322 for status in info_dict[_TEST_RUNNER_KEY][runner][group]: 323 count = len(info_dict[_TEST_RUNNER_KEY][runner][group][status]) 327 info_dict[_TEST_RUNNER_KEY][runner][group][_SUMMARY_KEY] = group_summary
|
D | result_reporter.py | 427 def _update_stats(self, test, group): argument 438 group.passed += 1 441 group.ignored += 1 444 group.assumption_failed += 1 448 group.failed += 1 451 group.run_errors = True
|
/tools/repohooks/tools/ |
D | cpplint.py | 599 if matched.group(1): 603 category = matched.group(2) 1320 line = leading_space.group(1) + '""' + line[end + len(delimiter):] 1343 matched.group(1))): 1344 delimiter = ')' + matched.group(2) + '"' 1346 end = matched.group(3).find(delimiter) 1349 line = (matched.group(1) + '""' + 1350 matched.group(3)[end + len(delimiter):]) 1354 line = matched.group(1) + '""' 1505 collapsed += head + match_literal.group(1).replace("'", '') [all …]
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/ |
D | BufferReader.kt | 78 fun int(group: Int): Int { in int() 79 reader.index = startIndex + matcher!!.start(group) in int() 83 fun intOr(group: Int, default: Int): Int { in intOr() 84 return if (matcher!!.start(group) == -1) default else int(group) in intOr() 87 fun double(group: Int): Double { in double() 88 reader.index = startIndex + matcher!!.start(group) in double() 92 fun long(group: Int): Long { in long() 93 reader.index = startIndex + matcher!!.start(group) in long() 97 fun string(group: Int): String { in string() 98 reader.index = startIndex + matcher!!.start(group) in string() [all …]
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/model/ |
D | SliceGroupBuilderTest.kt | 26 val group = SliceGroupBuilder() in testSimpleBuild() constant 27 group.beginSlice { in testSimpleBuild() 31 val slice = group.endSlice { in testSimpleBuild() 37 assertEquals(slice, group.slices.first()) in testSimpleBuild() 41 val group = SliceGroupBuilder() in testNestedBuild() constant 42 group.beginSlice { in testNestedBuild() 46 group.beginSlice { in testNestedBuild() 50 val child = group.endSlice { in testNestedBuild() 56 assertEquals(0, group.slices.size) in testNestedBuild() 57 val slice = group.endSlice { in testNestedBuild() [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/pts/ |
D | pts_base_class.py | 202 handle = int(raw_handle.group(1), 16) 204 size = int(raw_size.group(1)) 212 handle = int(raw_handle.group(1), 16) 214 size = int(raw_size.group(1)) 223 handle = int(raw_handle.group(1), 16) 225 size = int(math.floor(int(raw_size.group(1)) / 2)) 234 handle = int(raw_handle.group(1), 16) 237 offset = int(raw_offset.group(1)) 246 handle = int(raw_handle.group(1), 16) 249 size = int(raw_size.group(1)) [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/ |
D | wifi_performance_test_utils.py | 488 self.packet_loss_percentage = float(match.group('loss')) 492 self.start_time = float(match.group('timestamp')) 495 float(match.group('timestamp')) - self.start_time, 496 float(match.group('rtt')))) 1059 current_bssid = match.group(0).split('=')[1] 1069 ssid = match.group(0).split('=')[1] 1083 frequency = int(match.group(0).split('=')[1]) 1089 temp_rssi = int(match.group(0).split('=')[1]) 1100 int(match.group(0).split('=')[1])) 1177 current_bssid = match.group(0).split('\t')[0] [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/ |
D | apollo_lib.py | 111 interface = match.group('interface') 115 commander_port = '/dev/' + match.group('port') 118 log_port = '/dev/' + match.group('port') 121 device_serial = match.group('device_serial') 340 connlib41 = match.group('m2') + match.group('m1') 356 mac_address = match.group('Mac').replace(' ', '').upper() 363 types['flags'] = match.group('Flags').replace(' ', '') 364 types['link_key'] = match.group('Linkkey').replace(' ', '') 978 pskey += LOG_REGEX.match(result).group('msg').replace(' ', 1099 key = match.group('key') [all …]
|
D | logserial.py | 120 result['type'] = m.group('type') 121 result['vid'] = m.group('vid') 122 result['pid'] = m.group('pid') 123 adprop = m.group('adprop').strip() 151 m.group().strip().split('\\')[2])
|
/tools/asuite/atest/tools/ |
D | atest_tools.py | 108 return match.group('report_file') 182 _dict.setdefault(match.group(key), set()).add( 183 match.group(value)) 321 fqcn = match.group('package') + '.' + match.group('class') 322 _dict.setdefault(fqcn, set()).add(match.group('java_path'))
|
/tools/asuite/aidegen_functional_test/ |
D | aidegen_functional_test_main.py | 95 group = parser.add_mutually_exclusive_group() 103 group.add_argument( 126 group.add_argument( 132 group.add_argument( 138 group.add_argument( 144 group.add_argument( 150 group.add_argument(
|
/tools/asuite/atest-py2/tools/ |
D | atest_tools.py | 158 _dict.setdefault(match.group(key), set()).add(match.group(value)) 286 fqcn = match.group('package') + '.' + match.group('class') 287 _dict.setdefault(fqcn, set()).add(match.group('java_path'))
|
/tools/test/connectivity/acts_tests/tests/google/tel/etc/ |
D | manage_sim.py | 193 group = parser.add_mutually_exclusive_group() variable 194 group.add_argument( 199 group.add_argument( 204 group.add_argument(
|
/tools/asuite/asuite_plugin/ |
D | build.gradle | 6 group 'com.android' 27 testCompile group: 'junit', name: 'junit', version: '4.12' 28 testCompile group: 'org.mockito', name: 'mockito-core', version: '3.+'
|
/tools/asuite/atest-py2/test_runners/ |
D | atest_tf_test_runner.py | 262 event_data = json.loads(match.group('json_data')) 266 event_name = match.group('event_name') 516 for module, group in atest_utils.sort_and_group(test_infos, key): 526 for test_info_i in group: 574 for class_name, group in atest_utils.sort_and_group(filters, key): 578 for test_filter in group:
|
/tools/treble/fetcher/ |
D | fetcher.py | 35 group = parser.add_mutually_exclusive_group(required=True) 36 group.add_argument( 38 group.add_argument('--build_id', help='Download from the specified build.')
|
/tools/acloud/create/ |
D | avd_spec.py | 245 arg_hw_properties[_X_RES] = match.group("x_res") 246 arg_hw_properties[_Y_RES] = match.group("y_res") 252 if match and match.group("gb_size"): 254 int(match.group("gb_size")) * 1024) 255 elif match and match.group("mb_size"): 256 arg_hw_properties[key] = match.group("mb_size") 680 branch = branch_prefix + match.group("branch")
|
/tools/test/connectivity/acts_tests/tests/google/wifi/p2p/functional/ |
D | WifiP2pMultiPeersTest.py | 197 group = wp2putils.p2p_get_current_group(go_dut) 199 WifiEnums.SSID_KEY: group['NetworkName'], 200 WifiEnums.PWD_KEY: group['Passphrase'] 203 gc2_dut, group['NetworkName'])
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/compliance/ |
D | WlanPhyCompliance11NTest.py | 442 test_frequency = test_to_run.group(1) 443 test_chbw = test_to_run.group(2) 444 security = test_to_run.group(3) 448 if test_to_run.group(4): 449 n_capabilities_str = test_to_run.group(4)
|