Show
Ignore:
Timestamp:
02/12/10 13:48:43 (2 years ago)
Author:
amandel
Message:

- use current PMD from public repository
- remove implied dependencies from explicit list
- ignore compiler classpath warning.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        33eclipse 
        44${env.CRUISECONTROL_HOME} 
         5derbyDB 
         6.byecycle 
  • trunk/test/java/org/jcoderz/commons/LoggableImplTest.java

    r1299 r1606  
    240240   public final void testGetCause () 
    241241   { 
    242       final LoggableImpl testObject 
    243             = new LoggableImpl(null, TEST_LOG_MESSAGE_INFO, TEST_THREAD_ID, 
    244                 TEST_THREAD_NAME, TEST_INSTANCE_ID, TEST_NODE); 
    245       final Exception testException = new Exception(); 
    246  
    247       testObject.initCause(testException); 
    248  
     242       final Exception testException 
     243       = new RuntimeException("Runtime", new ArgumentMalformedException("foo", "val", "This is wrong!")); 
     244      final LoggableImpl testObject 
     245            = new LoggableImpl(null, TEST_LOG_MESSAGE_INFO, TEST_THREAD_ID, 
     246                TEST_THREAD_NAME, TEST_INSTANCE_ID, TEST_NODE, testException); 
     247//      testException.initCause(); 
     248      // testObject.initCause(testException); 
     249System.out.println("TEST: " + testObject.toDetailedString()); 
    249250      assertEquals("Cause getter changes value.", testException, 
    250251            testObject.getCause());