User: user57
Date: 02/02/16 03:26:59
Modified: src/main/org/jboss/test/cmp2/relationship/oneToManyBidirectional
ABTest.java
Log:
o System.err, System.out & printStackTrace() 99.9% gone.
Revision Changes Path
1.5 +6 -4
jbosstest/src/main/org/jboss/test/cmp2/relationship/oneToManyBidirectional/ABTest.java
Index: ABTest.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/cmp2/relationship/oneToManyBidirectional/ABTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ABTest.java 29 Jan 2002 22:00:00 -0000 1.4
+++ ABTest.java 16 Feb 2002 11:26:59 -0000 1.5
@@ -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");
@@ -24,7 +26,7 @@
return (AHome)
jndiContext.lookup("relation/oneToMany/bidirectional/table/A");
} catch(Exception e) {
- e.printStackTrace();
+ log.debug("failed", e);
fail("Exception in getTableAHome: " + e.getMessage());
}
return null;
@@ -36,7 +38,7 @@
return (BHome)
jndiContext.lookup("relation/oneToMany/bidirectional/table/B");
} catch(Exception e) {
- e.printStackTrace();
+ log.debug("failed", e);
fail("Exception in getTableBHome: " + e.getMessage());
}
return null;
@@ -48,7 +50,7 @@
return (AHome) jndiContext.lookup("relation/oneToMany/bidirectional/fk/A");
} catch(Exception e) {
- e.printStackTrace();
+ log.debug("failed", e);
fail("Exception in getFKAHome: " + e.getMessage());
}
return null;
@@ -60,7 +62,7 @@
return (BHome) jndiContext.lookup("relation/oneToMany/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