flutter/dev/automated_tests/test_smoke_test
James D. Lin b2f8d3a668
Instrument pending timers in tests (#37646)
Flutter widget tests assert if a test completes with timers still
pending.  However, it can be hard to diagnose where a pending timer
came from.  For example, a widget might consume a third-party library
that internally uses a timer.

I added a FakeAsync.pendingTimersDebugInfo getter to quiver
(https://github.com/google/quiver-dart/pull/500).  Make flutter_test
use it.

Additionally modify Flutter's debugPrintStack to take an optional
StackTrace argument instead of always printing StackTrace.current.

Fixes #4237.
2019-08-20 10:28:49 -07:00
..
crash1_test.dart Remove uses of deprecated constants and change int.parse to int.tryParse (#19575) 2018-07-20 15:07:24 -07:00
crash2_test.dart Remove uses of deprecated constants and change int.parse to int.tryParse (#19575) 2018-07-20 15:07:24 -07:00
disallow_error_reporter_modification_test.dart Add support for custom test error reporters (#17727) 2018-05-18 13:58:08 -07:00
fail_test.dart Revert flutter/flutter#19592 (#19861) 2018-07-27 08:44:39 -07:00
missing_import_test.broken_dart Remove deprecated setup.sh and test.sh (#7976) 2017-02-08 13:00:44 -08:00
pass_test.dart Revert flutter/flutter#19592 (#19861) 2018-07-27 08:44:39 -07:00
pending_timer_fail_test.dart Instrument pending timers in tests (#37646) 2019-08-20 10:28:49 -07:00
README.md Remove deprecated setup.sh and test.sh (#7976) 2017-02-08 13:00:44 -08:00
syntax_error_test.broken_dart Remove deprecated setup.sh and test.sh (#7976) 2017-02-08 13:00:44 -08:00
timeout_fail_test.dart More removing of timeouts. (#33932) 2019-06-12 23:12:35 -07:00
timeout_pass_test.dart More removing of timeouts. (#33932) 2019-06-12 23:12:35 -07:00

This directory is used by //flutter/dev/bots/test.dart to verify that flutter test actually correctly fails when a test fails.