User: user57 Date: 02/02/16 03:26:59 Modified: src/main/org/jboss/test/cmp2/relationship/manyToOneUnidirectional 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/manyToOneUnidirectional/ABTest.java Index: ABTest.java =================================================================== RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/cmp2/relationship/manyToOneUnidirectional/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"); @@ -23,7 +25,7 @@ InitialContext jndiContext = new InitialContext(); return (AHome) jndiContext.lookup("relation/manyToOne/unidirectional/table/A"); } catch(Exception e) { - e.printStackTrace(); + log.debug("failed", e); fail("Exception in getTableAHome: " + e.getMessage()); } return null; @@ -35,7 +37,7 @@ return (BHome) jndiContext.lookup("relation/manyToOne/unidirectional/table/B"); } catch(Exception e) { - e.printStackTrace(); + log.debug("failed", e); fail("Exception in getTableBHome: " + e.getMessage()); } return null; @@ -47,7 +49,7 @@ return (AHome) jndiContext.lookup("relation/manyToOne/unidirectional/fk/A"); } catch(Exception e) { - e.printStackTrace(); + log.debug("failed", e); fail("Exception in getFKAHome: " + e.getMessage()); } return null; @@ -59,7 +61,7 @@ return (BHome) jndiContext.lookup("relation/manyToOne/unidirectional/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