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

Simplify/split ControlMigratorTest

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Obsolete
    • Neutral
    • None
    • 5.2
    • testing
    • None

    Description

      ControlMigrationTest is a whole collection of unit-tests for implementors of the ControlMigration interface. We should use the default pattern - one unit-test class per production class. Also the test-setup should do the bare minimum - in that case there's no need to create a MockSession and setting it in the MgnlContext. A simple MockNode would do.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                dlipp Daniel Lipp
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD