Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
a4916978
Unverified
Commit
a4916978
authored
Dec 10, 2019
by
Jonah Williams
Committed by
GitHub
Dec 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_tool] Ensure dependency constraint for templates created with a driver test are correct
parent
69728097
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
pubspec.yaml.tmpl
packages/flutter_tools/templates/app/pubspec.yaml.tmpl
+1
-1
create_test.dart
...tter_tools/test/commands.shard/permeable/create_test.dart
+4
-4
No files found.
packages/flutter_tools/templates/app/pubspec.yaml.tmpl
View file @
a4916978
...
...
@@ -35,7 +35,7 @@ dev_dependencies:
{{#withDriverTest}}
flutter_driver:
sdk: flutter
test: 1.
6.2
test: 1.
9.4
{{/withDriverTest}}
{{#withPluginHook}}
...
...
packages/flutter_tools/test/commands.shard/permeable/create_test.dart
View file @
a4916978
...
...
@@ -406,7 +406,7 @@ void main() {
);
},
overrides:
<
Type
,
Generator
>{
Pub:
()
=>
const
Pub
(),
}
,
skip:
true
);
// https://github.com/flutter/flutter/issues/46142
}
);
testUsingContext
(
'module project with pub'
,
()
async
{
return
_createProject
(
projectDir
,
<
String
>[
...
...
@@ -416,8 +416,6 @@ void main() {
'.android/Flutter/build.gradle'
,
'.android/Flutter/flutter.iml'
,
'.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/gradle.properties'
,
'.android/gradle/wrapper/gradle-wrapper.jar'
,
...
...
@@ -438,10 +436,12 @@ void main() {
],
unexpectedPaths:
<
String
>[
'android/'
,
'ios/'
,
'.android/Flutter/src/main/java/io/flutter/facade/FlutterFragment.java'
,
'.android/Flutter/src/main/java/io/flutter/facade/Flutter.java'
,
]);
},
overrides:
<
Type
,
Generator
>{
Pub:
()
=>
const
Pub
(),
}
,
skip:
true
);
// https://github.com/flutter/flutter/issues/46142
}
);
testUsingContext
(
'androidx is used by default in an app project'
,
()
async
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment