-
-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 241 * test cases * Add Codecov configuration * Dividing it into 2 PRs * added data file in cpp and test * using the test data
- Loading branch information
1 parent
8c140be
commit 2fb1853
Showing
5 changed files
with
75 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
comment: no # do not comment PR with the result | ||
|
||
coverage: | ||
range: 50..90 # coverage lower than 50 is red, higher than 90 green, between color code | ||
|
||
status: | ||
project: # settings affecting project coverage | ||
default: | ||
target: auto # auto % coverage target | ||
threshold: 5% # allow for 5% reduction of coverage without failing | ||
|
||
# do not run coverage on patch nor changes | ||
patch: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#pragma once | ||
#include <string> | ||
#include <vector> | ||
|
||
namespace faker | ||
{ | ||
namespace data | ||
{ | ||
const std::vector<std::string> PhonePlatforms = { | ||
"Android OS", "iOS", "Windows Phone", "Symbian", "Palm OS", "Tizen", | ||
}; | ||
const std::vector<std::string> PhoneModelNames = { | ||
"Samsung Galaxy S9", "iPhone X", "Google Pixel 4", "Samsung Galaxy S22", "iPhone 13", | ||
"iPhone 13", "iPhone 14", "iPhone 15", "Google Pixel 6", "OnePlus 9", | ||
"Xiaomi Mi 11", "Huawei P50", "Oppo Find X3", "Sony Xperia 1 III", "Motorola Edge 20"}; | ||
const std::vector<std::string> PhoneManufacturers = {"Samsung", "Apple", "Google", "OnePlus", "Xiaomi", | ||
"Huawei", "Oppo", "Sony", "Motorola"}; | ||
} | ||
} |