Skip to content

Commit 21e3bb8

Browse files
authored
Update RadioListTile tests format for M2/M3 (#130391)
Update tests format context: flutter/flutter#129718 (comment)
1 parent 21fa18b commit 21e3bb8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/flutter/test/material/radio_list_tile_test.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ void main() {
10121012
);
10131013
});
10141014

1015-
testWidgets('RadioListTile respects hoverColor', (WidgetTester tester) async {
1015+
testWidgets('Material3 - RadioListTile respects hoverColor', (WidgetTester tester) async {
10161016
tester.binding.focusManager.highlightStrategy = FocusHighlightStrategy.alwaysTraditional;
10171017
int? groupValue = 0;
10181018
final Color? hoverColor = Colors.orange[500];
@@ -1078,7 +1078,7 @@ void main() {
10781078
);
10791079
});
10801080

1081-
testWidgets('RadioListTile respects overlayColor in active/pressed/hovered states', (WidgetTester tester) async {
1081+
testWidgets('Material3 - RadioListTile respects overlayColor in active/pressed/hovered states', (WidgetTester tester) async {
10821082
tester.binding.focusManager.highlightStrategy = FocusHighlightStrategy.alwaysTraditional;
10831083

10841084
const Color fillColor = Color(0xFF000000);
@@ -1339,7 +1339,7 @@ void main() {
13391339
// support is deprecated and the APIs are removed, these tests
13401340
// can be deleted.
13411341

1342-
testWidgets('RadioListTile respects overlayColor in active/pressed/hovered states', (WidgetTester tester) async {
1342+
testWidgets('Material2 - RadioListTile respects overlayColor in active/pressed/hovered states', (WidgetTester tester) async {
13431343
tester.binding.focusManager.highlightStrategy = FocusHighlightStrategy.alwaysTraditional;
13441344

13451345
const Color fillColor = Color(0xFF000000);
@@ -1443,7 +1443,7 @@ void main() {
14431443
);
14441444
});
14451445

1446-
testWidgets('RadioListTile respects hoverColor', (WidgetTester tester) async {
1446+
testWidgets('Material2 - RadioListTile respects hoverColor', (WidgetTester tester) async {
14471447
tester.binding.focusManager.highlightStrategy = FocusHighlightStrategy.alwaysTraditional;
14481448
int? groupValue = 0;
14491449
final Color? hoverColor = Colors.orange[500];

0 commit comments

Comments
 (0)