/tools/test/connectivity/acts/framework/tests/ |
D | acts_base_class_test.py | 64 self.assertEqual(actual_record.test_name, "test_func") 84 self.assertEqual(actual_record.test_name, "test_something") 121 self.assertEqual(actual_record.test_name, "test_something") 155 self.assertEqual(actual_record.test_name, "test_something") 183 self.assertEqual(actual_record.test_name, "test_something") 187 self.assertEqual(bt_cls.results.summary_str(), expected_summary) 202 self.assertEqual(actual_record.test_name, self.mock_test_name) 203 self.assertEqual(actual_record.details, MSG_EXPECTED_EXCEPTION) 208 self.assertEqual(bt_cls.results.summary_str(), expected_summary) 222 self.assertEqual(actual_record.test_name, self.mock_test_name) [all …]
|
D | acts_proto_utils_test.py | 56 self.assertEqual(entry.name, name) 57 self.assertEqual(entry.id, id) 58 self.assertEqual(len(entry.nested), len(nested)) 60 self.assertEqual(entry.nested[i].name, nested[i][0]) 61 self.assertEqual(entry.nested[i].type, nested[i][1]) 67 self.assertEqual(output_module_name, TEST_PROTO_GENERATED_NAME) 82 self.assertEqual(test_proto.entries[0].id, TEST_ID) 83 self.assertEqual(test_proto.entries[0].name, TEST_NAME) 97 self.assertEqual(len(test_proto.entries), 2)
|
D | acts_test_runner_test.py | 79 self.assertEqual(mock_ctrlrs[0].magic, "magic1") 80 self.assertEqual(mock_ctrlrs[1].magic, "magic2") 120 self.assertEqual(mock_ctrlrs[0].magic, "magic1") 121 self.assertEqual(mock_ctrlrs[1].magic, "magic2") 142 self.assertEqual(tr.results.controller_info, {}) 153 self.assertEqual(magic_devices[0].magic, "magic1") 154 self.assertEqual(magic_devices[1].magic, "magic2") 182 self.assertEqual(results["Requested"], 2) 183 self.assertEqual(results["Executed"], 2) 184 self.assertEqual(results["Passed"], 2) [all …]
|
D | acts_relay_controller_test.py | 90 self.assertEqual( 96 self.assertEqual( 102 self.assertEqual( 108 self.assertEqual( 114 self.assertEqual( 120 self.assertEqual( 126 self.assertEqual( 132 self.assertEqual( 146 self.assertEqual( 148 self.assertEqual(self.board.relay_previous_states[self.relay.position], [all …]
|
D | acts_android_device_test.py | 179 self.assertEqual(actual.serial, expected.serial) 197 self.assertEqual(ad.serial, expected_serial) 206 self.assertEqual(ad.serial, expected_serial) 207 self.assertEqual(ad.h_port, expected_h_port) 259 self.assertEqual(ad.serial, 1) 260 self.assertEqual(ad.model, "fakemodel") 265 self.assertEqual(ad.log_path, expected_lp) 280 self.assertEqual(build_info["build_id"], "ABC1.123456.007") 281 self.assertEqual(build_info["build_type"], "userdebug") 299 self.assertEqual(build_info["build_id"], "123456789") [all …]
|
/tools/tradefederation/core/atest/ |
D | test_finder_handler_unittest.py | 93 self.assertEqual( 97 self.assertEqual( 101 self.assertEqual( 105 self.assertEqual( 109 self.assertEqual( 113 self.assertEqual( 117 self.assertEqual( 121 self.assertEqual( 125 self.assertEqual( 129 self.assertEqual( [all …]
|
D | test_mapping_unittest.py | 31 self.assertEqual(uc.TEST_MAPPING_TEST['name'], detail.name) 32 self.assertEqual([], detail.options) 37 self.assertEqual(uc.TEST_MAPPING_TEST_WITH_OPTION['name'], detail.name) 38 self.assertEqual(uc.TEST_MAPPING_TEST_WITH_OPTION_STR, str(detail)) 44 self.assertEqual(
|
D | atest_unittest.py | 49 self.assertEqual(parsed_args.tests, [test_one, test_two]) 50 self.assertEqual(parsed_args.custom_args, [custom_arg, custom_arg_val]) 55 self.assertEqual(parsed_args.tests, []) 56 self.assertEqual(parsed_args.custom_args, [pos_custom_arg,
|
D | module_info_unittest.py | 54 self.assertEqual(default_out_dir_mod_targ, 67 self.assertEqual(custom_out_dir_mod_targ, 80 self.assertEqual(custom_abs_out_dir_mod_targ, 112 self.assertEqual(mod_info.get_paths(EXPECTED_MOD_TARGET), 114 self.assertEqual(mod_info.get_paths(MOD_NO_PATH), []) 119 self.assertEqual(mod_info.get_module_names(EXPECTED_MOD_TARGET_PATH[0]), 121 self.assertEqual(mod_info.get_module_names(PATH_TO_MULT_MODULES),
|
D | unittest_utils.py | 30 test_class.assertEqual(first, second) 47 test_class.assertEqual(test_info_a, test_info_b) 53 test_class.assertEqual(test_info_a_attr, test_info_b_attr, 59 test_class.assertEqual(len(test_info_set_a), len(test_info_set_b),
|
D | atest_utils_unittest.py | 34 self.assertEqual(want_list, 41 self.assertEqual(want_list,
|
/tools/repohooks/rh/ |
D | hooks_unittest.py | 135 self.assertEqual(output_args, exp_args) 145 self.assertEqual(self.replacer.get('PREUPLOAD_COMMIT_MESSAGE'), 150 self.assertEqual(self.replacer.get('PREUPLOAD_COMMIT'), 155 self.assertEqual(self.replacer.get('PREUPLOAD_FILES'), []) 160 self.assertEqual(self.replacer.get('REPO_ROOT'), m.return_value) 165 self.assertEqual(self.replacer.get('BUILD_OS'), m.return_value) 176 self.assertEqual(args, rh.hooks.HookOptions.expand_vars(args)) 181 self.assertEqual(exp_args, rh.hooks.HookOptions.expand_vars(args)) 188 self.assertEqual(options.args(), args) 189 self.assertEqual(options.args(default_args=['moo']), args) [all …]
|
/tools/test/connectivity/acts/tests/google/ble/bt5/ |
D | PhyTest.py | 77 self.assertEqual(0, event['data']['Status'], "Status should be 0") 78 self.assertEqual(clientTxPhy, event['data']['TxPhy']) 79 self.assertEqual(clientRxPhy, event['data']['RxPhy']) 86 self.assertEqual(0, event['data']['Status'], "Status should be 0") 87 self.assertEqual(clientRxPhy, event['data']['TxPhy']) 88 self.assertEqual(clientTxPhy, event['data']['RxPhy']) 94 self.assertEqual(0, event['data']['Status'], "Status should be 0") 102 self.assertEqual(0, event['data']['Status'], "Status should be 0") 135 self.assertEqual(cTxPhy, sTxPhy) 136 self.assertEqual(cRxPhy, sRxPhy) [all …]
|
/tools/test/connectivity/acts/tests/google/ble/gatt/ |
D | GattReadTest.py | 63 self.assertEqual(0, event['data']['offset'], "offset should be 0") 74 self.assertEqual(status, event["data"]["Status"], 76 self.assertEqual(char_value, event["data"]["CharacteristicValue"], 132 self.assertEqual(startOffset, event['data']['offset'], 144 self.assertEqual(status, event["data"]["Status"], 146 self.assertEqual(char_value, event["data"]["CharacteristicValue"], 182 self.assertEqual(0, event['data']['offset'], "offset should be 0") 193 self.assertEqual(status, event["data"]["Status"], 195 self.assertEqual(char_value, event["data"]["CharacteristicValue"],
|
D | GattWriteTest.py | 74 self.assertEqual(True, event['data']['responseNeeded'], 76 self.assertEqual(char_value, event['data']['value']) 77 self.assertEqual(0, event['data']['offset']) 88 self.assertEqual(status, event["data"]["Status"], 129 self.assertEqual(True, event['data']['responseNeeded'], 131 self.assertEqual(desc_value, event['data']['value']) 132 self.assertEqual(0, event['data']['offset']) 143 self.assertEqual(status, event["data"]["Status"], 192 self.assertEqual(False, event['data']['responseNeeded'], 194 self.assertEqual(0, event['data']['offset']) [all …]
|
/tools/test/connectivity/acts/framework/tests/libs/ota/ota_runners/ |
D | ota_runner_test.py | 42 test.assertEqual(number_of_expected_calls, self.update_call_count) 43 test.assertEqual(number_of_expected_calls, self.cleanup_call_count) 94 self.assertEqual(runner.ota_tool, tool) 95 self.assertEqual(runner.android_device, device) 96 self.assertEqual(runner.serial, device.serial) 128 self.assertEqual(True, runner.can_update()) 134 self.assertEqual(False, runner.can_update()) 139 self.assertEqual(runner.get_ota_package(), 'a') 144 self.assertEqual(runner.get_sl4a_apk(), 'b') 194 self.assertEqual(True, runner.can_update()) [all …]
|
/tools/test/connectivity/tools/lab/tests/ |
D | version_metric_test.py | 37 self.assertEqual(expected_result, metric_obj.gather_metric()) 50 self.assertEqual(expected_result, metric_obj.gather_metric()) 64 self.assertEqual(expected_result, metric_obj.gather_metric()) 79 self.assertEqual(expected_result, metric_obj.gather_metric()) 92 self.assertEqual(expected_result, metric_obj.gather_metric()) 103 self.assertEqual(expected_result, metric_obj.gather_metric()) 116 self.assertEqual(expected_result, metric_obj.gather_metric())
|
D | process_time_metric_test.py | 29 self.assertEqual(metric_obj.get_adb_fastboot_pids(), fake_pids['adb']) 36 self.assertEqual(metric_obj.get_adb_fastboot_pids(), 46 self.assertEqual(metric_obj.get_adb_fastboot_pids(), 68 self.assertEqual(metric_obj.gather_metric(), expected_result) 91 self.assertEqual(metric_obj.gather_metric(), expected_result)
|
D | health_checker_test.py | 62 self.assertEqual( 115 self.assertEqual( 137 self.assertEqual( 159 self.assertEqual(
|
/tools/acloud/internal/lib/ |
D | utils_test.py | 40 self.assertEqual(subprocess.check_call.call_count, 0) 50 self.assertEqual(subprocess.check_call.call_count, 1) 67 self.assertEqual(1 + num_retry, sentinel.alert.call_count) 80 self.assertEqual(1 + num_retry, sentinel.alert.call_count) 97 self.assertEqual(1 + num_retry, sentinel.alert.call_count)
|
D | base_cloud_client_test.py | 116 self.assertEqual(results, expected_results) 117 self.assertEqual(requests["r1"].execute.call_count, 1) 118 self.assertEqual(requests["r2"].execute.call_count, 120 self.assertEqual(requests["r3"].execute.call_count, 137 self.assertEqual(items, [item_1, item_2]) 155 self.assertEqual(api_mock.execute.call_count, client.RETRY_COUNT + 1)
|
D | gcompute_client_test.py | 90 self.assertEqual(status, "GOOD") 101 self.assertEqual(status, "GOOD") 278 self.assertEqual( 280 self.assertEqual(error_msgs, []) 281 self.assertEqual(failed, []) 282 self.assertEqual(set(deleted), set(fake_images)) 306 self.assertEqual(images, [image_1, image_2]) 317 self.assertEqual(result, {"name": self.INSTANCE}) 350 self.assertEqual(instances, [instance_1, instance_2]) 460 self.assertEqual( [all …]
|
D | gstorage_client_test.py | 57 self.assertEqual(mock_items, items) 83 self.assertEqual(response, mock_response) 119 self.assertEqual(deleted, fake_objs) 120 self.assertEqual(failed, []) 121 self.assertEqual(error_msgs, []) 126 self.assertEqual(mock_api.execute.call_count, 2) 133 self.assertEqual(
|
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/ |
D | rpc_client_test.py | 94 self.assertEqual(connection, expected_connection) 96 self.assertEqual(len(client._free_connections), 0) 132 self.assertEqual(client._lock.acquire.call_count, 157 self.assertEqual(client._lock.acquire.call_count, 162 self.assertEqual(len(client._free_connections), 0) 163 self.assertEqual(len(client._working_connections), 0) 194 self.assertEqual(client.future, client._async_client)
|
D | sl4a_manager_test.py | 38 self.assertEqual(sl4a_man.adb, adb) 54 self.assertEqual(first_manager, second_manager) 147 self.assertEqual(len(returned_ports), len(set(returned_ports))) 211 self.assertEqual(manager._get_all_ports_command(), command) 226 self.assertEqual(manager._get_all_ports_command(), command) 241 self.assertEqual(manager._get_all_ports_command(), command) 278 self.assertEqual(manager._get_open_listening_port(), 67890) 359 self.assertEqual(created_session.server_port, session_1.server_port) 377 self.assertEqual(created_session.server_port, 0) 405 self.assertEqual( [all …]
|