From 21e3bb89676c0eb1a86aba9aa3398f32fe02f2d3 Mon Sep 17 00:00:00 2001 From: Taha Tesser Date: Wed, 12 Jul 2023 18:47:51 +0300 Subject: [PATCH] Update `RadioListTile` tests format for M2/M3 (#130391) Update tests format context: https://github.com/flutter/flutter/pull/129718#issuecomment-1615124857 --- packages/flutter/test/material/radio_list_tile_test.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/flutter/test/material/radio_list_tile_test.dart b/packages/flutter/test/material/radio_list_tile_test.dart index 9e0cba869a..b5c555083c 100644 --- a/packages/flutter/test/material/radio_list_tile_test.dart +++ b/packages/flutter/test/material/radio_list_tile_test.dart @@ -1012,7 +1012,7 @@ void main() { ); }); - testWidgets('RadioListTile respects hoverColor', (WidgetTester tester) async { + testWidgets('Material3 - RadioListTile respects hoverColor', (WidgetTester tester) async { tester.binding.focusManager.highlightStrategy = FocusHighlightStrategy.alwaysTraditional; int? groupValue = 0; final Color? hoverColor = Colors.orange[500]; @@ -1078,7 +1078,7 @@ void main() { ); }); - testWidgets('RadioListTile respects overlayColor in active/pressed/hovered states', (WidgetTester tester) async { + testWidgets('Material3 - RadioListTile respects overlayColor in active/pressed/hovered states', (WidgetTester tester) async { tester.binding.focusManager.highlightStrategy = FocusHighlightStrategy.alwaysTraditional; const Color fillColor = Color(0xFF000000); @@ -1339,7 +1339,7 @@ void main() { // support is deprecated and the APIs are removed, these tests // can be deleted. - testWidgets('RadioListTile respects overlayColor in active/pressed/hovered states', (WidgetTester tester) async { + testWidgets('Material2 - RadioListTile respects overlayColor in active/pressed/hovered states', (WidgetTester tester) async { tester.binding.focusManager.highlightStrategy = FocusHighlightStrategy.alwaysTraditional; const Color fillColor = Color(0xFF000000); @@ -1443,7 +1443,7 @@ void main() { ); }); - testWidgets('RadioListTile respects hoverColor', (WidgetTester tester) async { + testWidgets('Material2 - RadioListTile respects hoverColor', (WidgetTester tester) async { tester.binding.focusManager.highlightStrategy = FocusHighlightStrategy.alwaysTraditional; int? groupValue = 0; final Color? hoverColor = Colors.orange[500];