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
38d928b1
Unverified
Commit
38d928b1
authored
Jan 29, 2021
by
Jonah Williams
Committed by
GitHub
Jan 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_tools] remove mock from analyze_size_test.dart (#74817)
parent
bf248fad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
analyze_size_test.dart
...tter_tools/test/general.shard/base/analyze_size_test.dart
+3
-6
No files found.
packages/flutter_tools/test/general.shard/base/analyze_size_test.dart
View file @
38d928b1
...
...
@@ -10,7 +10,6 @@ import 'package:flutter_tools/src/base/analyze_size.dart';
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/base/logger.dart'
;
import
'package:flutter_tools/src/reporting/reporting.dart'
;
import
'package:mockito/mockito.dart'
;
import
'../../src/common.dart'
;
...
...
@@ -68,7 +67,7 @@ void main() {
fileSystem:
fileSystem
,
logger:
logger
,
appFilenamePattern:
RegExp
(
r'lib.*app\.so'
),
flutterUsage:
Mock
Usage
(),
flutterUsage:
Test
Usage
(),
);
final
Archive
archive
=
Archive
()
...
...
@@ -145,7 +144,7 @@ void main() {
fileSystem:
fileSystem
,
logger:
logger
,
appFilenamePattern:
RegExp
(
r'lib.*app\.so'
),
flutterUsage:
Mock
Usage
(),
flutterUsage:
Test
Usage
(),
);
final
Archive
archive
=
Archive
()
...
...
@@ -187,7 +186,7 @@ void main() {
fileSystem:
fileSystem
,
logger:
logger
,
appFilenamePattern:
RegExp
(
r'lib.*app\.so'
),
flutterUsage:
Mock
Usage
(),
flutterUsage:
Test
Usage
(),
);
final
Directory
outputDirectory
=
fileSystem
.
directory
(
'example/out/foo.app'
)
...
...
@@ -225,5 +224,3 @@ void main() {
expect
(
result
[
'precompiler-trace'
],
<
String
,
Object
>{});
});
}
class
MockUsage
extends
Mock
implements
Usage
{}
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