flutter/packages/flutter_tools/test
Danny Tuppeny 1363bd1795
Ensure timeouts in flutter_tools integration tests include all messages received (#19253)
* Allow a longer timeout for app launches

* Include timings in errors when waiting for events

* Extract a helper that adds a timeout and includes message logging

* Ensure all timeouts include messages

* Ensure logs are set up before we invoke actions

* Ensure all messages are logged during timeout periods

This adds a new stream _allMessages that collects all output (as routed through debugPrint) and updates _timeoutWithMessages to use that instead of stdin/out of only the flutter run process (since that was missing stdin - the sends, and both input/output to the VM service).
2018-07-12 18:17:33 +01:00
..
android make tests in xcodeproj_test.dart and gradle_test.dart hermetic (#18093) (#18548) 2018-07-09 10:36:17 -07:00
base Remove race conditions involving finding available ports (#18698) 2018-06-27 16:44:28 -07:00
commands Revert "Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart roll) again (#19277)" (#19295) 2018-07-11 19:52:28 -07:00
dart Revert elimination of Dart 1 (#18460) 2018-06-13 12:46:39 -07:00
data Change doctor to point at Flutter extension (#17987) 2018-05-29 17:11:34 +01:00
integration Ensure timeouts in flutter_tools integration tests include all messages received (#19253) 2018-07-12 18:17:33 +01:00
intellij Make IntelliJPlugins tests use MemoryFileSystem. (#16341) 2018-04-08 09:46:11 -07:00
ios Push /usr/bin to front of PATH for ios-deploy runs (#19281) 2018-07-11 17:33:06 -07:00
runner Bump mockito to 3.0.0-beta (#18462) 2018-06-21 16:23:47 -07:00
src Revert "Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart roll) again (#19277)" (#19295) 2018-07-11 19:52:28 -07:00
tester Revert matcher package (#18614) 2018-06-19 17:22:56 -07:00
analytics_test.dart Bump mockito to 3.0.0-beta (#18462) 2018-06-21 16:23:47 -07:00
application_package_test.dart Support running apk with more than one activity (#18716) 2018-06-25 13:38:08 +02:00
artifacts_test.dart Pass entry points JSON files to front-end server, take 2 (#15227) 2018-03-06 18:45:45 -08:00
asset_bundle_package_fonts_test.dart Always add a DevFS asset entry for the font manifest (#16650) 2018-04-16 21:48:21 -07:00
asset_bundle_package_test.dart Scan assets from disk (#16413) 2018-05-20 17:52:33 -07:00
asset_bundle_test.dart Use Dart 2 camel case constants (#15360) 2018-03-12 11:06:32 -07:00
asset_bundle_variant_test.dart Use Dart 2 camel case constants (#15360) 2018-03-12 11:06:32 -07:00
asset_test.dart some whitespace cleanup (#14443) 2018-02-02 23:27:29 +01:00
base_utils_test.dart Declare locals final where not reassigned (flutter_tools) (#8570) 2017-03-03 17:50:46 -08:00
bug_report_test.dart Update dependencies (#16442) 2018-04-10 14:27:53 -07:00
cache_test.dart enable lint prefer_equal_for_default_values (#18156) 2018-06-05 08:50:40 +02:00
channel_test.dart Migrate to Mockito 3's anyNamed (#17632) 2018-05-16 10:19:05 -07:00
compile_test.dart Serialize expression compilation requests (#18618) 2018-06-21 11:13:21 -07:00
config_test.dart pass the value of the android sdk (#11268) 2017-07-18 18:47:20 -07:00
crash_reporting_test.dart make crash server URL customizable from environment (#18649) 2018-06-20 15:43:43 -07:00
dart_dependencies_test.dart some whitespace cleanup (#14443) 2018-02-02 23:27:29 +01:00
dependency_checker_test.dart some whitespace cleanup (#14443) 2018-02-02 23:27:29 +01:00
devfs_test.dart Revert elimination of Dart 1 (#18460) 2018-06-13 12:46:39 -07:00
device_test.dart Switch many Device methods to be async (#9587) 2017-04-25 17:23:00 -07:00
emulator_test.dart Add --create option to flutter emulators command (#18235) 2018-06-28 08:07:40 +01:00
flutter_manifest_test.dart add version to pubspec.yaml (#16857) 2018-05-30 07:51:25 -07:00
forbidden_imports_test.dart enable lint avoid_function_literals_in_foreach_calls (#12607) 2017-10-19 08:16:16 +02:00
hot_test.dart Adding a setup function for hot restart (#18921) 2018-07-06 15:18:57 -07:00
project_test.dart Add iOS module template (#18830) (#18903) 2018-06-28 14:35:00 +02:00
protocol_discovery_test.dart Remove race conditions involving finding available ports (#18698) 2018-06-27 16:44:28 -07:00
resident_runner_test.dart Revert elimination of Dart 1 (#18460) 2018-06-13 12:46:39 -07:00
stop_test.dart Change async stubbing to use thenAnswer. (#13521) 2017-12-19 13:13:57 -08:00
trace_test.dart Declare locals final where not reassigned (flutter_tools) (#8570) 2017-03-03 17:50:46 -08:00
utils_test.dart perform the initial poll for devices quicker (#11356) 2017-08-01 15:29:54 -07:00
version_test.dart Revert "Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart roll) again (#19277)" (#19295) 2018-07-11 19:52:28 -07:00
vmservice_test.dart Remove race conditions involving finding available ports (#18698) 2018-06-27 16:44:28 -07:00