Commit 900a4f4
[google_maps_flutter_android] Loop over enum values in toMapColorScheme tests
Replaces three per-value tests with one loop over
PlatformMapColorScheme.values() so a new enum value forces a
compile-time failure in the test when it grows.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 04a6aa2 commit 900a4f4
1 file changed
Lines changed: 10 additions & 18 deletions
File tree
- packages/google_maps_flutter/google_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps
Lines changed: 10 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
543 | 535 | | |
544 | 536 | | |
545 | 537 | | |
| |||
0 commit comments