All Classes
-
All Classes Interface Summary Class Summary Enum Summary Annotation Types Summary Class Description AbstractBeanTest<T> Base class for testingNamedbeans.AbstractComponentRendererTest<R extends Renderer> WhileAbstractRendererTestBasefocuses on API-Contract utility methods, this class provides a number of implicit tests.AbstractComponentTest<T extends UIComponent> Base class for testingUIComponents.AbstractConverterTest<C extends Converter,T> Base class for testing implementations ofConverterwithin a Junit 5 contextAbstractPropertyAwareFacesTest<T> Extension toJsfEnabledTestEnvironmentthat is capable of dealing with properties and generator likeValueObjectTest.AbstractRendererTestBase<R extends Renderer> Base class for testing implementations ofRenderer.AbstractSanitizingConverterTest<C extends Converter<T>,T> Extension of AbstractConverterTest to also test the sanitizing inside the getAsString function.AbstractUiComponentTest<T extends UIComponent> Extension toAbstractComponentTestthat implicitly tests a number of standard attributes like 'style', 'styleClass', 'rendered'AbstractValidatorTest<V extends Validator,T> Base Class for testing implementations ofValidatorwithin a Junit 5 contextApplicationConfigDecorator Helper class acting as runtime-registry forResourceBundle,NavigationHandler,ApplicationConfigurator Instances of this are to be called by the test framework after the initial setup is done.AttributeComparator Compares twoAttributeelements by nameBasicApplicationConfiguration Provides some default configuration for the tests.BeanConfigDecorator BeanConfigurator Provides a callback method for registeringNamedbeans for unit-testingCommonRendererAsserts This enum define the commonly used attributes to be tested.ComponentConfigDecorator ComponentConfigurator Instances of this are to be called by the test framework after the initial setup is done.ComponentPropertyMetadata ImplementsPropertyMetadatabut in addition provides the attribute ignoreOnValueExpresssionComponentTestHelper Helper class providing utility methods for convenient filtering of properties.ConfigurableApplication AnApplicationWrapperthat is capable to do more programmatic configuration compared to the ones provided by myfaces-testConfigurableFacesTest Base class for configuring theFacesContextprovided by MyFaces-Test.ConfigurationHelper Helper class providing some utility methods for handling configuration.ConverterTestItem<T> Extension toTestItemthat contains the the additional field "stringValue"CuiMockComponent Simple Mock component to be used for cases where you need an "any-component"CuiMockConfigurableNavigationHandler SimulateConfigurableNavigationHandlerCuiMockContextCallback Mock Variant ofContextCallback.CuiMockHttpServletRequest ExtendsMockHttpServletRequestand provides some additional convenience methodsCuiMockHttpSession Extension toMockHttpSessionthat provides the programmatic setting of 'maxInactiveInterval'CuiMockMethodExpression CuiMockRenderer Simple Mock renderer that is capable of rendering any element by using the simple-name of the given component.CuiMockResource Mock with all necessary values provided with settersCuiMockResourceHandler Mock Implementation ResourceHandlerCuiMockSearchExpressionContext Base Class for creating own instance ofSearchExpressionContextCuiMockSearchExpressionContextFactory Mock forSearchExpressionContextFactory.CuiMockSearchExpressionHandler Mock variant ofSearchExpressionHandlerto be used for unit-tests.CuiMockServletContext CuiMockUIViewRoot Mock variant ofUIViewRootproviding a heloer for adding aUIComponentat runtimeCuiMockViewHandler In addition toMockViewHandler20this extension provides a mockedCuiMockViewHandler.getViewDeclarationLanguage(FacesContext, String)usingEasyMockand a method for dynamically adding Composite-Component:CuiMockViewHandler.registerCompositeComponent(String, String, UIComponent)Technically they have not other use but being defined.DomUtils Helper class providing convenience methods for dealing with Dom trees.EnableJsfEnvironment Using this annotations at type-level of a junit 5 test enable the myfaces-test-based test-framework for unit-tests.HtmlTreeAsserts Provides asserts forDocumentand Jdom elements.JsfEnabledTestEnvironment Base class for creating unit-tests with a wired / configured JSF-environment being annotated withEnableJsfEnvironmentand implementingJsfEnvironmentConsumerJsfEnvironmentConsumer Simple interface to be used in context ofJsfSetupExtension.JsfEnvironmentHolder Holder for forJsfRuntimeSetupthat provides shorthands for accessing contained JSF-Objects likeFacesContext,ExternalContext,Application, ...JsfObjectsProducers Various JSF Producers for junit tests.JsfProvidedConverter Hybrid class that acts as anTypedGeneratorandComponentConfigurator.JsfRuntimeSetup Replacement for MyFacesAbstractJsfTestCase, where the code is initially taken fromJsfSetupExtension Starts and Configures theJsfRuntimeSetup, wraps it into anJsfEnvironmentHolderand inject it into anJsfEnvironmentConsumerif availableJsfTestConfiguration This annotations can be used to configure certain aspects of the configuration of the jsf-runtime for unit-testing.JsfTestContextConfigurator Simple Marker Interface for grouping the different JSf test configurators likeApplicationConfigurator,BeanConfigDecorator,ComponentConfiguratorandRequestConfiguratorMessageSeverityGenerator TypedGeneratorforFacesMessage.SeverityRendererAttributeAssert This interface defines the testing of implicit single attribute contracts.RequestConfigDecorator Helper class for configuring the requestRequestConfigurator Instances of this are to be called by the test framework after the initial setup is done.ReverseConverter For testing converterServletMockObjectsProducers Produces aRequestScopedHttpServletResponseRequestScopedHttpServletRequest.DependentServletContextIn contrast toServletObjectsFromJSFContextProducersthe mocks are instantiated directly It is designed as 'opt-in'.ServletObjectsFromJSFContextProducers Produces aRequestScopedHttpServletResponseRequestScopedHttpServletRequest.DependentServletContextThe objects are derived from theFacesContextIt is designed as 'opt-in'.TestItem<T> Object which represents one Test Item which will be checked byTestItems<T> TestData Store for Test Items which will be used byAbstractConverterTest
Class is prepared to be used as Fluent InterfaceTestItems<T> TestData Store for Test Items which will be used byAbstractValidatorTest-
Class is prepared to be used as Fluent InterfaceValueExpressionPropertyContract<T extends UIComponent> Tests all given properties according to the given List ofComponentPropertyMetadataVerifyComponentProperties If used onAbstractComponentTesttype configures the property-tests.VerifyComponentRendererConfig This annotation can be used for further configuration of tests based onAbstractComponentRendererTestVetoRenderAttributeAssert A contract Veto is used for for suppressing certain test-contracts.