public abstract class CoercedTestRunnerSpec extends Object
StringWithMacros
from TestRunnerSpec
resolved to Arg
s.Constructor and Description |
---|
CoercedTestRunnerSpec() |
Modifier and Type | Method and Description |
---|---|
protected void |
check() |
protected abstract Object |
getData() |
static CoercedTestRunnerSpec |
of(Object data) |
void |
serialize(com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
SourcePathResolverAdapter sourcePathResolverAdapter)
Serializes the underlying freeform JSON of
Arg s. |
public static CoercedTestRunnerSpec of(Object data)
protected abstract Object getData()
@Value.Check protected void check()
public void serialize(com.fasterxml.jackson.core.JsonGenerator jsonGenerator, SourcePathResolverAdapter sourcePathResolverAdapter) throws IOException
Arg
s.jsonGenerator
- the json writersourcePathResolverAdapter
- the rule resolver for resolving Arg
sIOException