Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2188

Remove expected = RuntimeException.class attribute from tests

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 7.6.0.Final
    • 7.5.0.Final
    • core engine
    • None
    • NEW
    • NEW

    Description

      Some tests have @Test annotations with attribute expected = RuntimeException.class. This is too general and can hide bugs in related area that end with RuntimeException. E.g. see [1].

      [1] https://issues.jboss.org/browse/DROOLS-2186

      Attachments

        Activity

          People

            tzimanyi@redhat.com Tibor Zimányi
            tzimanyi@redhat.com Tibor Zimányi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: