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
8693824d
Unverified
Commit
8693824d
authored
Oct 08, 2020
by
Alexandre Ardhuin
Committed by
GitHub
Oct 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the tree (#67668)
parent
e0c0321e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
inherited_theme_test.dart
packages/flutter/test/material/inherited_theme_test.dart
+1
-1
ink_paint_test.dart
packages/flutter/test/material/ink_paint_test.dart
+5
-5
No files found.
packages/flutter/test/material/inherited_theme_test.dart
View file @
8693824d
...
...
@@ -316,7 +316,7 @@ void main() {
BorderSide
dividerBorder
()
{
final
BoxDecoration
decoration
=
tester
.
widget
<
Container
>(
find
.
descendant
(
of:
find
.
byType
(
Divider
),
matching:
find
.
byType
(
Container
)).
first
,
).
decoration
as
BoxDecoration
;
).
decoration
!
as
BoxDecoration
;
return
decoration
.
border
!.
bottom
;
}
...
...
packages/flutter/test/material/ink_paint_test.dart
View file @
8693824d
...
...
@@ -66,7 +66,7 @@ void main() {
await
tester
.
pump
();
// start gesture
await
tester
.
pump
(
const
Duration
(
milliseconds:
200
));
// wait for splash to be well under way
final
RenderBox
box
=
Material
.
of
(
tester
.
element
(
find
.
byType
(
InkWell
)))
as
RenderBox
;
final
RenderBox
box
=
Material
.
of
(
tester
.
element
(
find
.
byType
(
InkWell
)))
!
as
RenderBox
;
expect
(
box
,
paints
...
...
@@ -118,7 +118,7 @@ void main() {
await
tester
.
tapAt
(
tapDownOffset
);
await
tester
.
pump
();
// start gesture
final
RenderBox
box
=
Material
.
of
(
tester
.
element
(
find
.
byType
(
InkWell
)))
as
RenderBox
;
final
RenderBox
box
=
Material
.
of
(
tester
.
element
(
find
.
byType
(
InkWell
)))
!
as
RenderBox
;
bool
offsetsAreClose
(
Offset
a
,
Offset
b
)
=>
(
a
-
b
).
distance
<
1.0
;
bool
radiiAreClose
(
double
a
,
double
b
)
=>
(
a
-
b
).
abs
()
<
1.0
;
...
...
@@ -194,7 +194,7 @@ void main() {
await
tester
.
pump
();
// start gesture
await
tester
.
pump
(
const
Duration
(
milliseconds:
200
));
// wait for splash to be well under way
final
RenderBox
box
=
Material
.
of
(
tester
.
element
(
find
.
byType
(
InkWell
)))
as
RenderBox
;
final
RenderBox
box
=
Material
.
of
(
tester
.
element
(
find
.
byType
(
InkWell
)))
!
as
RenderBox
;
expect
(
box
,
paints
...
...
@@ -326,7 +326,7 @@ void main() {
await
tester
.
sendKeyEvent
(
LogicalKeyboardKey
.
space
);
await
tester
.
pump
();
final
RenderBox
box
=
Material
.
of
(
tester
.
element
(
find
.
byType
(
InkWell
)))
as
RenderBox
;
final
RenderBox
box
=
Material
.
of
(
tester
.
element
(
find
.
byType
(
InkWell
)))
!
as
RenderBox
;
// ripplePattern always add a translation of topLeft.
expect
(
box
,
ripplePattern
(
30.0
,
0
));
...
...
@@ -422,7 +422,7 @@ void main() {
await
gesture
.
moveTo
(
const
Offset
(
0.0
,
0.0
));
await
gesture
.
up
();
// generates a tap cancel
final
RenderBox
box
=
Material
.
of
(
tester
.
element
(
find
.
byType
(
InkWell
)))
as
RenderBox
;
final
RenderBox
box
=
Material
.
of
(
tester
.
element
(
find
.
byType
(
InkWell
)))
!
as
RenderBox
;
expect
(
box
,
paints
..
everything
((
Symbol
method
,
List
<
dynamic
>
arguments
)
{
if
(
method
!=
#drawCircle
)
return
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