-
Bug
-
Resolution: Done
-
Major
-
1.0.15.Final, 1.1.0.Beta4
-
None
In IJ test suite there are occurrences of Assert.fail(String) surrounding with a try-catch block that catches a general Throwable. This effectively means that AssertionError produced by Assert.fail() is eaten by the following catch clause, usually quietly. And then such a test passes instead of it fails.
Affected tests:
adapters/src/test/java/org/jboss/jca/adapters/jdbc/unit/H2SecurityDomainMultipleUsersTestCase.java core/src/test/java/org/jboss/jca/core/connectionmanager/connections/InterleavingTestCase.java deployers/src/test/java/org/jboss/jca/deployers/annotations/AnnotationsTestCase.java embedded/src/test/java/org/jboss/jca/embedded/unit/ShrinkWrapTestCase.java