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
f255390f
Unverified
Commit
f255390f
authored
Nov 17, 2022
by
Sam Rawlins
Committed by
GitHub
Nov 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant arguments passed to redirecting factory constructors (#115497)
parent
26a990f6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
test_compiler.dart
packages/flutter_tools/lib/src/test/test_compiler.dart
+0
-1
logger_test.dart
...es/flutter_tools/test/general.shard/base/logger_test.dart
+1
-1
cache_test.dart
...ages/flutter_tools/test/integration.shard/cache_test.dart
+2
-2
No files found.
packages/flutter_tools/lib/src/test/test_compiler.dart
View file @
f255390f
...
@@ -116,7 +116,6 @@ class TestCompiler {
...
@@ -116,7 +116,6 @@ class TestCompiler {
buildMode:
buildInfo
.
mode
,
buildMode:
buildInfo
.
mode
,
trackWidgetCreation:
buildInfo
.
trackWidgetCreation
,
trackWidgetCreation:
buildInfo
.
trackWidgetCreation
,
initializeFromDill:
testFilePath
,
initializeFromDill:
testFilePath
,
unsafePackageSerialization:
false
,
dartDefines:
buildInfo
.
dartDefines
,
dartDefines:
buildInfo
.
dartDefines
,
packagesPath:
buildInfo
.
packagesPath
,
packagesPath:
buildInfo
.
packagesPath
,
extraFrontEndOptions:
buildInfo
.
extraFrontEndOptions
,
extraFrontEndOptions:
buildInfo
.
extraFrontEndOptions
,
...
...
packages/flutter_tools/test/general.shard/base/logger_test.dart
View file @
f255390f
...
@@ -87,7 +87,7 @@ void main() {
...
@@ -87,7 +87,7 @@ void main() {
final
WindowsStdoutLogger
logger
=
WindowsStdoutLogger
(
final
WindowsStdoutLogger
logger
=
WindowsStdoutLogger
(
outputPreferences:
OutputPreferences
.
test
(),
outputPreferences:
OutputPreferences
.
test
(),
stdio:
stdio
,
stdio:
stdio
,
terminal:
Terminal
.
test
(
supportsColor:
false
,
supportsEmoji:
false
),
terminal:
Terminal
.
test
(),
);
);
logger
.
printStatus
(
'🔥🖼️✗✓🔨💪✏️'
);
logger
.
printStatus
(
'🔥🖼️✗✓🔨💪✏️'
);
...
...
packages/flutter_tools/test/integration.shard/cache_test.dart
View file @
f255390f
...
@@ -33,7 +33,7 @@ void main() {
...
@@ -33,7 +33,7 @@ void main() {
final
String
?
oldRoot
=
Cache
.
flutterRoot
;
final
String
?
oldRoot
=
Cache
.
flutterRoot
;
final
Directory
tempDir
=
fileSystem
.
systemTempDirectory
.
createTempSync
(
'cache_test.'
);
final
Directory
tempDir
=
fileSystem
.
systemTempDirectory
.
createTempSync
(
'cache_test.'
);
final
BufferLogger
logger
=
BufferLogger
(
final
BufferLogger
logger
=
BufferLogger
(
terminal:
Terminal
.
test
(
supportsColor:
false
,
supportsEmoji:
false
),
terminal:
Terminal
.
test
(),
outputPreferences:
OutputPreferences
(),
outputPreferences:
OutputPreferences
(),
);
);
logger
.
fatalWarnings
=
true
;
logger
.
fatalWarnings
=
true
;
...
@@ -114,7 +114,7 @@ Future<void> main(List<String> args) async {
...
@@ -114,7 +114,7 @@ Future<void> main(List<String> args) async {
final
String
?
oldRoot
=
Cache
.
flutterRoot
;
final
String
?
oldRoot
=
Cache
.
flutterRoot
;
final
Directory
tempDir
=
fileSystem
.
systemTempDirectory
.
createTempSync
(
'cache_test.'
);
final
Directory
tempDir
=
fileSystem
.
systemTempDirectory
.
createTempSync
(
'cache_test.'
);
final
BufferLogger
logger
=
BufferLogger
(
final
BufferLogger
logger
=
BufferLogger
(
terminal:
Terminal
.
test
(
supportsColor:
false
,
supportsEmoji:
false
),
terminal:
Terminal
.
test
(),
outputPreferences:
OutputPreferences
(),
outputPreferences:
OutputPreferences
(),
);
);
logger
.
fatalWarnings
=
true
;
logger
.
fatalWarnings
=
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