Fix RangeMaintainingScrollPhysics (#65135)

This commit is contained in:
Ian Hickson
2020-09-07 11:40:03 -07:00
committed by GitHub
parent 4732a214a7
commit e10bdbbd9d
11 changed files with 507 additions and 38 deletions

View File

@@ -53,19 +53,19 @@ void main() {
return _testFile('trivial', missingDependencyTests, missingDependencyTests);
});
testUsingContext('flutter test should report which user created widget caused the error', () async {
testUsingContext('flutter test should report which user-created widget caused the error', () async {
Cache.flutterRoot = '../..';
return _testFile('print_user_created_ancestor', automatedTestsDirectory, flutterTestDirectory,
extraArguments: const <String>['--track-widget-creation']);
});
testUsingContext('flutter test should report which user created widget caused the error - no flag', () async {
testUsingContext('flutter test should report which user-created widget caused the error - no flag', () async {
Cache.flutterRoot = '../..';
return _testFile('print_user_created_ancestor_no_flag', automatedTestsDirectory, flutterTestDirectory,
extraArguments: const <String>['--no-track-widget-creation']);
});
testUsingContext('flutter test should report correct created widget caused the error', () async {
testUsingContext('flutter test should report the correct user-created widget that caused the error', () async {
Cache.flutterRoot = '../..';
return _testFile('print_correct_local_widget', automatedTestsDirectory, flutterTestDirectory,
extraArguments: const <String>['--track-widget-creation']);