| Package | Description |
|---|---|
| net.openhft.chronicle.testframework.dto |
Provides interfaces and classes for testing Data Transfer Objects (DTOs) within
the Chronicle Test Framework.
|
| Modifier and Type | Method and Description |
|---|---|
default <R> @NotNull DtoTester.Builder<T> |
DtoTester.Builder.addMutator(@NotNull DtoTester.MutatorType mutatorType,
@NotNull String mutatorName,
@NotNull BiConsumer<? super T,? super R> setter,
R value)
Adds a mutator to the builder for testing, with a specified value.
|
<R> @NotNull DtoTester.Builder<T> |
DtoTester.Builder.addMutator(@NotNull DtoTester.MutatorType type,
@NotNull String mutatorName,
@NotNull Consumer<? super T> mutator)
Adds a mutator to the builder for testing.
|
static <T> @NotNull DtoTester.Builder<T> |
DtoTester.builder(@NotNull Class<T> type,
@NotNull Supplier<? extends T> constructor)
Builds a new DtoTester with the given type and constructor.
|
<R> @NotNull DtoTester.Builder<T> |
DtoTester.Builder.withAccessors(@NotNull Function<? super T,? extends R> getter,
@NotNull BiConsumer<? super T,? super R> setter)
Adds accessors to the builder for testing.
|
@NotNull DtoTester.Builder<T> |
DtoTester.Builder.withResetter(@NotNull Consumer<? super T> resetter)
Adds a resetter function to the builder.
|
@NotNull DtoTester.Builder<T> |
DtoTester.Builder.withValidator(@NotNull Consumer<? super T> validator)
Adds a validation function to the builder.
|
Copyright © 2024. All rights reserved.