| Package | Description |
|---|---|
| net.openhft.chronicle.wire |
| Modifier and Type | Class and Description |
|---|---|
class |
YamlMethodTester<T>
Extends the
TextMethodTester for testing methods with YAML-based wire format. |
| Modifier and Type | Method and Description |
|---|---|
TextMethodTester<T> |
TextMethodTester.addOutputClass(Class<?> outputClass)
Adds an output class to the tester.
|
@NotNull TextMethodTester<T> |
TextMethodTester.afterRun(Function<String,String> afterRun)
Specifies the function to execute after a run.
|
TextMethodTester<T> |
TextMethodTester.exceptionHandlerFunction(Function<T,net.openhft.chronicle.core.onoes.ExceptionHandler> exceptionHandlerFunction)
Sets the exception handling function for the tester.
|
TextMethodTester<T> |
TextMethodTester.exceptionHandlerFunctionAndLog(boolean exceptionHandlerFunctionAndLog)
Configures whether the tester should log the exception handling function.
|
TextMethodTester<T> |
TextMethodTester.exceptionHandlerSetup(BiConsumer<net.openhft.chronicle.bytes.MethodReader,T> exceptionHandlerSetup)
Specifies the BiConsumer for handling the exception setup.
|
TextMethodTester<T> |
TextMethodTester.genericEvent(String genericEvent)
Specifies the generic event string.
|
TextMethodTester<T> |
TextMethodTester.inputFunction(Function<String,String> inputFunction)
Configures the input transformation function for the tester.
|
TextMethodTester<T> |
TextMethodTester.methodReaderInterceptorReturns(net.openhft.chronicle.bytes.MethodReaderInterceptorReturns methodReaderInterceptorReturns)
Sets the
MethodReaderInterceptorReturns for the tester. |
TextMethodTester<T> |
TextMethodTester.onInvocationException(Consumer<net.openhft.chronicle.core.util.InvocationTargetRuntimeException> onInvocationException)
Specifies the consumer for InvocationTargetRuntimeException.
|
@NotNull TextMethodTester<T> |
TextMethodTester.retainLast(String... retainLast)
Specifies strings that should be retained from the last run.
|
@NotNull TextMethodTester<T> |
TextMethodTester.run()
Executes the test based on the specified setup.
|
@NotNull TextMethodTester<T> |
TextMethodTester.setup(@Nullable String setup)
Specifies a single setup string for the method tester.
|
@NotNull TextMethodTester<T> |
TextMethodTester.setups(@NotNull List<String> setups)
Specifies a list of setup strings for the method tester.
|
TextMethodTester<T> |
TextMethodTester.testFilter(Predicate<String> testFilter)
Sets a filter for the tester to determine which tests should be executed.
|
TextMethodTester<T> |
TextMethodTester.timeoutMS(long timeoutMS)
Sets the timeout (in milliseconds) for the tester.
|
TextMethodTester<T> |
TextMethodTester.updateInterceptor(net.openhft.chronicle.bytes.UpdateInterceptor updateInterceptor)
Sets the
UpdateInterceptor for the tester. |
Copyright © 2024. All rights reserved.