Package net.jqwik.api.arbitraries
Interface CharacterArbitrary
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.jqwik.api.Arbitrary
Arbitrary.ArbitraryFacade
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method 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.CharacterArbitrary
digit()
Allow all numeric chars (digits) to show up in generated values.CharacterArbitrary
range(char min, char max)
Allow all chars withinmin
(included) andmax
(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 inallowedChars
show up in generated values.CharacterArbitrary
with(java.lang.CharSequence allowedChars)
Allow all chars inallowedChars
show up in generated values.CharacterArbitrary
with(Arbitrary<java.lang.Character> characterArbitrary)
Deprecated.-
Methods inherited from interface net.jqwik.api.Arbitrary
allValues, array, asGeneric, collect, dontShrink, edgeCases, exhaustive, exhaustive, filter, fixGenSize, flatMap, forEachValue, generator, ignoreException, injectDuplicates, injectNull, isUnique, iterator, list, map, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, unique
-
-
-
-
Method Detail
-
all
CharacterArbitrary all()
Allow all unicode chars to show up in generated values. Resets previous settings.
-
with
@API(status=MAINTAINED, since="1.1.3") CharacterArbitrary with(char... allowedChars)
Allow all chars inallowedChars
show up in generated values. Adds to all already allowed chars.
-
with
@API(status=DEPRECATED, since="1.3.8") @Deprecated CharacterArbitrary with(Arbitrary<java.lang.Character> characterArbitrary)
Deprecated.Allow all chars generated bycharacterArbitrary
. Adds to all already allowed chars.
-
with
@API(status=MAINTAINED, since="1.2.1") CharacterArbitrary with(java.lang.CharSequence allowedChars)
Allow all chars inallowedChars
show up in generated values. Adds to all already allowed chars.
-
range
@API(status=MAINTAINED, since="1.1.3") CharacterArbitrary range(char min, char max)
Allow all chars withinmin
(included) andmax
(included) to show up in generated values. Adds to all already allowed chars.
-
ascii
CharacterArbitrary ascii()
Allow all ascii chars to show up in generated values. Adds to all already allowed chars.
-
digit
CharacterArbitrary digit()
Allow all numeric chars (digits) to show up in generated values. Adds to all already allowed chars.
-
whitespace
@API(status=MAINTAINED, since="1.1.3") CharacterArbitrary whitespace()
Allow all whitespace chars to show up in generated values. Adds to all already allowed chars.
-
-