User: user57  
  Date: 02/02/16 03:26:59

  Modified:    src/main/org/jboss/test/cmp2/relationship/oneToOneBidirectional
                        ABTest.java
  Log:
   o System.err, System.out & printStackTrace() 99.9% gone.
  
  Revision  Changes    Path
  1.4       +6 -4      
jbosstest/src/main/org/jboss/test/cmp2/relationship/oneToOneBidirectional/ABTest.java
  
  Index: ABTest.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/cmp2/relationship/oneToOneBidirectional/ABTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ABTest.java       29 Jan 2002 22:00:00 -0000      1.3
  +++ ABTest.java       16 Feb 2002 11:26:59 -0000      1.4
  @@ -9,6 +9,8 @@
   import org.jboss.test.JBossTestCase;
   
   public class ABTest extends EJBTestCase {
  +    static org.apache.log4j.Category log =
  +       org.apache.log4j.Category.getInstance(ABTest.class);
   
        public static Test suite() throws Exception {
                return JBossTestCase.getDeploySetup(ABTest.class, 
"cmp2-relationship.jar");
  @@ -25,7 +27,7 @@
            return (AHome) 
                  jndiContext.lookup("relation/oneToOne/bidirectional/table/A");
         } catch(Exception e) {
  -         e.printStackTrace();
  +         log.debug("failed", e);
            fail("Exception in getTableAHome: " + e.getMessage());
         }
         return null;
  @@ -38,7 +40,7 @@
            return (BHome) 
                  jndiContext.lookup("relation/oneToOne/bidirectional/table/B");
         } catch(Exception e) {
  -         e.printStackTrace();
  +         log.debug("failed", e);
            fail("Exception in getTableBHome: " + e.getMessage());
         }
         return null;
  @@ -51,7 +53,7 @@
            return (AHome) 
                  jndiContext.lookup("relation/oneToOne/bidirectional/fk/A");
         } catch(Exception e) {
  -         e.printStackTrace();
  +         log.debug("failed", e);
            fail("Exception in getFKAHome: " + e.getMessage());
         }
         return null;
  @@ -64,7 +66,7 @@
            return (BHome) 
                  jndiContext.lookup("relation/oneToOne/bidirectional/fk/B");
         } catch(Exception e) {
  -         e.printStackTrace();
  +         log.debug("failed", e);
            fail("Exception in getFKBHome: " + e.getMessage());
         }
         return null;
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to