Package com.foreach.across.test.support
Class AbstractViewElementBuilderTest<T extends ViewElementBuilderSupport<U,T>,U extends MutableViewElement>
java.lang.Object
com.foreach.across.test.support.AbstractViewElementBuilderTest<T,U>
- Type Parameters:
T
- ViewElementBuilder implementation extending ViewElementBuilderSupportU
- ViewElement type that is generated by the builder
public abstract class AbstractViewElementBuilderTest<T extends ViewElementBuilderSupport<U,T>,U extends MutableViewElement>
extends Object
Base unit test for
ViewElementBuilderSupport
implementations. Mainly
verifies that all implemented methods return the same strongly typed builder instances - unless they are deliberately
excepted.
This class is mainly for internal use.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected T
protected ViewElementBuilderContext
protected ViewElementBuilderFactory
protected U
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
build()
void
protected abstract T
createBuilder
(ViewElementBuilderFactory builderFactory) void
void
reset()
-
Field Details
-
builder
-
element
-
builderFactory
-
builderContext
-
-
Constructor Details
-
AbstractViewElementBuilderTest
public AbstractViewElementBuilderTest()
-
-
Method Details
-
reset
@BeforeEach public void reset() -
commonProperties
@Test public void commonProperties() -
postProcessors
@Test public void postProcessors() -
createBuilder
-
build
protected void build()
-