Changeset 1039
- Timestamp:
- 06/26/08 13:24:33 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/java/org/jcoderz/commons/util/AssertTest.java
r1011 r1039 78 78 } 79 79 80 /** Test the not fail method. */ 81 public final void testFail () 82 { 83 try 84 { 85 Assert.fail(BAR_STRING); 86 fail("Assertion fail should not pass."); 87 } 88 catch (AssertionFailedException ex) 89 { 90 assertEquals("Parameter message should be as given.", 91 BAR_STRING, 92 ex.getParameter( 93 RteLogMessage.AssertionFailed.PARAM_MESSAGE)); 94 } 95 } 96 80 97 /** 81 98 * Tests the method {@link Assert#assertTrue(String, boolean)}.
