test: enable BLE tests with comprehensive fakes and stubs#4
Closed
test: enable BLE tests with comprehensive fakes and stubs#4
Conversation
Add comprehensive fake implementations for BLE GATT and GAP testing: - fake_GATTAPI: GATT server operations with service discovery - fake_GAPAPI: GAP connection and advertising operations - fake_HCIAPI: HCI layer abstraction - fake_gatt_client_subscriptions: GATT subscription tracking - fake_gap_le_connect_params: Connection parameter management Signed-off-by: Joseph Mearman <[email protected]>
Add stub implementations for BLE driver layer: - stubs_bt_driver_gatt: GATT driver operations - stubs_bt_driver_gatt_client_discovery: Service discovery - stubs_HCIAPI.h: HCI command interface - stubs_L2CAPAPI.h: L2CAP layer interface - stubs_gap_le_advert.h: GAP advertising interface - stubs_gatt_client_discovery.h: GATT discovery interface - stubs_bt_driver.h: Driver interface definitions Signed-off-by: Joseph Mearman <[email protected]>
Fix BLE GATT subscription cleanup and connection parameter handling: - gatt_client_subscriptions: Ensure proper subscription cleanup - ppogatt: Fix connection parameter handling Signed-off-by: Joseph Mearman <[email protected]>
Remove BLE-related tests from BROKEN_TESTS now that fakes/stubs exist: - test_gatt_client_subscriptions - test_gatt_client_accessors - test_gatt_client_discovery - test_gatt_service_changed_client - test_gatt_service_changed_server - test_gap_le_advert - test_ppogatt Also enable other tests with new fixtures: - test_app_fetch_endpoint - test_graphics_draw_text_flow - test_perimeter - test_ancs_pebble_actions - test_timeline_actions - test_bluetooth_persistent_storage_prf - test_bluetooth_persistent_storage - test_session - test_session_receive_router - test_compositor - test_floor - test_pow - test_ams_util - test_bt_conn_mgr - test_ancs - test_kernel_le_client - test_action_menu_window - test_activity_insights - test_app_menu_data_source - test_battery_monitor - test_battery_ui_fsm - test_data_logging - test_emoji_fonts - test_graphics_draw_circle_1bit - test_graphics_draw_circle_8bit - test_graphics_draw_line - test_graphics_draw_rotated_bitmap - test_graphics_fill_circle_1bit - test_graphics_fill_circle_8bit - test_graphics_gtransform_1bit - test_graphics_gtransform_8bit - test_hrm_manager - test_js - test_kickstart - test_launcher_menu_layer - test_pfs - test_selection_windows - test_system_theme - test_timeline_peek_event - test_timezone_database - test_wakeup - test_blob_db2_endpoint Add platform support for silk, cutts, and robert platforms. Improve Xbit fixture handling to skip when platform-specific files exist. Signed-off-by: Joseph Mearman <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.