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
26a17a4c
Unverified
Commit
26a17a4c
authored
Jul 13, 2023
by
Polina Cherkasova
Committed by
GitHub
Jul 13, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade leak_tracker. (#130528)
parent
7abdb866
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
pubspec.yaml
packages/flutter/pubspec.yaml
+3
-3
flutter_test_config.dart
packages/flutter/test/flutter_test_config.dart
+1
-1
leak_tracking.dart
packages/flutter/test/foundation/leak_tracking.dart
+1
-1
No files found.
packages/flutter/pubspec.yaml
View file @
26a17a4c
...
...
@@ -22,8 +22,8 @@ dev_dependencies:
flutter_goldens
:
sdk
:
flutter
fake_async
:
1.3.1
leak_tracker
:
7.0.8
leak_tracker_testing
:
1.0.
0
leak_tracker
:
8.0.0
leak_tracker_testing
:
1.0.
2
_fe_analyzer_shared
:
62.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
analyzer
:
6.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -74,4 +74,4 @@ dev_dependencies:
webkit_inspection_protocol
:
1.2.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml
:
3.1.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
# PUBSPEC CHECKSUM:
5af4
# PUBSPEC CHECKSUM:
c3ef
packages/flutter/test/flutter_test_config.dart
View file @
26a17a4c
...
...
@@ -23,7 +23,7 @@ Future<void> testExecutable(FutureOr<void> Function() testMain) {
// receive the event.
WidgetController
.
hitTestWarningShouldBeFatal
=
true
;
LeakTrack
ingTestConfig
.
warnForNonSupportedPlatforms
=
false
;
LeakTrack
erGlobalSettings
.
warnForNonSupportedPlatforms
=
false
;
// Enable golden file testing using Skia Gold.
return
flutter_goldens
.
testExecutable
(
testMain
);
...
...
packages/flutter/test/foundation/leak_tracking.dart
View file @
26a17a4c
...
...
@@ -99,7 +99,7 @@ Future<void> _withFlutterLeakTracking(
)
async
{
// Leak tracker does not work for web platform.
if
(
kIsWeb
)
{
final
bool
shouldPrintWarning
=
!
_webWarningPrinted
&&
LeakTrack
ingTestConfig
.
warnForNonSupportedPlatforms
;
final
bool
shouldPrintWarning
=
!
_webWarningPrinted
&&
LeakTrack
erGlobalSettings
.
warnForNonSupportedPlatforms
;
if
(
shouldPrintWarning
)
{
_webWarningPrinted
=
true
;
debugPrint
(
'Leak tracking is not supported on web platform.
\n
To turn off this message, set `LeakTrackingTestConfig.warnForNonSupportedPlatforms` to false.'
);
...
...
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