Tag: cws_dev300_odbmacros3 User: fs Date: 2008-08-02 20:33:48+0000 Modified: dba/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
Log: derive from TestCase - no need for the overhead of the CRMBasedTestCase File Changes: Directory: /dba/dbaccess/qa/complex/dbaccess/ ============================================= File [changed]: DatabaseDocument.java Url: http://dba.openoffice.org/source/browse/dba/dbaccess/qa/complex/dbaccess/DatabaseDocument.java?r1=1.1.2.8&r2=1.1.2.9 Delta lines: +4 -16 -------------------- --- DatabaseDocument.java 2008-08-02 20:28:11+0000 1.1.2.8 +++ DatabaseDocument.java 2008-08-02 20:33:46+0000 1.1.2.9 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: DatabaseDocument.java,v $ - * $Revision: 1.1.2.8 $ + * $Revision: 1.1.2.9 $ * * This file is part of OpenOffice.org. * @@ -91,7 +91,7 @@ import java.util.logging.Level; import java.util.logging.Logger; -public class DatabaseDocument extends CRMBasedTestCase implements com.sun.star.document.XDocumentEventListener +public class DatabaseDocument extends TestCase implements com.sun.star.document.XDocumentEventListener { private XComponent m_callbackFactory = null; private Vector m_documentEvents = new Vector(); @@ -250,9 +250,9 @@ { return new String[] { -// "testLoadable", + "testLoadable", "testDocumentEvents", -// "testGlobalEvents" + "testGlobalEvents" }; } @@ -314,18 +314,6 @@ } // -------------------------------------------------------------------------------------------------------- - protected void createTestCase() - { - super.createTestCase(); - } - - // -------------------------------------------------------------------------------------------------------- - private XMultiServiceFactory getFactory() - { - return (XMultiServiceFactory)param.getMSF(); - } - - // -------------------------------------------------------------------------------------------------------- private class UnoMethodDescriptor { public Class unoInterfaceClass = null; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
