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
7ea164ec
Unverified
Commit
7ea164ec
authored
Jul 27, 2018
by
Todd Volkert
Committed by
GitHub
Jul 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More dart 2 fixes to fuchsia_tester.dart (#19846)
parent
730a534f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
fuchsia_tester.dart
packages/flutter_tools/bin/fuchsia_tester.dart
+4
-3
No files found.
packages/flutter_tools/bin/fuchsia_tester.dart
View file @
7ea164ec
...
...
@@ -38,12 +38,13 @@ void main(List<String> args) {
});
}
Iterable
<
String
>
_findTests
(
Directory
directory
)
{
List
<
String
>
_findTests
(
Directory
directory
)
{
return
directory
.
listSync
(
recursive:
true
,
followLinks:
false
)
.
where
((
FileSystemEntity
entity
)
=>
entity
.
path
.
endsWith
(
'_test.dart'
)
&&
fs
.
isFileSync
(
entity
.
path
))
.
map
((
FileSystemEntity
entity
)
=>
fs
.
path
.
absolute
(
entity
.
path
));
.
map
((
FileSystemEntity
entity
)
=>
fs
.
path
.
absolute
(
entity
.
path
))
.
toList
();
}
Future
<
Null
>
run
(
List
<
String
>
args
)
async
{
...
...
@@ -71,7 +72,7 @@ Future<Null> run(List<String> args) async {
Cache
.
flutterRoot
=
tempDirectory
.
path
;
final
Directory
testDirectory
=
fs
.
directory
(
argResults
[
_kOptionTestDirectory
]);
final
Iterable
<
String
>
tests
=
_findTests
(
testDirectory
);
final
List
<
String
>
tests
=
_findTests
(
testDirectory
);
final
List
<
String
>
testArgs
=
<
String
>[];
testArgs
.
add
(
'--'
);
...
...
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