14 Commits

Author SHA1 Message Date
Dennis
3179b206b7 Make fakers extendible by making constructors protected (#213) 2017-04-21 09:06:59 +10:00
Pascal Schumacher
33e09fcf0f add Lorem#sentence(int wordCount, int randomWordsToAdd) (fixes #190) (#192) 2017-02-03 08:13:49 +11:00
Trever Shick
f574317642 Fix locale chaining. Add yml only resolution. (#133)
* Fix locale chaining. Add yml only resolution.

* Remove assumption, it may be causing travis failures.

* Fix file encoding

* Fix the Integration test for pt locale

* Remove deps change to README.md

* Replace the resolve() method on Faker, uncomment some tests

* Rename unit test to make more sense

* Uncomment commented out tests
2016-10-11 21:41:22 +11:00
Michael Schechter
f05ad85f9c Updated to commons-lang3 (#119)
* Updated to commons-lang3

Updated dependency; changed RandomService to use Random directly

* Fixed bad import

Updated missed import
2016-08-12 14:05:03 +10:00
Pascal Schumacher
911f702a94 added option to generate upper case characters to Lorem character met…
added Internet#password
2016-05-02 07:10:31 +10:00
Pascal Schumacher
38d0c57fb7 added Lorem#characters(int minimumLength, int maximumLength) (#90) 2016-04-30 16:48:48 +10:00
Pascal Schumacher
24c84094f5 add Lorem#character and Lorem#characters (#88)
* add Lorem#character and Lorem#characters

* fixed regular expression in NameTest

* fixed regular expression in BeerTest#testHop
2016-04-29 06:59:46 +10:00
Pascal Schumacher
5ce817fd2a removed unused imports (#74) 2016-04-25 07:20:02 +10:00
Ricky
ecba78d999 Getting JavaFaker to use yml files from ruby faker.
Involves adding in all yml files from ruby faker
Changed en.yml slightly to include internet/images that weren't in the ruby one
Changed credit card values in en.yml file to as JavaFaker doesn't do regexify
Added resolve method in FakeValuesService to deal with resolution of properties that is in the
ruby yml files. This is instead of the simplified composite method.
Added safeFetch method in FakeValueService to deal with null/empty string methods
Added the DefaultingFakeValuesService to deal with defaulting properties to the english locale
2016-04-13 06:48:37 +10:00
Jason Whittle
1f4114100b Add a (single) word method to the Lorem generator. 2015-11-18 17:58:11 -05:00
Ricky Yim
fafa5ec340 moved service to their own package 2014-04-25 10:04:59 +10:00
Ricky
00def960f9 merging in changes for adding in fixedString 2014-04-24 20:35:02 +10:00
Ricky
7f2f34aa86 reducing the scope of the supress warning annotations 2014-04-24 15:20:47 +10:00
Ricky
f663405c0e refactored to break out to different classes 2014-04-23 16:04:43 +10:00