Home
last modified time | relevance | path

Searched defs:_ (Results 1 – 25 of 49) sorted by relevance

12

/tools/test/connectivity/acts/framework/tests/libs/logging/
Dlog_stream_test.py61 def test_init_adds_null_handler(self, *_):
77 self, *_):
93 def test_validate_styles_raises_when_multiple_file_outputs_set(self, *_):
129 def test_validate_styles_raises_when_no_level_exists(self, *_):
144 def test_validate_styles_raises_when_no_location_exists(self, *_):
159 def test_validate_styles_raises_when_rotate_logs_no_file_handler(self, *_):
181 def test_handle_style_to_acts_log_creates_handler(self, *_):
191 def test_handle_style_to_acts_log_creates_handler_is_lowest_level(self, *_):
204 def test_handle_style_to_stdout_creates_stream_handler(self, *_):
214 def test_handle_style_creates_file_handler(self, *_):
[all …]
/tools/test/connectivity/acts/framework/tests/controllers/bits_lib/
Dbits_service_test.py31 def test_output_log_opens_on_creation(self, mock_open, *_):
38 def test_output_log_gets_closed_on_cleanup(self, _, __, mock_open, *___): argument
48 def test_monsoons_usb_gets_connected_on_cleanup(self, mock_run, *_):
58 def test_service_can_not_be_started_twice(self, *_):
65 def test_service_can_not_be_stoped_twice(self, *_):
72 def test_stopped_service_can_not_be_started(self, *_):
79 def test_service_output_changes_service_reported_state(self, *_):
91 def test_service_output_defines_port(self, *_):
102 *_):
107 def side_effect(*_, **__):
[all …]
/tools/test/connectivity/acts/framework/tests/controllers/
Diperf_server_test.py58 def test_create_creates_server_over_ssh_with_ssh_config_and_port(self, _): argument
135 def test_start_stop_makes_started_false(self, _, __, ___): argument
148 def test_start_sets_current_log_file(self, _, __, ___): argument
162 def test_stop_returns_current_log_file(self, _, __): argument
179 def test_start_does_not_run_two_concurrent_processes(self, start_proc, _, __): argument
211 def test_start_makes_started_true(self, _): argument
223 def test_start_stop_makes_started_false(self, _, __): argument
236 def test_stop_returns_expected_log_file(self, _, __): argument
251 def test_start_does_not_run_two_concurrent_processes(self, _): argument
266 def test_stop_exits_early_if_no_process_has_started(self, _, __): argument
[all …]
Dmonsoon_test.py30 def test_create_can_create_lvpm_from_id_only(self, *_):
34 def test_create_can_create_lvpm_from_dict(self, *_):
39 def test_create_can_create_hvpm_from_id_only(self, *_):
43 def test_create_can_create_hvpm_from_dict(self, *_):
48 def test_raises_error_if_monsoon_type_is_unknown(self, *_):
52 def test_raises_error_if_monsoon_serial_not_provided(self, *_):
/tools/test/connectivity/acts/framework/tests/libs/test_bindings/
Dbinding_test.py79 def inner(*_, **__):
91 def inner(*_, **__):
105 def arg_modifier(_, *args, **kwargs): argument
129 def before(*_, **__):
132 def inner(*_, **__):
148 def after(*_, **__):
151 def inner(*_, **__):
165 def inner(*_, **__):
168 def signal_modifier(_, signal, *__, **___): argument
/tools/test/connectivity/acts/framework/tests/
Dacts_test_decorators_test.py338 def result_selector(results, _): argument
346 def test_case(_, attempt_number): argument
362 def result_selector(results, _): argument
369 def test_case(*_):
377 def test_case(*_):
385 def test_case(*_):
394 def test_case(*_):
404 def result_selector(*_):
408 def test_case(*_):
Dtest_runner_test.py50 def test_class_name_pattern_single(self, *_):
64 def test_class_name_pattern_multi(self, *_):
79 def test_class_name_pattern_question_mark(self, *_):
93 def test_class_name_pattern_char_seq(self, *_):
110 def test_class_logpath_contains_proper_directory(self, logger_mock, *_):
Dacts_utils_test.py193 def test_bypass_setup_wizard_no_complications(self, _): argument
209 def test_bypass_setup_wizard_unrecognized_error(self, _): argument
225 def test_bypass_setup_wizard_need_root_access(self, _): argument
244 def test_bypass_setup_wizard_need_root_already_skipped(self, _): argument
258 def test_bypass_setup_wizard_root_access_still_fails(self, _): argument
Dacts_context_test.py141 def test_add_base_path_overrides_default(self, _): argument
164 def test_get_full_output_path_returns_correct_path(self, *_):
/tools/test/connectivity/acts/framework/acts/controllers/
Dbits.py149 def setup(self, *_, registry=None, **__):
224 def disconnect_usb(self, *_, **__):
227 def connect_usb(self, *_, **__):
230 def measure(self, *_, measurement_args=None, **__):
251 def get_metrics(self, *_, timestamps=None, **__):
/tools/asuite/atest/test_runners/
Datest_tf_test_runner_unittest.py319 def test_try_set_gts_authentication_key_not_set(self, _): argument
393 def test_generate_run_commands_without_serial_env(self, mock_resultargs, mock_mertrics, _): argument
590 def test_generate_run_commands_collect_tests_only(self, argument
623 def test_generate_run_commands_with_tf_template(self, mock_resultargs, mock_mertrics, _): argument
708 def test_generate_run_commands_with_tf_early_device_release( argument
773 def test_generate_run_commands_has_instant_app_config( argument
/tools/test/connectivity/acts/framework/tests/libs/proc/
Dprocess_test.py130 def test_wait_kills_after_timeout(self, *_):
143 def test_sends_signal(self, mock_os, *_):
154 def test_signal_raises_error_on_windows(self, *_):
167 def test_wait_sets_stopped_to_true_before_process_kill(self, *_):
/tools/test/connectivity/acts/framework/acts/controllers/android_lib/
Dservices.py81 def _start(self, _): argument
84 def _stop(self, _): argument
108 def _stop(self, _): argument
/tools/asuite/atest-py2/test_runners/
Datest_tf_test_runner_unittest.py310 def test_try_set_gts_authentication_key_not_set(self, _): argument
384 def test_generate_run_commands_without_serial_env(self, mock_resultargs, mock_mertrics, _): argument
572 def test_generate_run_commands_with_tf_template(self, mock_resultargs, mock_mertrics, _): argument
615 def test_generate_run_commands_collect_tests_only(self, argument
/tools/test/connectivity/acts/framework/tests/event/
Ddecorators_test.py37 def test(_): argument
47 def test(_): argument
57 def test(self, _): argument
Devent_bus_test.py129 def _raise(_): argument
246 def event_listener(_): argument
257 def event_listener(_): argument
Devent_subscription_test.py28 def filter_out_event(_): argument
32 def pass_filter(_): argument
Devent_bus_integration_test.py99 def event_listener(_): argument
109 def event_listener(_): argument
/tools/test/connectivity/acts_tests/tests/sample/
DRepeatedTest.py24 def get_median_current(test_results, _): argument
45 def test_repeated_case(self, _): argument
/tools/asuite/atest-py2/
Dbug_detector_unittest.py76 def test_get_detect_key(self, _): argument
101 def test_detect_bug_caught(self, _): argument
Datest_unittest.py43 def test_missing_environment_variables_uninitialized(self, _): argument
48 def test_missing_environment_variables_initialized(self, _): argument
/tools/asuite/atest/
Dbug_detector_unittest.py79 def test_get_detect_key(self, _): argument
104 def test_detect_bug_caught(self, _): argument
Datest_unittest.py44 def test_missing_environment_variables_uninitialized(self, _): argument
49 def test_missing_environment_variables_initialized(self, _): argument
/tools/test/connectivity/acts/framework/tests/controllers/monsoon_lib/api/lvpm_stock/
Dmonsoon_test.py59 def test_measure_power_downsample_skipped_if_hz_unset( argument
89 def test_measure_power_tee_skipped_if_ouput_path_not_set(self, _, tee): argument
/tools/test/connectivity/acts/framework/tests/controllers/monsoon_lib/api/hvpm/
Dmonsoon_test.py78 def test_measure_power_downsample_skipped_if_hz_unset( argument
108 def test_measure_power_tee_skipped_if_ouput_path_not_set(self, _, tee): argument

12