Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdbAutoPlayer/AdbAutoPlayer
/ functions
Functions
1,693 in github.com/AdbAutoPlayer/AdbAutoPlayer
⨍
Functions
1,693
◇
Types & classes
357
↳
Endpoints
51
Method
test_missing_file_returns_empty_dict
(self, tmp_path)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:668
Method
test_missing_games_part
Test that module paths without 'games' as second part raise ValueError.
src-tauri/src-python/tests/utils/string_helper/test_module_helper.py:30
Method
test_missing_returns_false
(self, tmp_path)
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:514
Method
test_mixed_case
(self)
src-tauri/src-python/tests/utils/string_helper/test_snake_to_pascal.py:20
Method
test_mixed_crop_types
Test mixing percentage and pixel crop values.
src-tauri/src-python/tests/image_manipulation/test_cropping.py:113
Method
test_mixed_pixels_and_percentages_no_validation
Test that mixed pixels and percentages don't trigger validation.
src-tauri/src-python/tests/models/image_processing/crop_regions/test_crop_regions_validation.py:59
Method
test_mixed_valid_combination
Test mixed pixel and percentage combinations.
src-tauri/src-python/tests/models/image_processing/crop_regions/test_crop_regions_complex_scenarios.py:24
Method
test_mock_afkj_unused_methods_coverage
Call all stubbed methods in MockAFKJ for coverage.
src-tauri/src-python/tests/games/afk_journey/mixins/test_afkj_mixins.py:316
Method
test_mock_handler_unused_methods_coverage
Call all stubbed methods in MockHandler for coverage.
src-tauri/src-python/tests/games/afk_journey/test_popup_handler_full.py:228
Method
test_mock_popup_handler_coverage
Call stubbed methods in MockPopupHandler for coverage.
src-tauri/src-python/tests/ocr/test_popup_handler_ocr.py:109
Method
test_module_path_too_short
Test that module paths shorter than 3 parts raise ValueError.
src-tauri/src-python/tests/utils/string_helper/test_module_helper.py:22
Method
test_multiple_occurrences
Test multiple occurrences of username in path.
src-tauri/src-python/tests/utils/string_helper/test_sanitize_path.py:55
Method
test_multiple_underscores
(self)
src-tauri/src-python/tests/utils/string_helper/test_snake_to_pascal.py:8
Method
test_mythic_plus
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:275
Function
test_navigate_to_guild_members_screen_failure
Guild tab not found even after navigate_to_world -> returns False.
src-tauri/src-python/tests/games/afk_journey/mixins/test_all_mixins_extended.py:507
Function
test_navigate_to_guild_members_screen_success
Guild tab found by OCR -> swipe -> Members button found -> returns True.
src-tauri/src-python/tests/games/afk_journey/mixins/test_all_mixins_extended.py:476
Method
test_negative_float_error
Test that negative floats raise ValueError.
src-tauri/src-python/tests/models/image_processing/crop_value/test_crop_value_validation.py:15
Method
test_negative_int_error
Test that negative integers raise ValueError.
src-tauri/src-python/tests/models/image_processing/crop_value/test_crop_value_validation.py:10
Method
test_negative_values_error
Test that negative values raise errors.
src-tauri/src-python/tests/models/image_processing/crop_regions/test_crop_regions_invalid_input.py:27
Method
test_neither_file_cached_triggers_download
Neither file cached → download triggered.
src-tauri/src-python/tests/ocr/test_qwen2vl_backend.py:49
Method
test_no_crop_returns_original
Test that no cropping returns a copy of the original image.
src-tauri/src-python/tests/image_manipulation/test_cropping.py:71
Method
test_no_entry_when_fuzzy_returns_same_as_input
If fuzzy returns the same string, nothing is added.
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:458
Method
test_no_locked_heroes_does_nothing
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:534
Method
test_no_match_found_returns_none
Test that no match returns None.
src-tauri/src-python/tests/template_matching/test_template_matching_find_template_match.py:28
Method
test_no_match_returns_none
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:114
Method
test_no_match_returns_unknown
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:301
Method
test_no_matches_returns_empty_list
Test that no matches returns empty list.
src-tauri/src-python/tests/template_matching/test_template_matching_find_all_matches.py:32
Method
test_no_pending_returns_early
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:565
Method
test_no_png_header_raises_value_error
(self)
src-tauri/src-python/tests/image_manipulation/io/test_io_get_bgr_np_array_from_png_bytes.py:36
Method
test_no_synonyms_loads_from_disk
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:154
Method
test_noise_words_removed_before_parsing
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:362
Method
test_non_paragon_not_affected
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:557
Method
test_normalized_floats
Test normalized float inputs (0.0-1.0).
src-tauri/src-python/tests/models/test_confidence_value.py:29
Method
test_ocr_map_patterns
(self, raw: str, expected: str)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:271
Method
test_ocr_noise_still_matches
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:225
Method
test_ocr_t_as_plus
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:357
Method
test_ocr_tokens_skip_single_char
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:70
Method
test_only_config_cached_triggers_download
config.json cached but weight index missing → download triggered.
src-tauri/src-python/tests/ocr/test_qwen2vl_backend.py:39
Method
test_ordering_comparisons
Test ordering comparisons.
src-tauri/src-python/tests/models/test_confidence_value.py:103
Method
test_oserror_triggers_retry_with_force_redownload
OSError from from_pretrained triggers force re-download.
src-tauri/src-python/tests/ocr/test_qwen2vl_backend.py:93
Method
test_out_of_range_number_ignored
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:379
Method
test_p1_threshold_is_20_not_15
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:513
Method
test_paragon_locked_not_downgraded
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:551
Method
test_paragons_downgraded_to_supreme_plus
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:542
Method
test_pending_resolved_to_paragon1_when_enough_sup_not_enough_p1
(self, tmp_path)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:404
Method
test_pending_resolved_to_paragon2_when_enough_p1_not_enough_p2
(self, tmp_path)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:419
Method
test_pending_resolved_to_paragon4_when_all_thresholds_met
(self, tmp_path)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:448
Method
test_pending_resolved_to_supreme_plus_when_not_enough_sup
(self, tmp_path)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:435
Method
test_percentage_crop_basic
Test basic percentage-based cropping.
src-tauri/src-python/tests/image_manipulation/test_cropping.py:83
Method
test_percentage_crop_exceeds_100_percent
Test that percentage crop exceeding 100% raises error.
src-tauri/src-python/tests/image_manipulation/test_cropping.py:163
Method
test_percentage_property_error
Test percentage property error for pixel values.
src-tauri/src-python/tests/models/image_processing/crop_value/test_crop_value_properties.py:21
Method
test_percentage_property_success
Test percentage property for percentage values.
src-tauri/src-python/tests/models/image_processing/crop_value/test_crop_value_properties.py:16
Method
test_percentage_strings
Test percentage string inputs.
src-tauri/src-python/tests/models/test_confidence_value.py:11
Method
test_percentage_too_large_error
Test that percentage >= 1.0 raises ValueError.
src-tauri/src-python/tests/models/image_processing/crop_value/test_crop_value_validation.py:20
Method
test_perfect_match_found
Test finding a perfect template match.
src-tauri/src-python/tests/template_matching/test_template_matching_find_template_match.py:15
Method
test_persistent_oserror_sets_model_load_failed
If the retry also raises OSError, model_load_failed is set to True.
src-tauri/src-python/tests/ocr/test_qwen2vl_backend.py:126
Method
test_pixel_crop_basic
Test basic pixel-based cropping.
src-tauri/src-python/tests/image_manipulation/test_cropping.py:98
Method
test_pixel_crop_exceeds_image_height
Test that pixel crop exceeding image height raises error.
src-tauri/src-python/tests/image_manipulation/test_cropping.py:177
Method
test_pixel_crop_exceeds_image_width
Test that pixel crop exceeding image width raises error.
src-tauri/src-python/tests/image_manipulation/test_cropping.py:169
Method
test_pixels_only_no_validation
Test that pixel-only values don't trigger validation.
src-tauri/src-python/tests/models/image_processing/crop_regions/test_crop_regions_validation.py:70
Method
test_pixels_property_error
Test pixels property error for percentage values.
src-tauri/src-python/tests/models/image_processing/crop_value/test_crop_value_properties.py:34
Method
test_pixels_property_success
Test pixels property for pixel values.
src-tauri/src-python/tests/models/image_processing/crop_value/test_crop_value_properties.py:29
Method
test_plus_pattern_extraction
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:353
Method
test_png_with_warning_prefix
(self)
src-tauri/src-python/tests/image_manipulation/io/test_io_get_bgr_np_array_from_png_bytes.py:24
Method
test_point_creation_invalid_negative
(self)
src-tauri/src-python/tests/models/geometry/test_point.py:13
Method
test_point_creation_valid
(self)
src-tauri/src-python/tests/models/geometry/test_point.py:8
Method
test_preprocess_screenshot_coverage
Cover _preprocess_screenshot_for_popup internal branches.
src-tauri/src-python/tests/games/afk_journey/test_popup_handler_full.py:141
Function
test_push_afk_stages
()
src-tauri/src-python/tests/games/afk_journey/mixins/test_all_mixins_extended.py:182
Function
test_push_afk_stages_timeout_fallback
()
src-tauri/src-python/tests/games/afk_journey/mixins/test_all_mixins_extended.py:189
Function
test_push_duras_trials
()
src-tauri/src-python/tests/games/afk_journey/mixins/test_all_mixins_extended.py:302
Method
test_push_legend_trials_full_flow
Cover push_legend_trials main loop and faction logic.
src-tauri/src-python/tests/games/afk_journey/mixins/test_afkj_mixins.py:143
Method
test_random_point_margin_edge_cases
(self)
src-tauri/src-python/tests/models/geometry/test_box.py:101
Method
test_random_point_no_margin
(self)
src-tauri/src-python/tests/models/geometry/test_box.py:71
Method
test_random_point_when_no_room_due_to_margin
(self)
src-tauri/src-python/tests/models/geometry/test_box.py:122
Method
test_random_point_with_float_margin
(self)
src-tauri/src-python/tests/models/geometry/test_box.py:77
Method
test_random_point_with_percentage_string_margin
(self)
src-tauri/src-python/tests/models/geometry/test_box.py:89
Method
test_rank_correction_via_name_lookup
Qwen assigns wrong rank to a player that bbox correctly identified.
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:156
Method
test_rank_deduplication_prefers_bbox_confirmed_name
When two players share a rank, bbox-confirmed name replaces the first.
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:167
Method
test_rank_shift_correction_via_empty_ranks
Off-by-one rank shift corrected using bbox empty_ranks heuristic.
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:209
Method
test_ranked_beats_null_rank_for_same_player
When a player has both ranked and null observations, rank wins.
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:62
Method
test_ranked_observation_wins_over_null_supplements
Sebv=7 from Qwen frame 0 must not be overridden by 6x null-rank votes.
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:36
Method
test_rapidocr_backend_partial_coverage_fixes
Fix partial coverage in lines 28, 62, and 96.
src-tauri/src-python/tests/ocr/test_rapidocr_backend.py:251
Method
test_repr
(self)
src-tauri/src-python/tests/models/geometry/test_point.py:67
Method
test_repr_percentage
Test repr representation for percentage values.
src-tauri/src-python/tests/models/image_processing/crop_value/test_crop_value_string_repr.py:25
Method
test_repr_pixels
Test repr representation for pixel values.
src-tauri/src-python/tests/models/image_processing/crop_value/test_crop_value_string_repr.py:20
Method
test_repr_representation
Test repr representation.
src-tauri/src-python/tests/models/image_processing/crop_regions/test_crop_regions_string_repr.py:19
Method
test_resolve_label_from_settings_no_gui_metadata
Test label resolution when no GUI metadata is present.
src-tauri/src-python/tests/utils/test_ipc_model_converter.py:117
Method
test_resolve_label_from_settings_no_label_from_settings
Test label resolution when no label_from_settings is set.
src-tauri/src-python/tests/utils/test_ipc_model_converter.py:93
Method
test_resolve_label_from_settings_no_settings_file_path
Test label resolution when no Settings file path is set.
src-tauri/src-python/tests/utils/test_ipc_model_converter.py:104
Method
test_resolves_to_given_tier
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:571
Method
test_resolves_to_supreme_plus
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:577
Method
test_restart_on_exception
Test that the task restarts when a general exception occurs.
src-tauri/src-python/tests/utils/test_execute_restart.py:69
Method
test_restart_on_exception_failure
Test that the task returns the original error when restart_game fails.
src-tauri/src-python/tests/utils/test_execute_restart.py:135
Method
test_restart_on_timeout
Test that the task restarts when a timeout is triggered.
src-tauri/src-python/tests/utils/test_execute_restart.py:13
Method
test_results_sorted_numerically_unranked_last
Ranked entries are sorted numerically; unranked entries appear last.
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:93
Method
test_returns_none_for_no_match
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:196
Method
test_returns_paragon1_when_enough_sup_not_enough_p1
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:487
Method
test_returns_paragon2_when_enough_p1_not_enough_p2
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:492
Method
test_returns_paragon3_when_enough_p2_not_enough_p3
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:498
Method
test_returns_paragon4_when_all_thresholds_met
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:505
← previous
next →
1,401–1,500 of 1,693, ranked by callers