Unverified Commit a4916978 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tool] Ensure dependency constraint for templates created with a driver test are correct

parent 69728097
...@@ -35,7 +35,7 @@ dev_dependencies: ...@@ -35,7 +35,7 @@ dev_dependencies:
{{#withDriverTest}} {{#withDriverTest}}
flutter_driver: flutter_driver:
sdk: flutter sdk: flutter
test: 1.6.2 test: 1.9.4
{{/withDriverTest}} {{/withDriverTest}}
{{#withPluginHook}} {{#withPluginHook}}
......
...@@ -406,7 +406,7 @@ void main() { ...@@ -406,7 +406,7 @@ void main() {
); );
}, overrides: <Type, Generator>{ }, overrides: <Type, Generator>{
Pub: () => const Pub(), Pub: () => const Pub(),
}, skip: true); // https://github.com/flutter/flutter/issues/46142 });
testUsingContext('module project with pub', () async { testUsingContext('module project with pub', () async {
return _createProject(projectDir, <String>[ return _createProject(projectDir, <String>[
...@@ -416,8 +416,6 @@ void main() { ...@@ -416,8 +416,6 @@ void main() {
'.android/Flutter/build.gradle', '.android/Flutter/build.gradle',
'.android/Flutter/flutter.iml', '.android/Flutter/flutter.iml',
'.android/Flutter/src/main/AndroidManifest.xml', '.android/Flutter/src/main/AndroidManifest.xml',
'.android/Flutter/src/main/java/io/flutter/facade/Flutter.java',
'.android/Flutter/src/main/java/io/flutter/facade/FlutterFragment.java',
'.android/Flutter/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java', '.android/Flutter/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java',
'.android/gradle.properties', '.android/gradle.properties',
'.android/gradle/wrapper/gradle-wrapper.jar', '.android/gradle/wrapper/gradle-wrapper.jar',
...@@ -438,10 +436,12 @@ void main() { ...@@ -438,10 +436,12 @@ void main() {
], unexpectedPaths: <String>[ ], unexpectedPaths: <String>[
'android/', 'android/',
'ios/', 'ios/',
'.android/Flutter/src/main/java/io/flutter/facade/FlutterFragment.java',
'.android/Flutter/src/main/java/io/flutter/facade/Flutter.java',
]); ]);
}, overrides: <Type, Generator>{ }, overrides: <Type, Generator>{
Pub: () => const Pub(), Pub: () => const Pub(),
}, skip: true); // https://github.com/flutter/flutter/issues/46142 });
testUsingContext('androidx is used by default in an app project', () async { testUsingContext('androidx is used by default in an app project', () async {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment