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
bad5df55
Unverified
Commit
bad5df55
authored
Feb 02, 2021
by
Jonah Williams
Committed by
GitHub
Feb 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_tools] remove MockFeatureFlags (#75259)
parent
ada04e6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
plugins_test.dart
packages/flutter_tools/test/general.shard/plugins_test.dart
+3
-5
No files found.
packages/flutter_tools/test/general.shard/plugins_test.dart
View file @
bad5df55
...
...
@@ -26,6 +26,7 @@ import 'package:yaml/yaml.dart';
import
'../src/common.dart'
;
import
'../src/context.dart'
;
import
'../src/pubspec_schema.dart'
;
import
'../src/testbed.dart'
;
void
main
(
)
{
group
(
'plugins'
,
()
{
...
...
@@ -1167,12 +1168,10 @@ flutter:
});
group
(
'createPluginSymlinks'
,
()
{
Mock
FeatureFlags
featureFlags
;
FeatureFlags
featureFlags
;
setUp
(()
{
featureFlags
=
MockFeatureFlags
();
when
(
featureFlags
.
isLinuxEnabled
).
thenReturn
(
true
);
when
(
featureFlags
.
isWindowsEnabled
).
thenReturn
(
true
);
featureFlags
=
TestFeatureFlags
(
isLinuxEnabled:
true
,
isWindowsEnabled:
true
);
});
testUsingContext
(
'Symlinks are created for Linux plugins'
,
()
async
{
...
...
@@ -1397,7 +1396,6 @@ flutter:
}
class
MockAndroidProject
extends
Mock
implements
AndroidProject
{}
class
MockFeatureFlags
extends
Mock
implements
FeatureFlags
{}
class
MockFlutterProject
extends
Mock
implements
FlutterProject
{}
class
MockIosProject
extends
Mock
implements
IosProject
{}
class
MockMacOSProject
extends
Mock
implements
MacOSProject
{}
...
...
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