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
fad5e4cf
Unverified
Commit
fad5e4cf
authored
Sep 13, 2021
by
Jason Simmons
Committed by
GitHub
Sep 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove a redundant test case in the flutter_tools create_test (#89872)
parent
738430ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
create_test.dart
...tter_tools/test/commands.shard/permeable/create_test.dart
+0
-25
No files found.
packages/flutter_tools/test/commands.shard/permeable/create_test.dart
View file @
fad5e4cf
...
...
@@ -1733,31 +1733,6 @@ void main() {
},
);
testUsingContext
(
'invokes pub online when offline not requested'
,
()
async
{
Cache
.
flutterRoot
=
'../..'
;
final
CreateCommand
command
=
CreateCommand
();
final
CommandRunner
<
void
>
runner
=
createTestCommandRunner
(
command
);
await
runner
.
run
(<
String
>[
'create'
,
'--pub'
,
projectDir
.
path
]);
expect
(
loggingProcessManager
.
commands
.
first
,
contains
(
matches
(
r'dart-sdk[\\/]bin[\\/]dart'
)));
expect
(
loggingProcessManager
.
commands
.
first
,
isNot
(
contains
(
'--offline'
)));
},
overrides:
<
Type
,
Generator
>{
ProcessManager:
()
=>
loggingProcessManager
,
Pub:
()
=>
Pub
(
fileSystem:
globals
.
fs
,
logger:
globals
.
logger
,
processManager:
globals
.
processManager
,
usage:
globals
.
flutterUsage
,
botDetector:
globals
.
botDetector
,
platform:
globals
.
platform
,
),
},
);
testUsingContext
(
'can create a sample-based project'
,
()
async
{
await
_createAndAnalyzeProject
(
projectDir
,
...
...
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