flutter/packages/flutter_test/lib/src
Renzo Olivares 5890a2fc73
SelectionArea's selection should not be cleared on loss of window focus (#148067)
This change fixes an issue where SelectionArea would clear its selection when the application window lost focus by first checking if the application is running. This is needed because `FocusManager` is aware of the application lifecycle as of https://github.com/flutter/flutter/pull/142930 , and triggers a focus lost if the application is not active.

Also fixes an issue where the `FocusManager` was not being reset on tests at the right time, causing it always to build with `TargetPlatform.android` as its context.
2024-05-20 23:45:08 +00:00
..
_binding_io.dart Enable strict-inference (#135043) 2023-09-20 19:59:08 +00:00
_binding_web.dart Clean up the bindings APIs. (#89451) 2022-02-03 14:55:15 -08:00
_goldens_io.dart flutter test --wasm support (#145347) 2024-03-21 20:08:07 +00:00
_goldens_web.dart flutter test --wasm support (#145347) 2024-03-21 20:08:07 +00:00
_matchers_io.dart Add support for Future<List<int>?> to MatchesGoldenFile (#132965) 2023-08-22 19:40:18 +00:00
_matchers_web.dart Fix skwasm tests (#145570) 2024-04-09 19:35:07 +00:00
_test_selector_io.dart flutter test --wasm support (#145347) 2024-03-21 20:08:07 +00:00
_test_selector_web.dart flutter test --wasm support (#145347) 2024-03-21 20:08:07 +00:00
accessibility.dart MinimumTextContrastGuideline should dispose image. (#133861) 2023-09-06 11:00:56 -07:00
animation_sheet.dart Remove 'must be non-null' and 'must not be null' comments from non-framework libraries (#134994) 2023-09-19 17:26:07 +00:00
binding.dart SelectionArea's selection should not be cleared on loss of window focus (#148067) 2024-05-20 23:45:08 +00:00
controller.dart [flutter_test] Use defaultTargetPlatform for key events simulation (#143579) 2024-03-07 16:08:20 +00:00
deprecated.dart Deprecate these old APIs (#116793) 2023-04-06 19:53:50 +00:00
event_simulation.dart [flutter_test] Use defaultTargetPlatform for key events simulation (#143579) 2024-03-07 16:08:20 +00:00
finders.dart Fix SemanticsFinder for multi-view (#143485) 2024-02-16 22:24:55 +00:00
frame_timing_summarizer.dart Remove unnecessary null checks in flutter_test (#118865) 2023-01-20 22:01:13 +00:00
goldens.dart Make goldenFileComparator a field instead of a trivial property (#146800) 2024-04-17 21:55:55 +00:00
image.dart Remove unnecessary null checks in flutter_test (#118865) 2023-01-20 22:01:13 +00:00
matchers.dart Reland "if chains → switch expressions" (#148634) 2024-05-20 17:43:00 +00:00
mock_canvas.dart Turning if chains into shorter switch statements (#144977) 2024-03-13 17:16:17 +00:00
mock_event_channel.dart Add missing parameter to TableBorder.symmetric, and improve class constructors (#144279) 2024-03-04 20:20:19 +00:00
nonconst.dart Analyze code snippets in flutter_test docs (#132246) 2023-08-10 17:18:12 +00:00
platform.dart Fix skwasm tests (#145570) 2024-04-09 19:35:07 +00:00
recording_canvas.dart Add disposal mechanism for created Layers to TestRecordingPaintingContext. (#134768) 2023-09-16 19:50:23 +00:00
restoration.dart add some exports of public API in foundation/serialization.dart (#104231) 2022-06-08 13:33:12 -07:00
stack_manipulation.dart Remove unnecessary null checks in flutter_test (#118865) 2023-01-20 22:01:13 +00:00
test_async_utils.dart Analyze code snippets in flutter_test docs (#132246) 2023-08-10 17:18:12 +00:00
test_compat.dart cleanup now-irrelevant ignores for deprecated_member_use (#143403) 2024-02-14 21:08:25 +00:00
test_default_binary_messenger.dart switch statement cleanup (#148382) 2024-05-16 17:16:06 -07:00
test_exception_reporter.dart Switch imports from test_api to focused libaries (#125854) 2023-05-04 08:01:12 +00:00
test_pointer.dart fixes to anticipate next Dart linter release (#127211) 2023-05-19 21:27:24 +00:00
test_text_input_key_handler.dart Refactoring if chains into switch statements (#144905) 2024-03-11 23:04:57 +00:00
test_text_input.dart Deprecate these old APIs (#116793) 2023-04-06 19:53:50 +00:00
test_vsync.dart
tree_traversal.dart Fixed a lot of typos (#141431) 2024-01-12 22:10:25 +00:00
web.dart flutter test --wasm support (#145347) 2024-03-21 20:08:07 +00:00
widget_tester.dart SelectionArea's selection should not be cleared on loss of window focus (#148067) 2024-05-20 23:45:08 +00:00
window.dart Factor out RawView, make View listen to engine generated view focus events (#143259) 2024-05-20 17:17:55 +00:00