Write tests for API examples of BottomNavigationBar and IconButton (#138188)

This PR writes tests for a few of the API examples (not all), as requested in #130459. For the test names, I used the existing tests in the `api` folder as guide.
This commit is contained in:
Jasper van Riet
2023-11-27 18:26:37 +01:00
committed by GitHub
parent 9a930dd6f9
commit ec639f359c
5 changed files with 135 additions and 4 deletions

View File

@@ -338,13 +338,9 @@ final Set<String> _knownMissingTests = <String>{
'examples/api/test/material/snack_bar/snack_bar.0_test.dart',
'examples/api/test/material/snack_bar/snack_bar.2_test.dart',
'examples/api/test/material/snack_bar/snack_bar.1_test.dart',
'examples/api/test/material/bottom_navigation_bar/bottom_navigation_bar.0_test.dart',
'examples/api/test/material/bottom_navigation_bar/bottom_navigation_bar.1_test.dart',
'examples/api/test/material/outlined_button/outlined_button.0_test.dart',
'examples/api/test/material/icon_button/icon_button.2_test.dart',
'examples/api/test/material/icon_button/icon_button.3_test.dart',
'examples/api/test/material/icon_button/icon_button.0_test.dart',
'examples/api/test/material/icon_button/icon_button.1_test.dart',
'examples/api/test/material/expansion_panel/expansion_panel_list.expansion_panel_list_radio.0_test.dart',
'examples/api/test/material/input_decorator/input_decoration.1_test.dart',
'examples/api/test/material/input_decorator/input_decoration.prefix_icon_constraints.0_test.dart',