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
fb5abe45
Unverified
Commit
fb5abe45
authored
Aug 29, 2023
by
Polina Cherkasova
Committed by
GitHub
Aug 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cover more tests with leak tracking. (#133596)
parent
fc06fe6a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
about_test.dart
packages/flutter/test/material/about_test.dart
+6
-6
No files found.
packages/flutter/test/material/about_test.dart
View file @
fb5abe45
...
...
@@ -57,7 +57,7 @@ void main() {
expect
(
find
.
text
(
'View licenses'
),
findsOneWidget
);
});
testWidgets
(
'Material2 - AboutListTile control test'
,
(
WidgetTester
tester
)
async
{
testWidgets
WithLeakTracking
(
'Material2 - AboutListTile control test'
,
(
WidgetTester
tester
)
async
{
const
FlutterLogo
logo
=
FlutterLogo
();
await
tester
.
pumpWidget
(
...
...
@@ -140,7 +140,7 @@ void main() {
expect
(
find
.
text
(
'Pirate license'
),
findsOneWidget
);
});
testWidgets
(
'Material3 - AboutListTile control test'
,
(
WidgetTester
tester
)
async
{
testWidgets
WithLeakTracking
(
'Material3 - AboutListTile control test'
,
(
WidgetTester
tester
)
async
{
const
FlutterLogo
logo
=
FlutterLogo
();
await
tester
.
pumpWidget
(
...
...
@@ -732,7 +732,7 @@ void main() {
rootObserver
=
AboutDialogObserver
();
});
testWidgets
(
'Barrier is dismissible with default parameter'
,
(
WidgetTester
tester
)
async
{
testWidgets
WithLeakTracking
(
'Barrier is dismissible with default parameter'
,
(
WidgetTester
tester
)
async
{
await
tester
.
pumpWidget
(
MaterialApp
(
navigatorObservers:
<
NavigatorObserver
>[
rootObserver
],
...
...
@@ -764,7 +764,7 @@ void main() {
expect
(
rootObserver
.
dialogCount
,
0
);
});
testWidgets
(
'Barrier is not dismissible with barrierDismissible is false'
,
(
WidgetTester
tester
)
async
{
testWidgets
WithLeakTracking
(
'Barrier is not dismissible with barrierDismissible is false'
,
(
WidgetTester
tester
)
async
{
await
tester
.
pumpWidget
(
MaterialApp
(
navigatorObservers:
<
NavigatorObserver
>[
rootObserver
],
...
...
@@ -798,7 +798,7 @@ void main() {
});
});
testWidgets
(
'Barrier color'
,
(
WidgetTester
tester
)
async
{
testWidgets
WithLeakTracking
(
'Barrier color'
,
(
WidgetTester
tester
)
async
{
await
tester
.
pumpWidget
(
MaterialApp
(
home:
Material
(
...
...
@@ -852,7 +852,7 @@ void main() {
expect
(
tester
.
widget
<
ModalBarrier
>(
find
.
byType
(
ModalBarrier
).
last
).
color
,
Colors
.
pink
);
});
testWidgets
(
'Barrier Label'
,
(
WidgetTester
tester
)
async
{
testWidgets
WithLeakTracking
(
'Barrier Label'
,
(
WidgetTester
tester
)
async
{
await
tester
.
pumpWidget
(
MaterialApp
(
home:
Material
(
...
...
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