Skip to content

[maps] android_google_map_test shows No tests ran. #76606

@mohammaduvez

Description

@mohammaduvez

android_google_map_test does not run because of @TestOn('android') annotation.
On removing the annotation the test runs and fails, because of the assertion Platform.isAndroid which is false as the test is not integration test and not running on android.

I think the test is unnecessary as there is already integration test testLiteModeEnabled.

Steps to Reproduce

  1. flutter test .\packages\google_maps_flutter\google_maps_flutter\test\android_google_map_test.dart

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: tests"flutter test", flutter_test, or one of our testsfound in release: 1.27Found to occur in 1.27has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: mapsGoogle Maps pluginpackageflutter/packages repository. See also p: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions