Uses of Interface
de.cuioss.test.generator.TypedGenerator
Packages that use TypedGenerator
Package
Description
Generators
Provides domain-specific test data generators implementing
TypedGenerator.Core implementation classes for the CUI test generator framework.
JUnit 5 Parameterized Test Support for TypedGenerator
-
Uses of TypedGenerator in de.cuioss.test.generator
Methods in de.cuioss.test.generator that return TypedGeneratorModifier and TypeMethodDescriptionstatic TypedGenerator<Boolean> Generators.booleanObjects()Factory method for creating aTypedGeneratorforBoolean.static TypedGenerator<Boolean> Generators.booleans()Factory method for creating aTypedGeneratorfor boolean primitives.static TypedGenerator<Byte> Generators.byteObjects()Factory method for creating aTypedGeneratorforByte.static TypedGenerator<Byte> Generators.bytes()Factory method for creating aTypedGeneratorfor byte primitives.static TypedGenerator<Character> Generators.characterObjects()Factory method for creating aTypedGeneratorforCharacter.static TypedGenerator<Character> Generators.characters()Factory method for creating aTypedGeneratorfor char primitives.static TypedGenerator<Class> Generators.classTypes()Factory method for creating aTypedGeneratorarbitraryClassObjectsstatic TypedGenerator<Date> Generators.dates()Factory method for creating aTypedGeneratorforDate.static TypedGenerator<Double> Generators.doubleObjects()Factory method for creating aTypedGeneratorforDouble.static TypedGenerator<Double> Generators.doubles()Factory method for creating aTypedGeneratorfor double primitives.static TypedGenerator<Double> Generators.doubles(double low, double high) Factory method for creating aTypedGeneratorforDouble.static <T extends Enum<T>>
TypedGenerator<T> Generators.enumValues(Class<T> type) Factory method for creating a generator for a given enum.static <T> TypedGenerator<T> Generators.fixedValues(Class<T> type, Iterable<T> values) Factory method for creating aTypedGeneratorfor a number of fixed values.static <T> TypedGenerator<T> Generators.fixedValues(Class<T> type, T... values) Factory method for creating aTypedGeneratorfor a number of fixed values.static <T> TypedGenerator<T> Generators.fixedValues(Iterable<T> values) Factory method for creating aTypedGeneratorfor a number of fixed values.static <T> TypedGenerator<T> Generators.fixedValues(T... values) Factory method for creating aTypedGeneratorfor a number of fixed values.static TypedGenerator<Float> Generators.floatObjects()Factory method for creating aTypedGeneratorforFloat.static TypedGenerator<Float> Generators.floats()Factory method for creating aTypedGeneratorfor float primitives.static TypedGenerator<Float> Generators.floats(float low, float high) Factory method for creating aTypedGeneratorforFloat.static TypedGenerator<Integer> Generators.integerObjects()Factory method for creating aTypedGeneratorforInteger.static TypedGenerator<Integer> Generators.integers()Factory method for creating aTypedGeneratorfor integer primitives.static TypedGenerator<Integer> Generators.integers(int low, int high) Factory method for creating aTypedGeneratorforInteger.static TypedGenerator<String> Generators.letterStrings()Factory method for creating aTypedGeneratorfor sensible / simple non empty letter Strings.static TypedGenerator<String> Generators.letterStrings(int minSize, int maxSize) Factory method for creating aTypedGeneratorfor letter Strings.static TypedGenerator<LocalDate> Generators.localDates()Factory method for creating aTypedGeneratorforLocalDate.static TypedGenerator<LocalDateTime> Generators.localDateTimes()Factory method for creating aTypedGeneratorforLocalDateTime.static TypedGenerator<Locale> Generators.locales()Factory method for creating aTypedGeneratorarbitraryLocaleObjectsstatic TypedGenerator<LocalTime> Generators.localTimes()Factory method for creating aTypedGeneratorforLocalTime.static TypedGenerator<Long> Generators.longObjects()Factory method for creating aTypedGeneratorforLong.static TypedGenerator<Long> Generators.longs()Factory method for creating aTypedGeneratorfor long primitives.static TypedGenerator<Long> Generators.longs(long low, long high) Factory method for creating aTypedGeneratorfor Long primitives.static TypedGenerator<String> Generators.nonBlankStrings()Factory method for creating aTypedGeneratorfor non-blank Strings.static TypedGenerator<String> Generators.nonEmptyStrings()Factory method for creating aTypedGeneratorfor non-empty Strings.static TypedGenerator<Number> Generators.numbers()Factory method for creating aTypedGeneratorforNumber.static TypedGenerator<RuntimeException> Generators.runtimeExceptions()Factory method for creating aTypedGeneratorarbitraryRuntimeExceptionObjectsstatic TypedGenerator<Serializable> Generators.serializables()Factory method for creating aTypedGeneratorarbitrarySerializableObjectsstatic TypedGenerator<Short> Generators.shortObjects()Factory method for creating aTypedGeneratorforShort.static TypedGenerator<Short> Generators.shorts()Factory method for creating aTypedGeneratorfor short primitives.static TypedGenerator<String> Generators.strings()Factory method for creating aTypedGeneratorfor any Strings, may be null or empty.static TypedGenerator<String> Generators.strings(int minSize, int maxSize) Factory method for creating aTypedGeneratorfor Strings.static TypedGenerator<String> Factory method for creating strings with given characters and size.static TypedGenerator<Temporal> Generators.temporals()Factory method for creating aTypedGeneratorforTemporals.static TypedGenerator<Throwable> Generators.throwables()Factory method for creating aTypedGeneratorarbitraryThrowableObjectsstatic TypedGenerator<TimeZone> Generators.timeZones()Factory method for creating aTypedGeneratorforTimeZone.static <T> TypedGenerator<T> Generators.uniqueValues(TypedGenerator<T> source) Factory method for creating aTypedGeneratorgenerating unique values.static TypedGenerator<URL> Generators.urls()Factory method for creating aTypedGeneratorarbitraryURLs Objectsstatic TypedGenerator<ZonedDateTime> Generators.zonedDateTimes()Factory method for creating aTypedGeneratorforZonedDateTime.static TypedGenerator<ZoneId> Generators.zoneIds()Factory method for creating aTypedGeneratorforZoneId.static TypedGenerator<ZoneOffset> Generators.zoneOffsets()Factory method for creating aTypedGeneratorforZoneOffset.Methods in de.cuioss.test.generator that return types with arguments of type TypedGeneratorModifier and TypeMethodDescriptionstatic <T> Optional<TypedGenerator<T>> Generators.enumValuesIfAvailable(Class<T> type) Factory method for creating a generator for a possible given enum.Methods in de.cuioss.test.generator with parameters of type TypedGeneratorModifier and TypeMethodDescriptionstatic <T> CollectionGenerator<T> Generators.asCollectionGenerator(TypedGenerator<T> source) Factory method for creating aCollectionGeneratorgeneratingCollections from the givenTypedGenerator.static <T> TypedGenerator<T> Generators.uniqueValues(TypedGenerator<T> source) Factory method for creating aTypedGeneratorgenerating unique values. -
Uses of TypedGenerator in de.cuioss.test.generator.domain
Classes in de.cuioss.test.generator.domain that implement TypedGeneratorModifier and TypeClassDescriptionclassProvides a collection of placeholder texts (blind texts) for testing purposes.classGenerates names of major German cities for testing purposes.classGenerates LDAP Distinguished Names (DN) for testing purposes.classGenerates syntactically valid email addresses for testing purposes.classGenerates full names in the format 'firstname lastname' based on the specified locale.classGenerates realistic email subject lines for testing purposes, particularly focused on healthcare-related communications.classGenerates realisticPersonobjects for testing purposes.classGenerates random German-style phone numbers for testing purposes.classGenerates complete German street addresses by combining street names fromStreetNameGeneratorwith random house numbers.classGenerates typical German street names for test data generation.classCreates instances of UUIDsclassGenerates random UUID strings in the standard 8-4-4-4-12 format (e.g. "550e8400-e29b-41d4-a716-446655440000").classGenerates German postal codes (Postleitzahlen) for test data generation.Methods in de.cuioss.test.generator.domain that return TypedGenerator -
Uses of TypedGenerator in de.cuioss.test.generator.impl
Classes in de.cuioss.test.generator.impl that implement TypedGeneratorModifier and TypeClassDescriptionclassEnhances aTypedGeneratorwith collection generation capabilities.classA decorator pattern implementation forTypedGeneratorthat allows wrapping and enhancing existing generators.classGeneratesFloatobjects within a configurable range.classGeneratesLocalDateinstances within a reasonable range around the epoch.classGenerates randomLocalDateTimeinstances for testing purposes.classGeneratesLocalTimeinstances covering all possible times within a day.classGenerates non-empty and non-blank string values for testing purposes.classGeneratesNumberinstances using integer values.classGeneratesShortobjects across the full range of possible short values.classGenerates validURLinstances from a predefined set of well-known websites.classGeneratesZonedDateTimeinstances with random dates, times, and time zones.classGeneratesZoneOffsetinstances based on the available system time zones.Constructors in de.cuioss.test.generator.impl with parameters of type TypedGeneratorModifierConstructorDescriptionCollectionGenerator(TypedGenerator<T> wrapped) Constructor. using 2 and 12 as bounds of theCollectionsize to be created.CollectionGenerator(TypedGenerator<T> wrapped, int lowerBound, int upperBound) Constructor.CollectionGenerator(TypedGenerator<T> wrapped, TypedGenerator<Integer> sizeGenerator) -
Uses of TypedGenerator in de.cuioss.test.generator.internal.net
Classes in de.cuioss.test.generator.internal.net that implement TypedGenerator -
Uses of TypedGenerator in de.cuioss.test.generator.junit.parameterized
Methods in de.cuioss.test.generator.junit.parameterized that return TypedGeneratorModifier and TypeMethodDescriptionprotected TypedGenerator<?> AbstractTypedGeneratorArgumentsProvider.createGeneratorInstance(Class<? extends TypedGenerator<?>> generatorClass) Creates an instance of the specified generator class using its no-args constructor.Methods in de.cuioss.test.generator.junit.parameterized with parameters of type TypedGeneratorModifier and TypeMethodDescriptionprotected List<org.junit.jupiter.params.provider.Arguments> AbstractTypedGeneratorArgumentsProvider.generateArguments(TypedGenerator<?> generator) Generates arguments from a TypedGenerator.Method parameters in de.cuioss.test.generator.junit.parameterized with type arguments of type TypedGeneratorModifier and TypeMethodDescriptionprotected TypedGenerator<?> AbstractTypedGeneratorArgumentsProvider.createGeneratorInstance(Class<? extends TypedGenerator<?>> generatorClass) Creates an instance of the specified generator class using its no-args constructor.