Package de.cuioss.test.generator.domain
Class BlindTextGenerator
java.lang.Object
de.cuioss.test.generator.domain.BlindTextGenerator
- All Implemented Interfaces:
TypedGenerator<String>
Provides a collection of placeholder texts (blind texts) for testing purposes.
These texts are sourced from blindtextgenerator.de
and include various styles and languages.
Available text types:
- German blind texts
- Lorem ipsum variants
- Pangrams (sentences containing every letter of the alphabet)
- Fictional language samples
Example usage:
var generator = new BlindTextGenerator(); String text = generator.next(); // Returns one of eight predefined texts
The texts vary in length and content, making them suitable for different testing scenarios such as layout testing, text field validation, or content display testing.
- Author:
- Oliver Wolff
-
Constructor Details
-
BlindTextGenerator
public BlindTextGenerator()
-
-
Method Details
-
next
Description copied from interface:TypedGeneratorGenerates the next instance based on the generator's configuration. Implementations must ensure thread-safety.- Specified by:
nextin interfaceTypedGenerator<String>- Returns:
- A newly created instance. May be null if the generator explicitly supports null value generation.
-