View by Classes

Findings - Overview

code-style JUnitAssertionsShouldIncludeMessage (PMD)

JUnit assertions should include a message

Further info on the wiki.
JUnit assertions should include a message - i.e., use the three argument version of assertEquals(), not the two argument version.
  
public class Foo extends TestCase {
 public void testSomething() {
  assertEquals("foo", "bar");
  // Use the form:
  // assertEquals("Foo does not equals bar", "foo", "bar");
  // instead
 }
}
  
      

Additional info can be found at this http://pmd.sourceforge.net/rules/junit.html#JUnitAssertionsShouldIncludeMessage site.

20org.jcoderz.commons.tracing.AspectPatternTest
 [48:5],  [49:5],  [51:5],  [60:5],  [61:5],  [62:5],  [64:5],  [66:5],  [68:5],  [70:5],  [72:5],  [74:5],  [76:5],  [87:5],  [89:5],  [91:5],  [93:5],  [95:5],  [97:5],  [99:5]
2org.jcoderz.commons.logging.FormatTest
 [120:7],  [121:7]
2org.jcoderz.phoenix.report.ReportReaderFactoryTest
 [73:7],  [75:7]
1org.jcoderz.commons.util.Base64UtilTest
 [216:7]
1org.jcoderz.commons.util.IoUtilTest
 [220:8]