Details

    • Sub-task
    • Status: Closed
    • Trivial
    • Resolution: Abandoned
    • None
    • None
    • test

    Description

      We have a few tests that look for expected exceptions by manually catching and explicitly failing in case no exception happens.

      Places that need to be fixed can be found by running:

        $> grep -rie "[^n]expected *exception" `find . -name test -path '*/src/*' -type d | xargs`
      

      (there are some false positives, e.g. TestIPv6NIOServerSocketChannel)

      We should clean these up to use JUnit's expected arg to the Test annotation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            busbey Sean Busbey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: