Package net.jqwik.web
Class DefaultEmailArbitrary
java.lang.Object
net.jqwik.api.arbitraries.ArbitraryDecorator<String>
net.jqwik.web.DefaultEmailArbitrary
- All Implemented Interfaces:
Cloneable,net.jqwik.api.Arbitrary<String>,EmailArbitrary
public class DefaultEmailArbitrary
extends net.jqwik.api.arbitraries.ArbitraryDecorator<String>
implements EmailArbitrary
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.jqwik.api.Arbitrary
net.jqwik.api.Arbitrary.ArbitraryFacade -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAllow IPv4 addresses in the host part.Allow IPv6 addresses in the host part.Allow the local part of an email to be quoted within " characters.protected net.jqwik.api.Arbitrary<String>Methods inherited from class net.jqwik.api.arbitraries.ArbitraryDecorator
edgeCases, exhaustive, generator, generatorWithEmbeddedEdgeCases, isGeneratorMemoizable, toString, typedCloneMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.jqwik.api.Arbitrary
allValues, array, asGeneric, collect, dontShrink, edgeCases, edgeCases, edgeCases, exhaustive, exhaustive, filter, filter, fixGenSize, flatMap, forEachValue, generator, generator, generatorWithEmbeddedEdgeCases, ignoreException, ignoreException, ignoreExceptions, ignoreExceptions, injectDuplicates, injectNull, isGeneratorMemoizable, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCases
-
Constructor Details
-
DefaultEmailArbitrary
public DefaultEmailArbitrary()
-
-
Method Details
-
arbitrary
- Specified by:
arbitraryin classnet.jqwik.api.arbitraries.ArbitraryDecorator<String>
-
allowQuotedLocalPart
Description copied from interface:EmailArbitraryAllow the local part of an email to be quoted within " characters.- Specified by:
allowQuotedLocalPartin interfaceEmailArbitrary- Returns:
- new instance of arbitrary
-
allowIpv4Host
Description copied from interface:EmailArbitraryAllow IPv4 addresses in the host part.- Specified by:
allowIpv4Hostin interfaceEmailArbitrary- Returns:
- new instance of arbitrary
-
allowIpv6Host
Description copied from interface:EmailArbitraryAllow IPv6 addresses in the host part.- Specified by:
allowIpv6Hostin interfaceEmailArbitrary- Returns:
- new instance of arbitrary
-