Update RadioListTile tests format for M2/M3 (#130391)

Update tests format 

context: https://github.com/flutter/flutter/pull/129718#issuecomment-1615124857
This commit is contained in:
Taha Tesser 2023-07-12 18:47:51 +03:00 committed by GitHub
parent 21fa18b3fe
commit 21e3bb8967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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];