MCPcopy Create free account

hub / github.com/AdbAutoPlayer/AdbAutoPlayer / functions

Functions1,693 in github.com/AdbAutoPlayer/AdbAutoPlayer

Methodtest_detect_text_blocks_basic
Test basic text block detection.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_detect_text_grouping.py:11
Methodtest_detect_text_blocks_bounding_boxes
Test that block bounding boxes are reasonable.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_detect_text_grouping.py:57
Methodtest_detect_text_blocks_empty_result_none
Test detect_text_blocks with None result.
src-tauri/src-python/tests/ocr/test_rapidocr_backend.py:195
Methodtest_detect_text_blocks_empty_text
Test detect_text_blocks filters out empty text.
src-tauri/src-python/tests/ocr/test_rapidocr_backend.py:146
Methodtest_detect_text_blocks_exception
Test detect_text_blocks handling of unexpected exceptions.
src-tauri/src-python/tests/ocr/test_rapidocr_backend.py:120
Methodtest_detect_text_blocks_fallback_box
Test detect_text_blocks fallback when boxes are missing.
src-tauri/src-python/tests/ocr/test_rapidocr_backend.py:100
Methodtest_detect_text_blocks_invalid_box_coords
Test detect_text_blocks handles invalid box coordinates.
src-tauri/src-python/tests/ocr/test_rapidocr_backend.py:165
Methodtest_detect_text_blocks_low_confidence
Test detect_text_blocks filters out low confidence results.
src-tauri/src-python/tests/ocr/test_rapidocr_backend.py:81
Methodtest_detect_text_blocks_missing_boxes_scores_coverage
Cover the 'else' branches for boxes and scores (lines 97-98).
src-tauri/src-python/tests/ocr/test_rapidocr_backend.py:227
Methodtest_detect_text_blocks_v37_format
Test detect_text_blocks with RapidOCR v3.7+ format.
src-tauri/src-python/tests/ocr/test_rapidocr_backend.py:56
Methodtest_detect_text_blocks_value_error_coverage
Test detect_text_blocks handling ValueError during OCRResult creation.
src-tauri/src-python/tests/ocr/test_rapidocr_backend.py:206
Methodtest_detect_text_blocks_vs_individual_words
Test that blocks contain more text than individual detections.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_detect_text_grouping.py:26
Methodtest_detect_text_blocks_with_confidence
Test block detection with confidence threshold.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_detect_text_grouping.py:43
Methodtest_detect_text_bounding_boxes
Test that bounding boxes are reasonable.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_detect_text.py:45
Methodtest_detect_text_empty_image
Test text detection on empty image.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_detect_text.py:59
Methodtest_detect_text_lines_basic
Test basic text line detection.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_detect_text_grouping.py:78
Methodtest_detect_text_lines_count
Test that line detection finds approximately the right number of lines.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_detect_text_grouping.py:90
Methodtest_detect_text_lines_single_line
Test line detection on single line image.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_detect_text_grouping.py:107
Methodtest_detect_text_lines_vs_blocks
Test that line detection gives different results than block detection.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_detect_text_grouping.py:98
Methodtest_detect_text_paragraphs_basic
Test basic paragraph detection.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_detect_text_grouping.py:122
Methodtest_detect_text_paragraphs_content
Test that paragraph detection captures meaningful content.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_detect_text_grouping.py:153
Methodtest_detect_text_paragraphs_vs_lines
Test paragraph detection vs line detection.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_detect_text_grouping.py:134
Methodtest_detect_text_with_confidence_threshold
Test text detection with confidence threshold.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_detect_text.py:26
Methodtest_device_stream_default_fps
Cover line 94: fps is None -> use settings.
src-tauri/src-python/tests/test_device_stream.py:165
Methodtest_device_stream_start_twice
Cover line 108: start() called when already running.
src-tauri/src-python/tests/test_device_stream.py:178
Methodtest_different_images_returns_false
Test that different images return False.
src-tauri/src-python/tests/template_matching/test_template_matching_similar_image.py:18
Methodtest_different_match_modes
Test different match modes return different results.
src-tauri/src-python/tests/template_matching/test_template_matching_find_template_match.py:41
Methodtest_different_psm_modes
Test that different PSM modes work.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_integration.py:35
Methodtest_distance_to
(self)
src-tauri/src-python/tests/models/geometry/test_point.py:24
Methodtest_dr_first_crop_starts_at_450
DR first frame: llm_y_min=450 (skips artistic header).
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:319
Methodtest_dr_non_first_crop_starts_at_350
DR non-first: llm_y_min=350 (max context prevents Cyrillic mode).
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:325
Methodtest_dr_non_first_empty_bbox_no_filter
DR non-first with empty bbox: rank_set is empty so filter is skipped.
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:182
Methodtest_dr_non_first_with_bbox_filters_unconfirmed_rank
DR non-first with bbox data: unconfirmed rank (hallucination) is removed.
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:194
Functiontest_duras_trials_battle_case_coverage
Cover 'duras_trials/battle.png' case. Checks _tap_till_template_disappears and sleep_navigation.
src-tauri/src-python/tests/games/afk_journey/mixins/test_all_mixins_extended.py:595
Methodtest_earliest_match_wins_when_multiple_patterns
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:305
Methodtest_edge_case_exactly_100_percent
Test edge case where values exactly equal 100%.
src-tauri/src-python/tests/models/image_processing/crop_regions/test_crop_regions_validation.py:79
Methodtest_edge_case_max_percentage
Test initialization with maximum valid percentage.
src-tauri/src-python/tests/models/image_processing/crop_value/test_crop_value_init.py:73
Methodtest_edge_cases
Test edge cases and boundary values.
src-tauri/src-python/tests/models/test_confidence_value.py:134
Methodtest_eligible_ascension_can_return_nonzero
(self, ascension: str)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:348
Methodtest_elite_plus
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:296
Methodtest_empty_image_raises_error
Test that empty image raises ValueError.
src-tauri/src-python/tests/image_manipulation/test_cropping.py:155
Methodtest_empty_input_returns_unknown
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:208
Methodtest_empty_matches_returns_empty
Test that empty input returns empty list.
src-tauri/src-python/tests/template_matching/test_template_matching_suppress_close_matches.py:19
Methodtest_empty_module_path
Test that empty or whitespace-only strings raise ValueError.
src-tauri/src-python/tests/utils/string_helper/test_module_helper.py:12
Methodtest_empty_result_returns_empty_string
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:627
Methodtest_empty_string
(self)
src-tauri/src-python/tests/utils/string_helper/test_snake_to_pascal.py:11
Methodtest_empty_string_returns_unknown
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:251
Methodtest_emulator_detection_on_arm_mac
Test emulator detection prevents streaming on ARM Mac.
src-tauri/src-python/tests/test_device_stream.py:83
Methodtest_epic_base
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:288
Methodtest_equality_comparisons
Test equality comparisons.
src-tauri/src-python/tests/models/test_confidence_value.py:79
Methodtest_error_handling_invalid_image
Test error handling with invalid image data.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_integration.py:50
Methodtest_error_messages
Test that error messages are informative.
src-tauri/src-python/tests/models/test_confidence_value.py:198
Methodtest_exact_boundary_crop
Test cropping right at the boundary (should fail).
src-tauri/src-python/tests/image_manipulation/test_cropping.py:193
Methodtest_exact_match
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:217
Methodtest_exact_strategy_used_for_known_norm
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:235
Methodtest_exact_substring_long_text
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:178
Methodtest_execute_tasks_all_failed
Test _execute_tasks when all tasks fail.
src-tauri/src-python/tests/test_game.py:242
Methodtest_execute_tasks_some_succeed
Test _execute_tasks when some tasks succeed.
src-tauri/src-python/tests/test_game.py:291
Methodtest_extract_categories_from_game_no_gui_metadata
Test category extraction with no GUI metadata.
src-tauri/src-python/tests/utils/test_ipc_model_converter.py:74
Methodtest_extract_multi_line_text
Test extracting multi-line text.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_extract_text.py:35
Methodtest_extract_simple_text
Test extracting text from a simple image.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_extract_text.py:8
Methodtest_extract_source_info_defaults
Test extraction with no exception info falls back to log record defaults.
src-tauri/src-python/tests/utils/test_traceback_helper.py:30
Methodtest_extract_source_info_with_empty_frame_summary
Test extraction falls back when frame summary is empty.
src-tauri/src-python/tests/utils/test_traceback_helper.py:116
Methodtest_extract_source_info_with_invalid_traceback
Test extraction falls back when traceback is invalid.
src-tauri/src-python/tests/utils/test_traceback_helper.py:73
Methodtest_extract_source_info_with_short_exc_info
Test extraction falls back when exc_info is too short.
src-tauri/src-python/tests/utils/test_traceback_helper.py:95
Methodtest_extract_source_info_with_traceback
Test extraction with valid traceback info.
src-tauri/src-python/tests/utils/test_traceback_helper.py:48
Methodtest_extract_text_empty
Test extract_text with no results.
src-tauri/src-python/tests/ocr/test_rapidocr_backend.py:45
Methodtest_extract_text_empty_image
Test extracting text from an empty/blank image.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_extract_text.py:26
Methodtest_extract_text_empty_result
Test extract_text with an empty result list.
src-tauri/src-python/tests/ocr/test_rapidocr_backend.py:136
Methodtest_extract_text_list_format
Test extract_text with legacy list/tuple format.
src-tauri/src-python/tests/ocr/test_rapidocr_backend.py:30
Methodtest_extract_text_string_input_format
Test extract_text with a single string result.
src-tauri/src-python/tests/ocr/test_rapidocr_backend.py:184
Methodtest_extract_text_v37_format
Test extract_text with RapidOCR v3.7+ format (.txts attribute).
src-tauri/src-python/tests/ocr/test_rapidocr_backend.py:12
Methodtest_extract_text_with_custom_config
Test extract_text with custom configuration.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_extract_text.py:16
Methodtest_falls_back_to_list_parsing
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:602
Methodtest_falls_back_to_unknown_for_garbage
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:230
Methodtest_fatal_exception_not_restarted
Test that fatal exceptions are not caught by restart logic.
src-tauri/src-python/tests/utils/test_execute_restart.py:102
Methodtest_find_all_template_matches
Test find_all_template_matches.
src-tauri/src-python/tests/test_game.py:229
Methodtest_find_any_excluded_hero
Test _find_any_excluded_hero success path.
src-tauri/src-python/tests/games/afk_journey/test_afkj_base_coverage.py:38
Methodtest_find_any_excluded_hero_timeout
Test _find_any_excluded_hero timeout path.
src-tauri/src-python/tests/games/afk_journey/test_afkj_base_coverage.py:53
Methodtest_find_command_and_execute_error
Test finding a command that raises an error when executed.
src-tauri/src-python/tests/utils/test_execute.py:29
Methodtest_find_command_not_found
Test behavior when a command is not found.
src-tauri/src-python/tests/utils/test_execute.py:21
Methodtest_find_command_valid
Test finding a valid command in the command dictionary.
src-tauri/src-python/tests/utils/test_execute.py:12
Methodtest_find_multiple_matches
Test finding multiple template matches.
src-tauri/src-python/tests/template_matching/test_template_matching_find_all_matches.py:14
Methodtest_find_worst_match
Test finding the worst template match.
src-tauri/src-python/tests/template_matching/test_template_matching_find_worst_template_match.py:13
Methodtest_float_percentage
Test initialization with float percentage values.
src-tauri/src-python/tests/models/image_processing/crop_value/test_crop_value_init.py:13
Methodtest_float_precision_handling
Test handling of floating point precision in percentage calculations.
src-tauri/src-python/tests/image_manipulation/test_cropping.py:308
Methodtest_force_redownload_skips_cache_check
force_redownload=True always downloads, even when both files are cached.
src-tauri/src-python/tests/ocr/test_qwen2vl_backend.py:59
Methodtest_format_debug_info_defaults
Test formatting with default log record values.
src-tauri/src-python/tests/utils/test_traceback_helper.py:144
Methodtest_format_debug_info_with_traceback
Test formatting with traceback-derived values.
src-tauri/src-python/tests/utils/test_traceback_helper.py:160
Methodtest_from_numpy_invalid_shape
(self)
src-tauri/src-python/tests/models/geometry/test_point.py:41
Methodtest_from_numpy_valid
(self)
src-tauri/src-python/tests/models/geometry/test_point.py:35
Methodtest_full_pipeline_with_multiple_formats
Test decoding pipeline with different video characteristics.
src-tauri/src-python/tests/test_device_stream.py:212
Methodtest_function_auto_instantiate
Test that Execute.function automatically instantiates the class.
src-tauri/src-python/tests/utils/test_execute.py:41
Methodtest_function_no_instance_needed
Test Execute.function when no instance is needed.
src-tauri/src-python/tests/utils/test_execute.py:52
Methodtest_fuzzy_close_match
(self)
src-tauri/src-python/tests/games/afk_journey/services/test_hero_scanner.py:183
Methodtest_fuzzy_match_used_when_exact_match_fails
Garbled Cyrillic from Qwen is recovered via fuzzy matching.
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:424
Methodtest_fuzzy_substring_match
Test fuzzy substring matching with various scenarios.
src-tauri/src-python/tests/utils/string_helper/test_fuzzy_substring_match.py:36
Methodtest_get_backend_info_success
Test get_backend_info with successful version retrieval.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_info.py:37
Methodtest_get_backend_info_version_error
Test get_backend_info handles version retrieval errors.
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_info.py:55
Methodtest_get_filename_without_extension_basic
(self)
src-tauri/src-python/tests/utils/string_helper/test_string_helper.py:7
← previousnext →1,201–1,300 of 1,693, ranked by callers