Details
-
Task
-
Resolution: Done
-
Neutral
-
None
-
None
-
None
-
None
Description
UIFrameworkView interface is connects the views with the underlying session storages and provides the injection magic.
It needs to be tested. Since it requires Vaadin UI, session etc to be in place - it might be not that trivial to write a unit test for the interface. However, there is already a test utility called StubVaadinSession, which might already provide most of the required (if not all) implementation.
After we are able to bootstrap the framework views within a JUnit test - we would need to test the basic use cases like:
- view/sub-view creation
- bean storage clean-up upon view destruction (recursive!)
- new DI parameter resolvers (contexts and DS components)
Checklists
Acceptance criteria