Ricky
9ee036cf25
fixing more asserts
2018-12-19 20:49:29 +11:00
Ricky
b15bf3e6ae
asserts
2018-12-19 20:41:52 +11:00
Ricky
18eba0fb14
fixing more asserts
2018-12-19 20:28:47 +11:00
Ricky
69eb4d8c6b
fixed more asserts in tests
2018-12-19 20:23:14 +11:00
Ricky
eb84ebe79a
fixed assert in test
2018-12-19 20:08:29 +11:00
Ricky Yim
1fae9ce05e
Made the FakeValuesService support splitting up locale yml files into multiple files
2018-12-19 16:08:31 +11:00
Ricky Yim
0de32872b6
Merge pull request #335 from sonOfRa/patch-1
...
Fix abbreviation for Osten
2018-12-14 08:13:24 +11:00
Simon Levermann
a84c128029
Fix abbreviation for Osten
...
Osten does not start with an E!
2018-12-12 19:05:36 +01:00
stylerope
2024176a48
Fix random failure of genre() in MusicTest
2018-12-10 00:01:10 +01:00
Ricky Yim
c1425cc65c
Merge pull request #331 from Eradash/feature/date_time_with_minimum
...
Generate Dates in future or past with minimum distance from now
2018-12-06 19:35:14 +11:00
Vincent Poirier
0098bd7656
Put test reference in loop to avoid imprecision
2018-12-05 09:11:57 -05:00
Vincent Poirier
578c13f135
Fix the atMost to be relative to now instead of the minimum time
2018-12-05 09:04:31 -05:00
Vincent Poirier
e5f444ec4c
Add tests for mimimum range in DateTime
...
Correct typo in test
Set values for tests inclusive
2018-12-05 09:04:27 -05:00
Ricky Yim
1116c73788
Merge pull request #303 from kkalavantavanich/master
...
Add Thai fakers
2018-12-05 21:05:11 +11:00
Ricky Yim
5471419039
Merge pull request #325 from hisener/update-nl
...
Update nl.yml
2018-12-05 21:02:27 +11:00
Ricky
5ffcfd82b6
updated assert in test
2018-12-05 20:47:09 +11:00
Ricky
f973acb33f
resolving issue 328
2018-12-05 19:51:40 +11:00
Vincent Poirier
c55c6416f0
Add methods to generate Dates in future or past with minimum distance from now
2018-12-04 13:13:16 -05:00
Jose
6fc2a3b0a5
strip accents on email address to conform with RFC 5322 ( #324 )
...
more info on issue #296 (comment by @gregod)
2018-10-12 11:44:32 +11:00
Serge Bishyr
23e2e34c17
Add genre to music faker class ( #322 )
2018-10-12 11:43:07 +11:00
Halil İbrahim Şener
18af4ed98b
Update nl.yml
2018-10-11 11:29:29 +02:00
Vikram
c2714b3c95
New Medical Data Faker -- Updated Tests ( #321 )
...
* Added Code and iml file for Medical data faker
Contains following fakers
-- Hospital Name
-- Disease
-- Medicine
-- Symptoms
* Modified regex for Medical Symptom match
* Modified regular expression for Hospital Name
* Modified regular expression for Hospital Name
* Modified regular expression for Hospital Name
* Modified regular expression for Hospital Name for bigger lengths
* Updated Medical Faker Test removed static tests
2018-09-28 10:13:05 +10:00
Denny Abraham Cheriyan
c1d3e80091
Port over dogs from stympy/faker ( #310 )
2018-08-13 10:20:02 +10:00
Leonardo Ferreira
33a1aa0801
Options#option receive and return generic varargs ( #306 )
2018-08-08 08:40:37 +10:00
Alexander
02d831d56c
Create by.yml ( #286 )
...
* Create by.yml
Add by locale and fix
* Update by.yml
* Update by.yml
2018-08-07 10:16:03 +10:00
Jose
d7409c8375
Remove whitespaces from usernames ( #296 ) ( #297 )
...
* Remove whitespaces from usernames (#296 )
Some languages include compound names (spanish and portugese for
example) and that breaks usernames validation
* Remove noise from my previous commit
Accidentally cleaned the entire file...
2018-08-07 10:01:08 +10:00
Kris Kalavantavanich
97f044126f
Add Thai faker
2018-07-07 15:44:27 +07:00
Taylor Wilson
45c476376e
Add more Faker classes ( #276 )
...
* Add more Faker classes
* add unit tests for new classes
2018-05-24 10:02:33 +10:00
Pascal Schumacher
c07f01f063
Update snakeyaml to version 1.20 ( #290 )
...
* Update snakeyaml to version 1.20
* CurrencyTest#testName: fix regex
2018-04-10 04:09:58 +10:00
Bruno P. Kinoshita
ea60ee3cbf
Use month values between 0-11 for GregorianCalendar ( #243 )
...
* Use month values between 0-11 for GregorianCalendar
* Update tests to match the changes to GregorianCalendar's use
2018-04-10 04:09:12 +10:00
Cory Veilleux
96c62f8f0c
Porting over Lebowski faker from stympy/faker. ( #287 )
...
* Porting over Lebowski faker from stympy/faker.
* Adding FakerIT test.
2018-03-27 11:45:54 +02:00
Roman Isko
857778a69d
fix weather description in Ukrainian ( #281 )
2018-03-15 12:38:37 +01:00
Mohamed Hashi
be0504e992
feat(currency): Port currency data from ruby gem ( #285 )
...
* feat(currency): Port currency data from ruby gem
* fix(currency test): Regex for currency.name test did not allow for 'Kuwaiti Dinar'
2018-03-15 12:38:05 +01:00
Serge Bishyr
44cc4ec091
Add Weather Faker class ( #280 )
...
* Add weather descriptions
* Add random temperature
* Add Ukrainian and Russian weather and temperature data
* Update README
* Add generator for temperature in a range
* Add Weather class to IT tests
2018-02-15 10:32:17 +11:00
Bruno P. Kinoshita
164144bc08
Replace StringBuffer by StringBuilder ( #279 )
...
Hi,
Not sure if it was intentional, or just reminiscent from some older code. I couldn't find any reason for having `StringBuffer` instead of `StringBuilder`, nor any javadocs about threads and synchronization.
I believe it won't cause any regression. And while these two methods (`#numerify` and `#letterHelper`) used `StringBuffer`s, the constructor uses `StringBuilder`, and other parts of the code also use `StringBuilder`s (e.g. `Code#isbn10`, `FakerIDN#toASCII`, ...).
Quickly created the pull request from GitHub interface, but hopefully Travis CI will build it and confirm it works fine. Found it while using the IDE to find occurrences of these classes in a legacy code at work.
Cheers
Bruno
2018-02-01 10:18:53 +11:00
Roman Isko
54919f5baa
Added Ukrainian entries to yml ( #271 )
...
* add music instruments
* added artist
* added Yoda quotes
2018-01-18 09:27:57 +11:00
Taylor Wilson
838c1fe2d7
Add support for random avatar urls ( #274 )
...
* Add support for random avatar urls
* Replace UrlValidator with Hamcrest matcher
* Fix #275 uuid regex pattern matcher
* Add repeat annotation to avatar test
2017-12-17 11:38:35 +11:00
Dennis
644fda206d
Add UUID to faker ( #269 )
...
* Add faker for uuid
* Add javadoc
2017-12-16 17:49:26 +11:00
shortstacked
5434db823e
Adding overloaded method to allow a specific credit card format to be returned ( #266 )
...
* Adding overloaded method to allow a specific credit card format to be returned.
Added unit test.
* Fixing brace formatting.
* Brace yourselves for another commit.
* I think I've got them all now!
2017-11-17 21:30:45 +11:00
Pascal Schumacher
f698e1da11
use new and updated .yml files from ruby faker ( #262 )
...
* use new and updated .yml files from ruby faker
* fix WitcherTest#testWitcher regex
* fix PokemonTest#name regex
2017-10-24 10:04:29 +11:00
Bartek Szymański
13cba3aadc
Witcher added ( #251 )
...
* Witcher added
* Regexp in unit tests fixed
2017-09-25 08:17:26 +10:00
Egor Dubenetskiy
fbf94b1290
Fix Russian language resources ( #245 )
2017-08-09 08:54:31 +10:00
Bruno P. Kinoshita
010730ac1f
Avoid potential NPE ( #244 )
2017-07-10 08:53:28 +10:00
Pascal Schumacher
6dd2c088b7
unify formatting of tests (remove duplicate blank lines, add missing blank lines...) ( #240 )
2017-06-19 10:29:53 +10:00
Pascal Schumacher
48a35bb3d9
remove unnecessary throw declaration from test methods ( #239 )
2017-06-19 10:22:57 +10:00
Luka
1dc464d098
Update to latest faker yml ( #238 )
...
* - Update to latest faker yml
* - Remove id.yml
2017-06-19 10:21:47 +10:00
Mantas Domaševičius
fa5b4da233
Can acquire Faker instance via static utility methods ( #237 )
2017-06-09 16:45:43 +10:00
Luka
37e702c97d
Add Matz ( #234 )
2017-06-01 16:07:09 +10:00
Luka
a7768e23f4
Add RickAndMorty ( #233 )
2017-05-31 10:21:00 +10:00
Luka
c8b6823b33
Add Yoda ( #232 )
2017-05-30 13:42:09 +10:00