Class TestViewNavigationProcessor
java.lang.Object
io.jmix.flowui.view.navigation.AbstractNavigationProcessor<ViewNavigator>
io.jmix.flowui.view.navigation.ViewNavigationProcessor
io.jmix.flowui.testassist.navigation.TestViewNavigationProcessor
The main goal of this class is supporting backward navigation in UI integration tests.
The ViewNavigationProcessor
is used for preparing and performing navigation to the
inheritor of StandardView
.
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 TestViewNavigationProcessor
replaces ViewNavigationProcessor
and
delegates building backward navigation URL to ViewNavigationDelegate
.
-
Field Summary
Fields inherited from class io.jmix.flowui.view.navigation.AbstractNavigationProcessor
navigationSupport, viewRegistry, viewSupport
-
Constructor Summary
ConstructorDescriptionTestViewNavigationProcessor
(ViewSupport viewSupport, ViewRegistry viewRegistry, ViewNavigationSupport navigationSupport, ViewNavigationDelegate<ViewNavigator> navigationDelegate) -
Method Summary
Methods inherited from class io.jmix.flowui.view.navigation.ViewNavigationProcessor
inferViewClass
Methods inherited from class io.jmix.flowui.view.navigation.AbstractNavigationProcessor
fireAfterViewNavigation, getQueryParameters, getRouteParameters, getViewClass
-
Field Details
-
Constructor Details
-
Method Details