| Modifier and Type | Class and Description |
|---|---|
class |
SimpleGeneratorWatcher
Simple non-generic watcher with no extra context on message generation.
|
| Modifier and Type | Method and Description |
|---|---|
GeneratorWatcher<Context> |
GeneratorWatcher.apply(Consumer<Context> consumer) |
static <Context extends net.morimekta.providence.testing.generator.GeneratorContext<Context>> |
GeneratorWatcher.create(Context base)
Create a message generator watcher with the given base context.
|
GeneratorWatcher<Context> |
GeneratorWatcher.dumpOnFailure()
Dump all generated messages on failure for this test only.
|
GeneratorWatcher<Context> |
GeneratorWatcher.dumpOnFailure(net.morimekta.providence.descriptor.PMessageDescriptor descriptor)
Dump all generated messages on failure for this test only.
|
GeneratorWatcher<Context> |
GeneratorWatcher.setOutputSerializer(net.morimekta.providence.serializer.Serializer defaultSerializer)
Set default serializer to standard output.
|
Copyright © 2015–2020 morimekta.net. All rights reserved.