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
587b6223
Unverified
Commit
587b6223
authored
Apr 01, 2020
by
Lau Ching Jun
Committed by
GitHub
Apr 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fuchsia device is ephemeral. (#53717)
parent
7e97ca60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
fuchsia_device.dart
packages/flutter_tools/lib/src/fuchsia/fuchsia_device.dart
+1
-1
fuchsia_device_test.dart
...tools/test/general.shard/fuchsia/fuchsia_device_test.dart
+5
-0
No files found.
packages/flutter_tools/lib/src/fuchsia/fuchsia_device.dart
View file @
587b6223
...
...
@@ -190,7 +190,7 @@ class FuchsiaDevice extends Device {
id
,
platformType:
PlatformType
.
fuchsia
,
category:
null
,
ephemeral:
fals
e
,
ephemeral:
tru
e
,
);
@override
...
...
packages/flutter_tools/test/general.shard/fuchsia/fuchsia_device_test.dart
View file @
587b6223
...
...
@@ -97,6 +97,11 @@ void main() {
ProcessManager:
()
=>
FakeProcessManager
.
any
(),
});
test
(
'is ephemeral'
,
()
{
final
FuchsiaDevice
device
=
FuchsiaDevice
(
'123'
);
expect
(
device
.
ephemeral
,
true
);
});
testUsingContext
(
'supported for project'
,
()
async
{
final
FuchsiaDevice
device
=
FuchsiaDevice
(
'123'
);
globals
.
fs
.
directory
(
'fuchsia'
).
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