-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Medium
-
Affects Version/s: 3.0.2
-
Component/s: Instrumentation
-
None
-
Environment:
Standalone
Java 6
Windows and Linux
I have a test like this:
@Test(expected = RuntimeException.class)
public void somethingThrows()
In a subclass, I override the test without expecting an exception.
@Override
@Test
public void somethingThrows(){ something(); }
The test in the subclass should only fail if it DOES throw, but when Clover runs, it reports this as a failed test because it does not throw a RuntimeException.