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
4df8fdb7
Unverified
Commit
4df8fdb7
authored
Feb 23, 2020
by
Dan Field
Committed by
GitHub
Feb 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update cache for flutter test/fast command (#51235)
parent
c4345d2a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
13 deletions
+2
-13
test.dart
packages/flutter_tools/lib/src/commands/test.dart
+1
-1
flutter_command.dart
packages/flutter_tools/lib/src/runner/flutter_command.dart
+0
-12
test_test.dart
...flutter_tools/test/commands.shard/hermetic/test_test.dart
+1
-0
No files found.
packages/flutter_tools/lib/src/commands/test.dart
View file @
4df8fdb7
...
...
@@ -23,7 +23,7 @@ import '../test/runner.dart';
import
'../test/test_wrapper.dart'
;
import
'../test/watcher.dart'
;
class
TestCommand
extends
F
astF
lutterCommand
{
class
TestCommand
extends
FlutterCommand
{
TestCommand
({
bool
verboseHelp
=
false
,
this
.
testWrapper
=
const
TestWrapper
(),
...
...
packages/flutter_tools/lib/src/runner/flutter_command.dart
View file @
4df8fdb7
...
...
@@ -881,15 +881,3 @@ DevelopmentArtifact _artifactFromTargetPlatform(TargetPlatform targetPlatform) {
}
return
null
;
}
/// A command which runs less analytics and checks to speed up startup time.
abstract
class
FastFlutterCommand
extends
FlutterCommand
{
@override
Future
<
void
>
run
()
{
return
context
.
run
<
void
>(
name:
'command'
,
overrides:
<
Type
,
Generator
>{
FlutterCommand:
()
=>
this
},
body:
runCommand
,
);
}
}
packages/flutter_tools/test/commands.shard/hermetic/test_test.dart
View file @
4df8fdb7
...
...
@@ -27,6 +27,7 @@ void main() {
setUp
(()
{
fs
=
MemoryFileSystem
();
fs
.
file
(
'pubspec.yaml'
).
createSync
();
fs
.
file
(
'.packages'
).
createSync
();
fs
.
directory
(
'test'
).
childFile
(
'some_test.dart'
).
createSync
(
recursive:
true
);
});
...
...
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