Arbitrary.ArbitraryFacade
Modifier and Type | Method and Description |
---|---|
CharacterArbitrary |
all()
Allow all unicode chars to show up in generated values.
|
CharacterArbitrary |
ascii()
Allow all ascii chars to show up in generated values.
|
default CharacterArbitrary |
between(char min,
char max)
Deprecated.
Use
range(char, char) instead. |
CharacterArbitrary |
digit()
Allow all numeric chars (digits) to show up in generated values.
|
CharacterArbitrary |
range(char min,
char max)
Allow all chars within
min (included) and max (included) to show up in generated values. |
CharacterArbitrary |
whitespace()
Allow all whitespace chars to show up in generated values.
|
CharacterArbitrary |
with(char... allowedChars)
Allow all chars in
chars show up in generated values. |
allValues, array, collect, exhaustive, filter, fixGenSize, flatMap, forEachValue, generator, injectNull, iterator, list, map, optional, set, stream, unique, withSamples
CharacterArbitrary all()
@Deprecated @API(status=DEPRECATED) default CharacterArbitrary between(char min, char max)
range(char, char)
instead.min
(included) and max
(included) to show up in generated values.@API(status=MAINTAINED, since="1.1.3") CharacterArbitrary with(char... allowedChars)
chars
show up in generated values.
Adds to all already allowed chars.@API(status=MAINTAINED, since="1.1.3") CharacterArbitrary range(char min, char max)
min
(included) and max
(included) to show up in generated values.
Adds to all already allowed chars.CharacterArbitrary ascii()
CharacterArbitrary digit()
@API(status=MAINTAINED, since="1.1.3") CharacterArbitrary whitespace()