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
ad72c783
Commit
ad72c783
authored
Oct 16, 2017
by
P.Y. Laligand
Committed by
GitHub
Oct 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix testing on Fuchsia. (#12563)
parent
fea11299
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
fuchsia_builder.dart
packages/flutter_tools/bin/fuchsia_builder.dart
+2
-1
fuchsia_tester.dart
packages/flutter_tools/bin/fuchsia_tester.dart
+3
-1
No files found.
packages/flutter_tools/bin/fuchsia_builder.dart
View file @
ad72c783
...
...
@@ -44,16 +44,17 @@ Future<Null> main(List<String> args) async {
executableContext
.
setVariable
(
Logger
,
new
StdoutLogger
());
await
executableContext
.
runInZone
(()
{
// Initialize the context with some defaults.
// This list must be kept in sync with lib/executable.dart.
context
.
putIfAbsent
(
Stdio
,
()
=>
const
Stdio
());
context
.
putIfAbsent
(
Platform
,
()
=>
const
LocalPlatform
());
context
.
putIfAbsent
(
FileSystem
,
()
=>
const
LocalFileSystem
());
context
.
putIfAbsent
(
ProcessManager
,
()
=>
const
LocalProcessManager
());
context
.
putIfAbsent
(
AnsiTerminal
,
()
=>
new
AnsiTerminal
());
context
.
putIfAbsent
(
Logger
,
()
=>
new
StdoutLogger
());
context
.
putIfAbsent
(
Cache
,
()
=>
new
Cache
());
context
.
putIfAbsent
(
Config
,
()
=>
new
Config
());
context
.
putIfAbsent
(
OperatingSystemUtils
,
()
=>
new
OperatingSystemUtils
());
context
.
putIfAbsent
(
Usage
,
()
=>
new
Usage
());
context
.
putIfAbsent
(
AnsiTerminal
,
()
=>
new
AnsiTerminal
());
return
run
(
args
);
});
}
...
...
packages/flutter_tools/bin/fuchsia_tester.dart
View file @
ad72c783
...
...
@@ -40,15 +40,17 @@ Future<Null> main(List<String> args) async {
executableContext
.
setVariable
(
Logger
,
new
StdoutLogger
());
await
executableContext
.
runInZone
(()
{
// Initialize the context with some defaults.
// This list must be kept in sync with lib/executable.dart.
context
.
putIfAbsent
(
Stdio
,
()
=>
const
Stdio
());
context
.
putIfAbsent
(
Platform
,
()
=>
const
LocalPlatform
());
context
.
putIfAbsent
(
FileSystem
,
()
=>
const
LocalFileSystem
());
context
.
putIfAbsent
(
ProcessManager
,
()
=>
const
LocalProcessManager
());
context
.
putIfAbsent
(
AnsiTerminal
,
()
=>
new
AnsiTerminal
());
context
.
putIfAbsent
(
Logger
,
()
=>
new
StdoutLogger
());
context
.
putIfAbsent
(
Cache
,
()
=>
new
Cache
());
context
.
putIfAbsent
(
Config
,
()
=>
new
Config
());
context
.
putIfAbsent
(
OperatingSystemUtils
,
()
=>
new
OperatingSystemUtils
());
context
.
putIfAbsent
(
Usage
,
()
=>
new
Usage
());
context
.
putIfAbsent
(
AnsiTerminal
,
()
=>
new
AnsiTerminal
());
return
run
(
args
);
});
}
...
...
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