arminw      2005/08/22 08:33:32

  Modified:    src/test/org/apache/ojb/otm Tag: OJB_1_0_RELEASE
                        CopyTest.java
  Log:
  fix test
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.10.2.2  +6 -4      db-ojb/src/test/org/apache/ojb/otm/CopyTest.java
  
  Index: CopyTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/otm/CopyTest.java,v
  retrieving revision 1.10.2.1
  retrieving revision 1.10.2.2
  diff -u -r1.10.2.1 -r1.10.2.2
  --- CopyTest.java     18 Mar 2005 19:22:30 -0000      1.10.2.1
  +++ CopyTest.java     22 Aug 2005 15:33:31 -0000      1.10.2.2
  @@ -51,21 +51,23 @@
                super(name);
        }
   
  -     public void setUp() throws LockingException
  +     public void setUp() throws Exception
        {
  -             ojbChangeReferenceSetting(TestClassA.class, "b", true, true, 
true, false);
  +             super.setUp();
  +        ojbChangeReferenceSetting(TestClassA.class, "b", true, true, true, 
false);
                ojbChangeReferenceSetting(TestClassB.class, "a", true, true, 
true, false);
           m_pb = PersistenceBrokerFactory.defaultPersistenceBroker();
                _kit = TestKit.getTestInstance();
                _conn = 
_kit.acquireConnection(PersistenceBrokerFactory.getDefaultKey());
        }
   
  -     public void tearDown() throws LockingException
  +     public void tearDown() throws Exception
        {
                m_pb.close();
                _conn.close();
                _conn = null;
  -     }
  +        super.tearDown();
  +    }
   
        public static void main(String[] args)
        {
  
  
  

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

Reply via email to