epugh       2003/02/28 12:25:40

  Modified:    configuration/src/test/org/apache/commons/configuration
                        TestBaseConfiguration.java
  Log:
  remove extra printStackTrace..  makes you think it failed when it didn't!
  
  Revision  Changes    Path
  1.6       +5 -6      
jakarta-commons-sandbox/configuration/src/test/org/apache/commons/configuration/TestBaseConfiguration.java
  
  Index: TestBaseConfiguration.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/configuration/src/test/org/apache/commons/configuration/TestBaseConfiguration.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestBaseConfiguration.java        7 Feb 2003 00:21:50 -0000       1.5
  +++ TestBaseConfiguration.java        28 Feb 2003 20:25:40 -0000      1.6
  @@ -274,9 +274,9 @@
           eprop.setProperty( "test.first-level", "${test.base-level}/first-level" );
           eprop.setProperty( "test.second-level", "${test.first-level}/second-level" 
);
           eprop.setProperty( "test.third-level", "${test.second-level}/third-level" );
  -        
  +
           String expectedValue = "/base-level/first-level/second-level/third-level";
  -        
  +
           assertEquals( eprop.getString( "test.third-level" ),  expectedValue );
       }
   
  @@ -284,15 +284,14 @@
       {
           eprop.setProperty( "test.a", "${test.b}" );
           eprop.setProperty( "test.b", "${test.a}" );
  -        
  +
           try {
               eprop.getString( "test.a" );
           }
           catch( IllegalStateException e ) {
  -            e.printStackTrace();
               return;
           }
  -        
  +
           fail( "IllegalStateException should have been thrown for looped property 
references" );
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to