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
7875c803
Unverified
Commit
7875c803
authored
Sep 09, 2022
by
Christopher Fujino
Committed by
GitHub
Sep 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_tools] add test debugging for #111272 (#111280)
parent
a1dbd0cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
create_test.dart
...tter_tools/test/commands.shard/permeable/create_test.dart
+10
-5
No files found.
packages/flutter_tools/test/commands.shard/permeable/create_test.dart
View file @
7875c803
...
@@ -3120,11 +3120,16 @@ Future<void> _analyzeProject(String workingDir, { List<String> expectedFailures
...
@@ -3120,11 +3120,16 @@ Future<void> _analyzeProject(String workingDir, { List<String> expectedFailures
}
}
expect
(
exec
.
exitCode
,
isNot
(
0
));
expect
(
exec
.
exitCode
,
isNot
(
0
));
String
lineParser
(
String
line
)
{
String
lineParser
(
String
line
)
{
try
{
final
String
analyzerSeparator
=
globals
.
platform
.
isWindows
?
' - '
:
' • '
;
final
String
analyzerSeparator
=
globals
.
platform
.
isWindows
?
' - '
:
' • '
;
final
List
<
String
>
lineComponents
=
line
.
trim
().
split
(
analyzerSeparator
);
final
List
<
String
>
lineComponents
=
line
.
trim
().
split
(
analyzerSeparator
);
final
String
lintName
=
lineComponents
.
removeLast
();
final
String
lintName
=
lineComponents
.
removeLast
();
final
String
location
=
lineComponents
.
removeLast
();
final
String
location
=
lineComponents
.
removeLast
();
return
'
$location
:
$lintName
'
;
return
'
$location
:
$lintName
'
;
// Add debugging for https://github.com/flutter/flutter/issues/111272
}
on
RangeError
catch
(
err
)
{
fail
(
'Received "
$err
" while trying to parse:
\n\n
$line
'
);
}
}
}
final
List
<
String
>
errors
=
const
LineSplitter
().
convert
(
exec
.
stdout
.
toString
())
final
List
<
String
>
errors
=
const
LineSplitter
().
convert
(
exec
.
stdout
.
toString
())
.
where
((
String
line
)
{
.
where
((
String
line
)
{
...
...
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