Class TestDetailViewNavigationProcessor
java.lang.Object
io.jmix.flowui.view.navigation.AbstractNavigationProcessor<DetailViewNavigator<?>>
io.jmix.flowui.view.navigation.DetailViewNavigationProcessor
io.jmix.flowui.testassist.navigation.TestDetailViewNavigationProcessor
The main goal of this class is supporting backward navigation in UI integration tests.
The DetailViewNavigationProcessor
is used for preparing and performing navigation to the
inheritor of StandardDetailView
.
To perform navigation the AbstractNavigationProcessor.processNavigation(AbstractViewNavigator)
method
checks whether backward navigation should be used or not. To get correct backward navigation URL it uses
information from client-side.
In UI integration tests there is no client-side, so backward navigation URL should be got by another way.
This is why TestDetailViewNavigationProcessor
replaces DetailViewNavigationProcessor
and
delegates building backward navigation URL to ViewNavigationDelegate
.
-
Field Summary
Fields inherited from class io.jmix.flowui.view.navigation.DetailViewNavigationProcessor
metadata, metadataTools, routeSupport
Fields inherited from class io.jmix.flowui.view.navigation.AbstractNavigationProcessor
navigationSupport, viewRegistry, viewSupport
-
Constructor Summary
ConstructorDescriptionTestDetailViewNavigationProcessor
(ViewSupport viewSupport, ViewRegistry viewRegistry, ViewNavigationSupport navigationSupport, RouteSupport routeSupport, Metadata metadata, MetadataTools metadataTools, ViewNavigationDelegate<DetailViewNavigator<?>> navigationDelegate) -
Method Summary
Methods inherited from class io.jmix.flowui.view.navigation.DetailViewNavigationProcessor
fireAfterViewNavigation, generateEditEntityRouteParameters, generateNewEntityRouteParameters, getEntityToEdit, getQueryParameters, getRouteParameters, inferViewClass, isNeedToSetEntityToEdit
Methods inherited from class io.jmix.flowui.view.navigation.AbstractNavigationProcessor
getViewClass
-
Field Details
-
Constructor Details
-
Method Details