Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-4995

Write test suite for UIFrameworkView interface

    XMLWordPrintable

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

        Attachments

          Activity

            People

              Unassigned Unassigned
              apchelintcev Aleksandr Pchelintcev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR