Unverified Commit 04015b98 authored by Kate Lovett's avatar Kate Lovett Committed by GitHub

Fixing duplicate test names. (#33805)

parent 090ece49
2eea0c710c4fca4c6655b4efc15b68d4b44cd404 041efaf483a1cd011f4b4f6dcd04e0d5cad9436e
...@@ -350,7 +350,7 @@ void main() { ...@@ -350,7 +350,7 @@ void main() {
debugDefaultTargetPlatformOverride = null; debugDefaultTargetPlatformOverride = null;
}); });
testWidgets('cursor android golden', (WidgetTester tester) async { testWidgets('Cupertino cursor android golden', (WidgetTester tester) async {
final Widget widget = CupertinoApp( final Widget widget = CupertinoApp(
home: Center( home: Center(
child: RepaintBoundary( child: RepaintBoundary(
...@@ -373,11 +373,11 @@ void main() { ...@@ -373,11 +373,11 @@ void main() {
await expectLater( await expectLater(
find.byKey(const ValueKey<int>(1)), 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); }, skip: !isLinux);
testWidgets('cursor iOS golden', (WidgetTester tester) async { testWidgets('Cupertino cursor iOS golden', (WidgetTester tester) async {
debugDefaultTargetPlatformOverride = TargetPlatform.iOS; debugDefaultTargetPlatformOverride = TargetPlatform.iOS;
final Widget widget = CupertinoApp( final Widget widget = CupertinoApp(
...@@ -403,7 +403,7 @@ void main() { ...@@ -403,7 +403,7 @@ void main() {
debugDefaultTargetPlatformOverride = null; debugDefaultTargetPlatformOverride = null;
await expectLater( await expectLater(
find.byKey(const ValueKey<int>(1)), 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); }, skip: !isLinux);
......
...@@ -385,7 +385,7 @@ void main() { ...@@ -385,7 +385,7 @@ void main() {
expect(textField.cursorRadius, const Radius.circular(3.0)); 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( final Widget widget = overlay(
child: const RepaintBoundary( child: const RepaintBoundary(
key: ValueKey<int>(1), key: ValueKey<int>(1),
...@@ -407,11 +407,11 @@ void main() { ...@@ -407,11 +407,11 @@ void main() {
await expectLater( await expectLater(
find.byKey(const ValueKey<int>(1)), 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); }, skip: !isLinux);
testWidgets('cursor iOS golden', (WidgetTester tester) async { testWidgets('Material cursor iOS golden', (WidgetTester tester) async {
debugDefaultTargetPlatformOverride = TargetPlatform.iOS; debugDefaultTargetPlatformOverride = TargetPlatform.iOS;
final Widget widget = overlay( final Widget widget = overlay(
...@@ -436,7 +436,7 @@ void main() { ...@@ -436,7 +436,7 @@ void main() {
debugDefaultTargetPlatformOverride = null; debugDefaultTargetPlatformOverride = null;
await expectLater( await expectLater(
find.byKey(const ValueKey<int>(1)), 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); }, skip: !isLinux);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment