public class TextMethodTester<T> extends Object
| Constructor and Description |
|---|
TextMethodTester(String input,
Function<T,Object> componentFunction,
Class<T> outputClass,
String output) |
| Modifier and Type | Method and Description |
|---|---|
String |
actual() |
Function<String,String> |
afterRun() |
TextMethodTester |
afterRun(Function<String,String> afterRun) |
BiConsumer<net.openhft.chronicle.bytes.MethodReader,T> |
exceptionHandlerSetup() |
TextMethodTester |
exceptionHandlerSetup(BiConsumer<net.openhft.chronicle.bytes.MethodReader,T> exceptionHandlerSetup) |
String |
expected() |
String |
genericEvent() |
TextMethodTester |
genericEvent(String genericEvent) |
TextMethodTester<T> |
methodReaderInterceptor(net.openhft.chronicle.bytes.MethodReaderInterceptor methodReaderInterceptor) |
TextMethodTester<T> |
methodWriterListener(net.openhft.chronicle.bytes.MethodWriterListener methodWriterListener) |
String[] |
retainLast() |
TextMethodTester |
retainLast(String... retainLast) |
TextMethodTester |
run() |
String |
setup() |
TextMethodTester |
setup(String setup) |
public String[] retainLast()
@NotNull public TextMethodTester retainLast(String... retainLast)
public String setup()
@NotNull public TextMethodTester setup(String setup)
@NotNull public TextMethodTester afterRun(Function<String,String> afterRun)
public BiConsumer<net.openhft.chronicle.bytes.MethodReader,T> exceptionHandlerSetup()
public TextMethodTester exceptionHandlerSetup(BiConsumer<net.openhft.chronicle.bytes.MethodReader,T> exceptionHandlerSetup)
public String genericEvent()
public TextMethodTester genericEvent(String genericEvent)
@NotNull public TextMethodTester run() throws IOException
IOExceptionpublic String expected()
public String actual()
public TextMethodTester<T> methodWriterListener(net.openhft.chronicle.bytes.MethodWriterListener methodWriterListener)
public TextMethodTester<T> methodReaderInterceptor(net.openhft.chronicle.bytes.MethodReaderInterceptor methodReaderInterceptor)
Copyright © 2018. All rights reserved.