Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Mass Effect" faker #301

Merged
merged 5 commits into from
Aug 21, 2022
Merged

Conversation

finn-evers
Copy link
Contributor

@finn-evers finn-evers commented Aug 16, 2022

Add Mass Effect Faker with character/specie/planet/cluster -names and quotes.

README.md Outdated
@@ -309,6 +309,7 @@ Providers
* Witcher
* Yoda
* Zelda
* Mass Effect
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be better to follow abc ordering

@@ -1019,6 +1019,10 @@ public Zelda zelda() {
return getProvider(Zelda.class, () -> new Zelda(this));
}

public MassEffect massEffect() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please follow abc ordering in providers methods
it would simplify code navigation

@@ -224,7 +224,8 @@ public String getPath() {
// "world_cup.yml",
// "world_of_warcraft.yml",
"yoda.yml",
"zelda.yml").map(EnFile::new).collect(Collectors.toList());
"zelda.yml",
"mass-effect.yml").map(EnFile::new).collect(Collectors.toList());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ordering

@@ -205,6 +205,7 @@ void testAllFakerMethodsThatReturnStrings(Locale locale, Random random) throws E
testAllMethodsThatReturnStringsActuallyReturnStrings(faker.yoda());
testAllMethodsThatReturnStringsActuallyReturnStrings(faker.zelda());
testAllMethodsThatReturnStringsActuallyReturnStrings(faker.oscarMovie());
testAllMethodsThatReturnStringsActuallyReturnStrings(faker.massEffect());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, follow order here too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have also moved oscarMovie to the right place.

@codecov-commenter
Copy link

codecov-commenter commented Aug 17, 2022

Codecov Report

Merging #301 (729e169) into master (87a721b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #301      +/-   ##
============================================
+ Coverage     94.86%   94.87%   +0.01%     
- Complexity     1893     1900       +7     
============================================
  Files           197      198       +1     
  Lines          3797     3805       +8     
  Branches        379      379              
============================================
+ Hits           3602     3610       +8     
  Misses           99       99              
  Partials         96       96              
Impacted Files Coverage Δ
.../main/java/net/datafaker/service/files/EnFile.java 93.33% <ø> (ø)
src/main/java/net/datafaker/Faker.java 98.35% <100.00%> (+<0.01%) ⬆️
src/main/java/net/datafaker/MassEffect.java 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@bodiam
Copy link
Contributor

bodiam commented Aug 21, 2022

Awesome, thank you for this!

@bodiam bodiam merged commit bfc7677 into datafaker-net:master Aug 21, 2022
@finn-evers finn-evers deleted the feature/mass-effect branch August 21, 2022 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants