MerginMaps / MerginMaps/mobile

Move tests from `testutils.h` to `testutilsfunctions.h`

Open
#3,911 0 comments 2 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.