Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-785

Fix and refactor Swagger unit tests

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 2.0.0
    • None

    Description

      Swagger unit tests in org.opendaylight.controller.sal.rest.doc.impl package are using incorrect equals call on module revision when looking for desired module in EffectiveModelContext.

      This in result means that assertions in tests are skipped.

      Fix looking for desired module by namespace and revision, fix incorrect tests assertions, and refactor Swagger unit tests.

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            ivanhrasko Ivan Hrasko
            ivanhrasko Ivan Hrasko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: