MerginMaps / MerginMaps/mobile
Move tests from `testutils.h` to `testutilsfunctions.h`
Open
Nobody has claimed this yet.
enhancement
infrastructure
- Dominant language
- C++
- Stars
- 388
- Forks
- 87
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 20
Description
TestUtils has utils related to tests, not the other way round!
```cpp
void testLayerHasGeometry();
void testLayerVisible();
void testIsPositionTrackingLayer();
void testMapLayerFromName();
void testIsValidUrl();
```
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
Locate testutils.h and testutilsfunctions.h, then inspect the declarations for testLayerHasGeometry(), testLayerVisible(), testIsPositionTrackingLayer(), testMapLayerFromName(), and testIsValidUrl(). Move those test-related declarations to testutilsfunctions.h and verify that references still compile and tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing-qa
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100