maplibre / maplibre/maplibre-plugins-android
Tests fail: Wanted but not invoked: geoJsonSource.setGeoJson
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 50
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
After merging #12, the tests fail: https://github.com/maplibre/maplibre-plugins-android/actions/runs/4255578822/jobs/7403370903
```
com.mapbox.mapboxsdk.plugins.annotation.FillManagerTest > testInitialization FAILED
Wanted but not invoked:
geoJsonSource.setGeoJson(
);
-> at com.mapbox.mapboxsdk.style.sources.GeoJsonSource.setGeoJson(GeoJsonSource.java:291)
Actually, there were zero interactions with this mock.
at com.mapbox.mapboxsdk.style.sources.GeoJsonSource.setGeoJson(GeoJsonSource.java:291)
at com.mapbox.mapboxsdk.plugins.annotation.FillManagerTest.testInitialization(FillManagerTest.java:68)
```
We should set up CI for pull requests so that we avoid this in the future.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with FillManagerTest.java at line 68 and reproduce the reported testInitialization failure from the linked CI job. Inspect the repository's existing CI configuration, then ensure pull requests run the relevant tests and that the failing test passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- ci-cd, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100