| Package | Description |
|---|---|
| net.morimekta.providence.testing.util |
| Modifier and Type | Method and Description |
|---|---|
MessageGenerator |
MessageGenerator.addFactories(Collection<MessageGenerator.ValueSupplierFactory> factories)
Add a collection of value supplier factories to the generator.
|
MessageGenerator |
MessageGenerator.addFactories(MessageGenerator.ValueSupplierFactory... factories)
Add value supplier factories to the generator.
|
MessageGenerator |
MessageGenerator.addFactory(MessageGenerator.ValueSupplierFactory factory)
Add a value supplier factory to the generator.
|
MessageGenerator |
MessageGenerator.dumpOnFailure()
Dump all generated messages on failure for this test only.
|
MessageGenerator |
MessageGenerator.setFairy(io.codearte.jfairy.Fairy fairy)
Set the feiry data generator being used.
|
MessageGenerator |
MessageGenerator.setFillRate(double fillRate)
Set the field fill rate in the range <0.0 ..
|
MessageGenerator |
MessageGenerator.setLocale(Locale locale)
Set the locale to generate values for.
|
MessageGenerator |
MessageGenerator.setMaxCollectionItems(int max)
Set the max collection items for default generated collections.
|
MessageGenerator |
MessageGenerator.setMessageReader(MessageReader reader)
Set the message reader for the generator.
|
MessageGenerator |
MessageGenerator.setMessageWriter(MessageWriter writer)
Set the message writer in case of failure.
|
MessageGenerator |
MessageGenerator.setOutputSerializer(Serializer defaultSerializer)
Set default serializer to standard output.
|
MessageGenerator |
MessageGenerator.setRandom(Random random)
Set the random generator being used.
|
MessageGenerator |
MessageGenerator.setResourceReader(String resource)
Read messages from the given resource (pretty formatted).
|
MessageGenerator |
MessageGenerator.setResourceReader(String resource,
Serializer serializer)
Read messages from the given resource.
|
Copyright © 2015–2017 morimekta.net. All rights reserved.