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
04015b98
Unverified
Commit
04015b98
authored
Jun 04, 2019
by
Kate Lovett
Committed by
GitHub
Jun 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing duplicate test names. (#33805)
parent
090ece49
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
goldens.version
bin/internal/goldens.version
+1
-1
text_field_test.dart
packages/flutter/test/cupertino/text_field_test.dart
+4
-4
text_field_test.dart
packages/flutter/test/material/text_field_test.dart
+4
-4
No files found.
bin/internal/goldens.version
View file @
04015b98
2eea0c710c4fca4c6655b4efc15b68d4b44cd404
041efaf483a1cd011f4b4f6dcd04e0d5cad9436e
packages/flutter/test/cupertino/text_field_test.dart
View file @
04015b98
...
...
@@ -350,7 +350,7 @@ void main() {
debugDefaultTargetPlatformOverride
=
null
;
});
testWidgets
(
'cursor android golden'
,
(
WidgetTester
tester
)
async
{
testWidgets
(
'
Cupertino
cursor android golden'
,
(
WidgetTester
tester
)
async
{
final
Widget
widget
=
CupertinoApp
(
home:
Center
(
child:
RepaintBoundary
(
...
...
@@ -373,11 +373,11 @@ void main() {
await
expectLater
(
find
.
byKey
(
const
ValueKey
<
int
>(
1
)),
matchesGoldenFile
(
'text_field_cursor_test.0.2.png'
),
matchesGoldenFile
(
'text_field_cursor_test.
cupertino.
0.2.png'
),
);
},
skip:
!
isLinux
);
testWidgets
(
'cursor iOS golden'
,
(
WidgetTester
tester
)
async
{
testWidgets
(
'
Cupertino
cursor iOS golden'
,
(
WidgetTester
tester
)
async
{
debugDefaultTargetPlatformOverride
=
TargetPlatform
.
iOS
;
final
Widget
widget
=
CupertinoApp
(
...
...
@@ -403,7 +403,7 @@ void main() {
debugDefaultTargetPlatformOverride
=
null
;
await
expectLater
(
find
.
byKey
(
const
ValueKey
<
int
>(
1
)),
matchesGoldenFile
(
'text_field_cursor_test.1.2.png'
),
matchesGoldenFile
(
'text_field_cursor_test.
cupertino.
1.2.png'
),
);
},
skip:
!
isLinux
);
...
...
packages/flutter/test/material/text_field_test.dart
View file @
04015b98
...
...
@@ -385,7 +385,7 @@ void main() {
expect
(
textField
.
cursorRadius
,
const
Radius
.
circular
(
3.0
));
});
testWidgets
(
'cursor android golden'
,
(
WidgetTester
tester
)
async
{
testWidgets
(
'
Material
cursor android golden'
,
(
WidgetTester
tester
)
async
{
final
Widget
widget
=
overlay
(
child:
const
RepaintBoundary
(
key:
ValueKey
<
int
>(
1
),
...
...
@@ -407,11 +407,11 @@ void main() {
await
expectLater
(
find
.
byKey
(
const
ValueKey
<
int
>(
1
)),
matchesGoldenFile
(
'text_field_cursor_test.0.0.png'
),
matchesGoldenFile
(
'text_field_cursor_test.
material.
0.0.png'
),
);
},
skip:
!
isLinux
);
testWidgets
(
'cursor iOS golden'
,
(
WidgetTester
tester
)
async
{
testWidgets
(
'
Material
cursor iOS golden'
,
(
WidgetTester
tester
)
async
{
debugDefaultTargetPlatformOverride
=
TargetPlatform
.
iOS
;
final
Widget
widget
=
overlay
(
...
...
@@ -436,7 +436,7 @@ void main() {
debugDefaultTargetPlatformOverride
=
null
;
await
expectLater
(
find
.
byKey
(
const
ValueKey
<
int
>(
1
)),
matchesGoldenFile
(
'text_field_cursor_test.1.0.png'
),
matchesGoldenFile
(
'text_field_cursor_test.
material.
1.0.png'
),
);
},
skip:
!
isLinux
);
...
...
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