Schnittstelle EmailArbitrary

Alle Superschnittstellen:
net.jqwik.api.Arbitrary<String>
Alle bekannten Implementierungsklassen:
DefaultEmailArbitrary

@API(status=MAINTAINED, since="1.4.0") public interface EmailArbitrary extends net.jqwik.api.Arbitrary<String>
Fluent interface to configure arbitraries that generate valid email addresses.

By default only standard emails of the form username@domain.tld are generated. Other options like quoted local parts and ip addresses as host can be switched on.

  • Verschachtelte Klassen - Übersicht

    Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen net.jqwik.api.Arbitrary

    net.jqwik.api.Arbitrary.ArbitraryFacade
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Allow 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.

    Von Schnittstelle geerbte Methoden 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
  • Methodendetails

    • allowQuotedLocalPart

      EmailArbitrary allowQuotedLocalPart()
      Allow the local part of an email to be quoted within " characters.
      Gibt zurück:
      new instance of arbitrary
    • allowIpv4Host

      EmailArbitrary allowIpv4Host()
      Allow IPv4 addresses in the host part.
      Gibt zurück:
      new instance of arbitrary
    • allowIpv6Host

      EmailArbitrary allowIpv6Host()
      Allow IPv6 addresses in the host part.
      Gibt zurück:
      new instance of arbitrary