diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_fwk')
31 files changed, 151 insertions, 151 deletions
diff --git a/qadevOOo/tests/java/mod/_fwk/ControlMenuController.java b/qadevOOo/tests/java/mod/_fwk/ControlMenuController.java index cd469b9ed269..db2a50b0e622 100755 --- a/qadevOOo/tests/java/mod/_fwk/ControlMenuController.java +++ b/qadevOOo/tests/java/mod/_fwk/ControlMenuController.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -52,7 +52,7 @@ public class ControlMenuController extends TestCase { * protected void cleanup(TestParameters tParam, PrintWriter log) { log.println(" disposing xTextDoc "); - + try { XCloseable closer = (XCloseable) UnoRuntime.queryInterface( XCloseable.class, xTextDoc); @@ -66,7 +66,7 @@ public class ControlMenuController extends TestCase { /** * Create test environment. - */ + */ protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { TestEnvironment tEnv = null; XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); @@ -77,7 +77,7 @@ public class ControlMenuController extends TestCase { e.printStackTrace(log); throw new StatusException("Could not create object 'ControlMenuController'", e); } - + /* log.println("Creating instance..."); @@ -93,7 +93,7 @@ public class ControlMenuController extends TestCase { XModel xModel = (XModel)UnoRuntime.queryInterface(XModel.class, xTextDoc); // the supplier is available from the model - XUIConfigurationManagerSupplier xSupplier = + XUIConfigurationManagerSupplier xSupplier = (XUIConfigurationManagerSupplier)UnoRuntime.queryInterface( XUIConfigurationManagerSupplier.class, xModel); @@ -102,9 +102,9 @@ public class ControlMenuController extends TestCase { // just to make sure, it's the right one. log.println("TestObject: " + util.utils.getImplName(xManager)); tEnv = new TestEnvironment(xManager); */ - log.println("TestObject: " + utils.getImplName(oObj)); + log.println("TestObject: " + utils.getImplName(oObj)); tEnv = new TestEnvironment(oObj); return tEnv; } - + } diff --git a/qadevOOo/tests/java/mod/_fwk/Desktop.java b/qadevOOo/tests/java/mod/_fwk/Desktop.java index f777b58a9e27..c0ce8bd1fe80 100644 --- a/qadevOOo/tests/java/mod/_fwk/Desktop.java +++ b/qadevOOo/tests/java/mod/_fwk/Desktop.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/mod/_fwk/DispatchRecorder.java b/qadevOOo/tests/java/mod/_fwk/DispatchRecorder.java index 46c31dde8850..f552f185cda6 100644 --- a/qadevOOo/tests/java/mod/_fwk/DispatchRecorder.java +++ b/qadevOOo/tests/java/mod/_fwk/DispatchRecorder.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -90,7 +90,7 @@ public class DispatchRecorder extends TestCase { } catch (InterruptedException ex) { } - + XModel model = (XModel) UnoRuntime.queryInterface(XModel.class, oDoc); xFrame = model.getCurrentController().getFrame(); diff --git a/qadevOOo/tests/java/mod/_fwk/DispatchRecorderSupplier.java b/qadevOOo/tests/java/mod/_fwk/DispatchRecorderSupplier.java index 739c3d5709de..50323a5b055e 100644 --- a/qadevOOo/tests/java/mod/_fwk/DispatchRecorderSupplier.java +++ b/qadevOOo/tests/java/mod/_fwk/DispatchRecorderSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/mod/_fwk/DocumentProperties.java b/qadevOOo/tests/java/mod/_fwk/DocumentProperties.java index 22e36b48a8ed..59e760bad0b2 100644 --- a/qadevOOo/tests/java/mod/_fwk/DocumentProperties.java +++ b/qadevOOo/tests/java/mod/_fwk/DocumentProperties.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/mod/_fwk/FontMenuController.java b/qadevOOo/tests/java/mod/_fwk/FontMenuController.java index 9231cecfb0cf..da86e8276b18 100755 --- a/qadevOOo/tests/java/mod/_fwk/FontMenuController.java +++ b/qadevOOo/tests/java/mod/_fwk/FontMenuController.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,7 +40,7 @@ import util.utils; */ public class FontMenuController extends TestCase { XInterface oObj = null; - + protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { TestEnvironment tEnv = null; XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); @@ -51,10 +51,10 @@ public class FontMenuController extends TestCase { e.printStackTrace(log); throw new StatusException("Could not create object 'FontMenuController'", e); } - + log.println("TestObject: " + utils.getImplName(oObj)); tEnv = new TestEnvironment(oObj); return tEnv; } - + } diff --git a/qadevOOo/tests/java/mod/_fwk/FontSizeMenuController.java b/qadevOOo/tests/java/mod/_fwk/FontSizeMenuController.java index c0d99302af6c..a27f0d60ec63 100755 --- a/qadevOOo/tests/java/mod/_fwk/FontSizeMenuController.java +++ b/qadevOOo/tests/java/mod/_fwk/FontSizeMenuController.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,7 +40,7 @@ import util.utils; */ public class FontSizeMenuController extends TestCase { XInterface oObj = null; - + protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { TestEnvironment tEnv = null; XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); @@ -51,10 +51,10 @@ public class FontSizeMenuController extends TestCase { e.printStackTrace(log); throw new StatusException("Could not create object 'FontSizeMenuController'", e); } - + log.println("TestObject: " + utils.getImplName(oObj)); tEnv = new TestEnvironment(oObj); return tEnv; } - + } diff --git a/qadevOOo/tests/java/mod/_fwk/FooterMenuController.java b/qadevOOo/tests/java/mod/_fwk/FooterMenuController.java index 1b8184072ca2..c84a6c1f8f4b 100755 --- a/qadevOOo/tests/java/mod/_fwk/FooterMenuController.java +++ b/qadevOOo/tests/java/mod/_fwk/FooterMenuController.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,7 +40,7 @@ import util.utils; */ public class FooterMenuController extends TestCase { XInterface oObj = null; - + protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { TestEnvironment tEnv = null; XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); @@ -51,10 +51,10 @@ public class FooterMenuController extends TestCase { e.printStackTrace(log); throw new StatusException("Could not create object 'FooterMenuController'", e); } - + log.println("TestObject: " + utils.getImplName(oObj)); tEnv = new TestEnvironment(oObj); return tEnv; } - + } diff --git a/qadevOOo/tests/java/mod/_fwk/FormatMenuController.java b/qadevOOo/tests/java/mod/_fwk/FormatMenuController.java index 426d1790fb16..bce5015156e1 100755 --- a/qadevOOo/tests/java/mod/_fwk/FormatMenuController.java +++ b/qadevOOo/tests/java/mod/_fwk/FormatMenuController.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,7 +40,7 @@ import util.utils; */ public class FormatMenuController extends TestCase { XInterface oObj = null; - + protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { TestEnvironment tEnv = null; XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); @@ -51,10 +51,10 @@ public class FormatMenuController extends TestCase { e.printStackTrace(log); throw new StatusException("Could not create object 'FormatMenuController'", e); } - + log.println("TestObject: " + utils.getImplName(oObj)); tEnv = new TestEnvironment(oObj); return tEnv; } - + } diff --git a/qadevOOo/tests/java/mod/_fwk/Frame.java b/qadevOOo/tests/java/mod/_fwk/Frame.java index 1dbcd3adc62c..6e9b3d8ad780 100644 --- a/qadevOOo/tests/java/mod/_fwk/Frame.java +++ b/qadevOOo/tests/java/mod/_fwk/Frame.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -96,7 +96,7 @@ public class Frame extends TestCase { log.println(util.utils.getImplName(oObj)); TestEnvironment tEnv = new TestEnvironment( oObj ); - + tEnv.addObjRelation("XDispatchProvider.URL", ".uno:SwitchControlDesignMode"); diff --git a/qadevOOo/tests/java/mod/_fwk/HeaderMenuController.java b/qadevOOo/tests/java/mod/_fwk/HeaderMenuController.java index f39f184720c1..d4baffdc4500 100755 --- a/qadevOOo/tests/java/mod/_fwk/HeaderMenuController.java +++ b/qadevOOo/tests/java/mod/_fwk/HeaderMenuController.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,7 +40,7 @@ import util.utils; */ public class HeaderMenuController extends TestCase { XInterface oObj = null; - + protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { TestEnvironment tEnv = null; XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); @@ -51,10 +51,10 @@ public class HeaderMenuController extends TestCase { e.printStackTrace(log); throw new StatusException("Could not create object 'HeaderMenuController'", e); } - + log.println("TestObject: " + utils.getImplName(oObj)); tEnv = new TestEnvironment(oObj); return tEnv; } - + } diff --git a/qadevOOo/tests/java/mod/_fwk/JobExecutor.java b/qadevOOo/tests/java/mod/_fwk/JobExecutor.java index 32ee88d123f4..2f16d9922295 100644 --- a/qadevOOo/tests/java/mod/_fwk/JobExecutor.java +++ b/qadevOOo/tests/java/mod/_fwk/JobExecutor.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -176,7 +176,7 @@ public class JobExecutor extends TestCase { UnoRuntime.queryInterface(XSingleServiceFactory.class, events); Object oNewEvent = eventsFac.createInstance(); - XNameAccess xNewEventNA = (XNameAccess) + XNameAccess xNewEventNA = (XNameAccess) UnoRuntime.queryInterface(XNameAccess.class, oNewEvent); Object oJobList = xNewEventNA.getByName("JobList"); XSingleServiceFactory jobListFac = (XSingleServiceFactory) @@ -187,10 +187,10 @@ public class JobExecutor extends TestCase { oJobList); log.println("\tAdding TimeStamps to Events ..."); Object oNewJobTimeStamps = jobListFac.createInstance(); - + jobListNC.insertByName("TestJob", oNewJobTimeStamps); - - + + XNameContainer xEventsNC = (XNameContainer) UnoRuntime.queryInterface(XNameContainer.class, events); xEventsNC.insertByName("TestEvent", oNewEvent); diff --git a/qadevOOo/tests/java/mod/_fwk/JobHandler.java b/qadevOOo/tests/java/mod/_fwk/JobHandler.java index 6a6cacf2c83d..abfaf198f64e 100644 --- a/qadevOOo/tests/java/mod/_fwk/JobHandler.java +++ b/qadevOOo/tests/java/mod/_fwk/JobHandler.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/mod/_fwk/LayoutManager.java b/qadevOOo/tests/java/mod/_fwk/LayoutManager.java index d967ff287a38..6ba1b97fce76 100755 --- a/qadevOOo/tests/java/mod/_fwk/LayoutManager.java +++ b/qadevOOo/tests/java/mod/_fwk/LayoutManager.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -57,7 +57,7 @@ public class LayoutManager extends TestCase { */ protected void cleanup(TestParameters tParam, PrintWriter log) { log.println(" disposing xTextDoc "); - + try { XCloseable closer = (XCloseable) UnoRuntime.queryInterface( XCloseable.class, xTextDoc); @@ -111,12 +111,12 @@ public class LayoutManager extends TestCase { } // just to make sure, it's the right one. - log.println("TestObject: " + util.utils.getImplName(xManager)); + log.println("TestObject: " + util.utils.getImplName(xManager)); tEnv = new TestEnvironment(xManager); - + tEnv.addObjRelation("XLayoutManager.TextDoc", xTextDoc); tEnv.addObjRelation("XLayoutManager.Frame",xFrame); - + return tEnv; } } diff --git a/qadevOOo/tests/java/mod/_fwk/MacrosMenuController.java b/qadevOOo/tests/java/mod/_fwk/MacrosMenuController.java index 015db63832e4..22f3fcb269e7 100755 --- a/qadevOOo/tests/java/mod/_fwk/MacrosMenuController.java +++ b/qadevOOo/tests/java/mod/_fwk/MacrosMenuController.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,7 +40,7 @@ import util.utils; */ public class MacrosMenuController extends TestCase{ XInterface oObj = null; - + protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { TestEnvironment tEnv = null; XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); @@ -51,10 +51,10 @@ public class MacrosMenuController extends TestCase{ e.printStackTrace(log); throw new StatusException("Could not create object 'MacrosMenuController'", e); } - + log.println("TestObject: " + utils.getImplName(oObj)); tEnv = new TestEnvironment(oObj); return tEnv; - } + } } diff --git a/qadevOOo/tests/java/mod/_fwk/MailToDispatcher.java b/qadevOOo/tests/java/mod/_fwk/MailToDispatcher.java index afaf35486841..fc5e84c0532d 100644 --- a/qadevOOo/tests/java/mod/_fwk/MailToDispatcher.java +++ b/qadevOOo/tests/java/mod/_fwk/MailToDispatcher.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/mod/_fwk/MenuBarFactory.java b/qadevOOo/tests/java/mod/_fwk/MenuBarFactory.java index f7d11d422046..d8ca9a58a85d 100755 --- a/qadevOOo/tests/java/mod/_fwk/MenuBarFactory.java +++ b/qadevOOo/tests/java/mod/_fwk/MenuBarFactory.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,13 +39,13 @@ import lib.TestParameters; */ public class MenuBarFactory extends TestCase { XInterface oObj = null; - + protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { TestEnvironment tEnv = null; try { XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); oObj = (XInterface)xMSF.createInstance("com.sun.star.comp.framework.MenuBarFactory"); - + tEnv = new TestEnvironment(oObj); } catch(com.sun.star.uno.Exception e) { diff --git a/qadevOOo/tests/java/mod/_fwk/ModuleManager.java b/qadevOOo/tests/java/mod/_fwk/ModuleManager.java index 790ad94ddcfc..026faf8c1012 100755 --- a/qadevOOo/tests/java/mod/_fwk/ModuleManager.java +++ b/qadevOOo/tests/java/mod/_fwk/ModuleManager.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -90,17 +90,17 @@ public class ModuleManager extends TestCase { // get a soffice factory object SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory) Param.getMSF()); - + // get text document interfaces try { log.println("creating a text document"); xTextDoc = SOF.createTextDoc(null); - + } catch (Exception e) { e.printStackTrace(log); throw new StatusException("Couldn't create document ", e); } - XModel xTextMode1 = (XModel) UnoRuntime.queryInterface(XModel.class, + XModel xTextMode1 = (XModel) UnoRuntime.queryInterface(XModel.class, xTextDoc); XController xTextController = xTextMode1.getCurrentController(); XFrame xTextFrame = xTextController.getFrame(); @@ -110,12 +110,12 @@ public class ModuleManager extends TestCase { try { log.println("creating a web document"); xWebDoc = SOF.loadDocument("private:factory/swriter/web"); - + } catch (Exception e) { e.printStackTrace(log); throw new StatusException("Couldn't create document ", e); } - XModel xWebMode1 = (XModel) UnoRuntime.queryInterface(XModel.class, + XModel xWebMode1 = (XModel) UnoRuntime.queryInterface(XModel.class, xWebDoc); XController xWebController = xWebMode1.getCurrentController(); XFrame xWebFrame = xWebController.getFrame(); @@ -124,12 +124,12 @@ public class ModuleManager extends TestCase { try { log.println("creating a global document"); xGlobalDoc = SOF.loadDocument("private:factory/swriter/GlobalDocument"); - + } catch (Exception e) { e.printStackTrace(log); throw new StatusException("Couldn't create document ", e); } - XModel xGlobalMode1 = (XModel) UnoRuntime.queryInterface(XModel.class, + XModel xGlobalMode1 = (XModel) UnoRuntime.queryInterface(XModel.class, xGlobalDoc); XController xGlobalController = xGlobalMode1.getCurrentController(); XFrame xGlobalFrame = xGlobalController.getFrame(); @@ -142,7 +142,7 @@ public class ModuleManager extends TestCase { e.printStackTrace(log); throw new StatusException("Couldn't create document ", e); } - XModel xSheetMode1 = (XModel) UnoRuntime.queryInterface(XModel.class, + XModel xSheetMode1 = (XModel) UnoRuntime.queryInterface(XModel.class, xSheetDoc); XController xSheetController = xSheetMode1.getCurrentController(); @@ -155,11 +155,11 @@ public class ModuleManager extends TestCase { e.printStackTrace(log); throw new StatusException("Couldn't create document ", e); } - XModel xDrawMode1 = (XModel) UnoRuntime.queryInterface(XModel.class, + XModel xDrawMode1 = (XModel) UnoRuntime.queryInterface(XModel.class, xDrawDoc); XController xDrawController = xDrawMode1.getCurrentController(); XFrame xDrawFrame = xDrawController.getFrame(); - + // get impress interfaces try { log.println("creating a impress document"); @@ -168,11 +168,11 @@ public class ModuleManager extends TestCase { e.printStackTrace(log); throw new StatusException("Couldn't create document ", e); } - XModel xImpressMode1 = (XModel) UnoRuntime.queryInterface(XModel.class, + XModel xImpressMode1 = (XModel) UnoRuntime.queryInterface(XModel.class, xImpressDoc); XController xImpressController = xImpressMode1.getCurrentController(); XFrame xImpressFrame = xImpressController.getFrame(); - + // get math interfaces try { log.println("creating a math document"); @@ -181,11 +181,11 @@ public class ModuleManager extends TestCase { e.printStackTrace(log); throw new StatusException("Couldn't create document ", e); } - XModel xMathMode1 = (XModel) UnoRuntime.queryInterface(XModel.class, + XModel xMathMode1 = (XModel) UnoRuntime.queryInterface(XModel.class, xMathDoc); XController xMathController = xMathMode1.getCurrentController(); XFrame xMathFrame = xMathController.getFrame(); - + PropertyValue[] xFrameSeq = new PropertyValue[7]; xFrameSeq[0] = new PropertyValue(); xFrameSeq[0].Name = "com.sun.star.text.TextDocument"; @@ -254,10 +254,10 @@ public class ModuleManager extends TestCase { xModelSeq[6] = new PropertyValue(); xModelSeq[6].Name = "com.sun.star.formula.FormulaProperties"; xModelSeq[6].Value = xMathMode1; - + TestEnvironment tEnv = new TestEnvironment( oObj ); - - + + tEnv.addObjRelation("XModuleManager.XFrame", xFrameSeq); tEnv.addObjRelation("XModuleManager.XController", xControllerSeq); tEnv.addObjRelation("XModuleManager.XModel", xModelSeq); diff --git a/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManager.java b/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManager.java index 7b30a94b3293..4f4f950e0ed6 100755 --- a/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManager.java +++ b/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManager.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -92,23 +92,23 @@ public class ModuleUIConfigurationManager extends TestCase { */ protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { TestEnvironment tEnv = null; - + try { xMSF = (XMultiServiceFactory)tParam.getMSF(); - + log.println("Creating instance..."); xTextDoc = WriterTools.createTextDoc(xMSF); - + Object o = (XInterface)xMSF.createInstance("com.sun.star.ui.ModuleUIConfigurationManagerSupplier"); XModuleUIConfigurationManagerSupplier xMUICMS = (XModuleUIConfigurationManagerSupplier) UnoRuntime.queryInterface(XModuleUIConfigurationManagerSupplier.class, o); - + util.dbg.printInterfaces(xMUICMS); oObj = xMUICMS.getUIConfigurationManager("com.sun.star.text.TextDocument"); - log.println("TestObject: " + utils.getImplName(oObj)); + log.println("TestObject: " + utils.getImplName(oObj)); tEnv = new TestEnvironment(oObj); - + XNameAccess xMM = (XNameAccess)UnoRuntime.queryInterface(XNameAccess.class, xMSF.createInstance("com.sun.star.comp.framework.ModuleManager")); String[] names = xMM.getElementNames(); @@ -116,13 +116,13 @@ public class ModuleUIConfigurationManager extends TestCase { XSingleServiceFactory xStorageService = (XSingleServiceFactory) UnoRuntime.queryInterface(XSingleServiceFactory.class, o); Object[]props = new Object[2]; - + String aFile = util.utils.getOfficeTempDir(xMSF) + "dummyFile.dat"; log.println("storage file : '"+ aFile + "'"); - + props[0] = aFile; props[1] = new Integer(ElementModes.READWRITE); - xStore = (XStorage)UnoRuntime.queryInterface(XStorage.class, xStorageService.createInstanceWithArguments(props)); + xStore = (XStorage)UnoRuntime.queryInterface(XStorage.class, xStorageService.createInstanceWithArguments(props)); PropertyValue[] initProps = new PropertyValue[4]; PropertyValue propVal = new PropertyValue(); @@ -131,8 +131,8 @@ public class ModuleUIConfigurationManager extends TestCase { initProps[0] = propVal; propVal = new PropertyValue(); propVal.Name = "UserConfigStorage"; - propVal.Value = xStore; - initProps[1] = propVal; + propVal.Value = xStore; + initProps[1] = propVal; propVal = new PropertyValue(); propVal.Name = "ModuleIdentifier"; propVal.Value = "swriter"; @@ -140,24 +140,24 @@ public class ModuleUIConfigurationManager extends TestCase { propVal = new PropertyValue(); propVal.Name = "UserRootCommit"; propVal.Value = (XTransactedObject)UnoRuntime.queryInterface(XTransactedObject.class, xStore); - initProps[3] = propVal; - - + initProps[3] = propVal; + + tEnv.addObjRelation("XInitialization.args", initProps); - + // the short cut manager service name - // 2do: correct the service name when it's no longer in - tEnv.addObjRelation("XConfigurationManager.ShortCutManager", + // 2do: correct the service name when it's no longer in + tEnv.addObjRelation("XConfigurationManager.ShortCutManager", "com.sun.star.ui.ModuleAcceleratorConfiguration"); - + // the resourceURL tEnv.addObjRelation("XModuleUIConfigurationManager.ResourceURL", "private:resource/menubar/menubar"); - tEnv.addObjRelation("XUIConfiguration.XUIConfigurationListenerImpl", - new ConfigurationListener(log, + tEnv.addObjRelation("XUIConfiguration.XUIConfigurationListenerImpl", + new ConfigurationListener(log, (XUIConfigurationManager)UnoRuntime.queryInterface( XUIConfigurationManager.class, oObj), xMSF)); - tEnv.addObjRelation("XModuleUIConfigurationManagerSupplier.ConfigManagerImplementationName", + tEnv.addObjRelation("XModuleUIConfigurationManagerSupplier.ConfigManagerImplementationName", "com.sun.star.comp.framework.ModuleUIConfigurationManager"); } catch(com.sun.star.uno.Exception e) { @@ -166,7 +166,7 @@ public class ModuleUIConfigurationManager extends TestCase { } return tEnv; } - + /** * An implementation of the _XUIConfiguration.XUIConfigurationListenerImpl * interface to trigger the event for a listener call. @@ -177,7 +177,7 @@ public class ModuleUIConfigurationManager extends TestCase { private PrintWriter log = null; private XUIConfigurationManager xUIManager = null; private XMultiServiceFactory xMSF = null; - + public ConfigurationListener(PrintWriter _log, XUIConfigurationManager xUIManager, XMultiServiceFactory xMSF) { log = _log; this.xUIManager = xUIManager; @@ -193,7 +193,7 @@ public class ModuleUIConfigurationManager extends TestCase { PropertyValue[]prop = _XUIConfigurationManager.createMenuBarEntry( "Trigger Event", xMenuBarSettings, xMSF, log); - _XUIConfigurationManager.createMenuBarItem("Click for Macro", + _XUIConfigurationManager.createMenuBarItem("Click for Macro", (XIndexContainer)UnoRuntime.queryInterface( XIndexContainer.class, prop[3].Value), log); XIndexContainer x = (XIndexContainer)UnoRuntime.queryInterface(XIndexContainer.class, xMenuBarSettings); @@ -241,5 +241,5 @@ public class ModuleUIConfigurationManager extends TestCase { log.println("_XUIConfiguration.XUIConfigurationListenerImpl.elementReplaced."); } } - + } diff --git a/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManagerSupplier.java b/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManagerSupplier.java index 0d3ba82f9115..9da4e7fa8d59 100755 --- a/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManagerSupplier.java +++ b/qadevOOo/tests/java/mod/_fwk/ModuleUIConfigurationManagerSupplier.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,14 +40,14 @@ import lib.TestParameters; */ public class ModuleUIConfigurationManagerSupplier extends TestCase{ XInterface oObj = null; - + protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { TestEnvironment tEnv = null; try { XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); oObj = (XInterface)xMSF.createInstance("com.sun.star.ui.ModuleUIConfigurationManagerSupplier"); tEnv = new TestEnvironment(oObj); - tEnv.addObjRelation("XModuleUIConfigurationManagerSupplier.ConfigurationManager", + tEnv.addObjRelation("XModuleUIConfigurationManagerSupplier.ConfigurationManager", "com.sun.star.frame.StartModule"); tEnv.addObjRelation("XModuleUIConfigurationManagerSupplier.ConfigManagerImplementationName", "com.sun.star.comp.framework.ModuleUIConfigurationManager"); } @@ -55,6 +55,6 @@ public class ModuleUIConfigurationManagerSupplier extends TestCase{ throw new StatusException("Cannot create test object", e); } return tEnv; - } - + } + } diff --git a/qadevOOo/tests/java/mod/_fwk/ObjectMenuController.java b/qadevOOo/tests/java/mod/_fwk/ObjectMenuController.java index 3fd6a3d8ed0c..2b1da80a87d5 100755 --- a/qadevOOo/tests/java/mod/_fwk/ObjectMenuController.java +++ b/qadevOOo/tests/java/mod/_fwk/ObjectMenuController.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -53,7 +53,7 @@ public class ObjectMenuController extends TestCase { */ protected void cleanup(TestParameters tParam, PrintWriter log) { log.println(" disposing xTextDoc "); - + try { XCloseable closer = (XCloseable) UnoRuntime.queryInterface( XCloseable.class, xTextDoc); @@ -88,7 +88,7 @@ public class ObjectMenuController extends TestCase { e.printStackTrace(log); throw new StatusException("Could not create object 'ControlMenuController'", e); } - log.println("TestObject: " + utils.getImplName(oObj)); + log.println("TestObject: " + utils.getImplName(oObj)); tEnv = new TestEnvironment(oObj); return tEnv; } diff --git a/qadevOOo/tests/java/mod/_fwk/PopupMenuControllerFactory.java b/qadevOOo/tests/java/mod/_fwk/PopupMenuControllerFactory.java index e45cd14ad452..91ac2fbd8e70 100755 --- a/qadevOOo/tests/java/mod/_fwk/PopupMenuControllerFactory.java +++ b/qadevOOo/tests/java/mod/_fwk/PopupMenuControllerFactory.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -55,7 +55,7 @@ public class PopupMenuControllerFactory extends TestCase { */ protected void cleanup(TestParameters tParam, PrintWriter log) { log.println(" disposing xTextDoc "); - + try { XCloseable closer = (XCloseable) UnoRuntime.queryInterface( XCloseable.class, xTextDoc); @@ -67,7 +67,7 @@ public class PopupMenuControllerFactory extends TestCase { } } - + /** * Create test environment: * @param tParam The test parameters. @@ -83,7 +83,7 @@ public class PopupMenuControllerFactory extends TestCase { xTextDoc = WriterTools.createTextDoc(xMSF); util.dbg.printInterfaces(xTextDoc); - + try { xInst = (XInterface)xMSF.createInstance( "com.sun.star.comp.framework.PopupMenuControllerFactory"); @@ -91,7 +91,7 @@ public class PopupMenuControllerFactory extends TestCase { catch(com.sun.star.uno.Exception e) { throw new StatusException("Couldn't create test object", e); } - + log.println("TestObject: " + util.utils.getImplName(xInst)); tEnv = new TestEnvironment(xInst); XPropertySet xProp = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, xMSF); @@ -108,15 +108,15 @@ public class PopupMenuControllerFactory extends TestCase { log.println("Cannot get the 'DefaultContext' for XMultiComponentFactory test."); e.printStackTrace(log); } - + // register one controller, so it can be instantiated XUIControllerRegistration xReg = (XUIControllerRegistration) UnoRuntime.queryInterface(XUIControllerRegistration.class, xInst); - + xReg.registerController(".uno:MyCommandUrl", "", "com.sun.star.comp.framework.FooterMenuController"); tEnv.addObjRelation("XUIControllerRegistration.RegisteredController", ".uno:MyCommandUrl"); tEnv.addObjRelation("XMultiComponentFactory.ServiceNames", new String[]{".uno:MyCommandUrl"}); - + return tEnv; } } diff --git a/qadevOOo/tests/java/mod/_fwk/ServiceHandler.java b/qadevOOo/tests/java/mod/_fwk/ServiceHandler.java index 391e01f4cb42..9caa75de4d4f 100644 --- a/qadevOOo/tests/java/mod/_fwk/ServiceHandler.java +++ b/qadevOOo/tests/java/mod/_fwk/ServiceHandler.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/qadevOOo/tests/java/mod/_fwk/SoundHandler.java b/qadevOOo/tests/java/mod/_fwk/SoundHandler.java index 3b74f8015a43..d94c3d57a123 100644 --- a/qadevOOo/tests/java/mod/_fwk/SoundHandler.java +++ b/qadevOOo/tests/java/mod/_fwk/SoundHandler.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -70,9 +70,9 @@ public class SoundHandler extends TestCase { } TestEnvironment tEnv = new TestEnvironment( oObj ); - URL dispURL = utils.parseURL((XMultiServiceFactory)Param.getMSF(), + URL dispURL = utils.parseURL((XMultiServiceFactory)Param.getMSF(), utils.getFullTestURL("ok.wav")); - System.out.println("DISPATCHURL: "+ dispURL.Complete); + System.out.println("DISPATCHURL: "+ dispURL.Complete); tEnv.addObjRelation("XDispatch.URL", dispURL); return tEnv; diff --git a/qadevOOo/tests/java/mod/_fwk/StatusBarControllerFactory.java b/qadevOOo/tests/java/mod/_fwk/StatusBarControllerFactory.java index bc3cfa588aa7..a7d09a818331 100644 --- a/qadevOOo/tests/java/mod/_fwk/StatusBarControllerFactory.java +++ b/qadevOOo/tests/java/mod/_fwk/StatusBarControllerFactory.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,13 +41,13 @@ import lib.TestParameters; */ public class StatusBarControllerFactory extends TestCase { XInterface oObj = null; - + protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { TestEnvironment tEnv = null; XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); try { oObj = (XInterface)xMSF.createInstance("com.sun.star.comp.framework.StatusBarControllerFactory"); - + tEnv = new TestEnvironment(oObj); } catch(com.sun.star.uno.Exception e) { diff --git a/qadevOOo/tests/java/mod/_fwk/ToolBarsMenuController.java b/qadevOOo/tests/java/mod/_fwk/ToolBarsMenuController.java index 5472043e4e88..a27761f0389c 100644 --- a/qadevOOo/tests/java/mod/_fwk/ToolBarsMenuController.java +++ b/qadevOOo/tests/java/mod/_fwk/ToolBarsMenuController.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,7 +40,7 @@ import util.utils; */ public class ToolBarsMenuController extends TestCase { XInterface oObj = null; - + protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { TestEnvironment tEnv = null; XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); @@ -51,10 +51,10 @@ public class ToolBarsMenuController extends TestCase { e.printStackTrace(log); throw new StatusException("Could not create object 'ToolBarsMenuController'", e); } - + log.println("TestObject: " + utils.getImplName(oObj)); tEnv = new TestEnvironment(oObj); return tEnv; } - + } diff --git a/qadevOOo/tests/java/mod/_fwk/UICategoryDescription.java b/qadevOOo/tests/java/mod/_fwk/UICategoryDescription.java index 9f7492a497b8..2adf240b8db4 100644 --- a/qadevOOo/tests/java/mod/_fwk/UICategoryDescription.java +++ b/qadevOOo/tests/java/mod/_fwk/UICategoryDescription.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,7 +40,7 @@ import util.utils; */ public class UICategoryDescription extends TestCase { XInterface oObj = null; - + protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { TestEnvironment tEnv = null; XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); @@ -51,10 +51,10 @@ public class UICategoryDescription extends TestCase { e.printStackTrace(log); throw new StatusException("Could not create object 'UICategoryDescription'", e); } - + log.println("TestObject: " + utils.getImplName(oObj)); tEnv = new TestEnvironment(oObj); return tEnv; } - + } diff --git a/qadevOOo/tests/java/mod/_fwk/UICommandDescription.java b/qadevOOo/tests/java/mod/_fwk/UICommandDescription.java index 19277d71621c..7b506972e5f0 100755 --- a/qadevOOo/tests/java/mod/_fwk/UICommandDescription.java +++ b/qadevOOo/tests/java/mod/_fwk/UICommandDescription.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,7 +41,7 @@ import util.utils; */ public class UICommandDescription extends TestCase { XInterface oObj = null; - + protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { TestEnvironment tEnv = null; XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); @@ -52,10 +52,10 @@ public class UICommandDescription extends TestCase { e.printStackTrace(log); throw new StatusException("Could not create object 'UICommandDescription'", e); } - + log.println("TestObject: " + utils.getImplName(oObj)); tEnv = new TestEnvironment(oObj); return tEnv; - } + } } diff --git a/qadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java b/qadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java index 0ab78ad40bab..235e8a4be8ab 100755 --- a/qadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java +++ b/qadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -53,8 +53,8 @@ import util.utils; */ public class UIConfigurationManager extends TestCase { XUIConfigurationManager xManager = null; - - + + /** * Create test environment: * <ul> @@ -70,9 +70,9 @@ public class UIConfigurationManager extends TestCase { protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) { TestEnvironment tEnv = null; XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); - + log.println("Creating instance..."); - + try { xManager = (XUIConfigurationManager)UnoRuntime.queryInterface( XUIConfigurationManager.class, xMSF.createInstance( @@ -83,7 +83,7 @@ public class UIConfigurationManager extends TestCase { // just to make sure, it's the right one. log.println("TestObject: " + utils.getImplName(xManager)); tEnv = new TestEnvironment(xManager); - + // create a configuration storage try { String sourceDeleteCfg = util.utils.getFullTestURL("delete.cfg"); @@ -98,7 +98,7 @@ public class UIConfigurationManager extends TestCase { props[1] = new Integer(ElementModes.READWRITE); XStorage xRootStorage = (XStorage)UnoRuntime.queryInterface(XStorage.class, xSSF.createInstanceWithArguments(props)); xSubStorage = xRootStorage.openStorageElement("Configurations2", ElementModes.READWRITE); - + XUIConfigurationStorage xConfigStorage =(XUIConfigurationStorage)UnoRuntime.queryInterface(XUIConfigurationStorage.class, xManager); xConfigStorage.setStorage(xSubStorage); tEnv.addObjRelation("XUIConfigurationStorage.Storage", xSubStorage); @@ -107,17 +107,17 @@ public class UIConfigurationManager extends TestCase { log.println("Could not create storage: " + e.toString()); } util.dbg.printInterfaces(xManager); - + tEnv.addObjRelation("XUIConfiguration.XUIConfigurationListenerImpl", new ConfigurationListener(log, xManager, xMSF)); // the short cut manager service name - // 2do: correct the service name when it's no longer in - tEnv.addObjRelation("XConfigurationManager.ShortCutManager", + // 2do: correct the service name when it's no longer in + tEnv.addObjRelation("XConfigurationManager.ShortCutManager", "com.sun.star.ui.DocumentAcceleratorConfiguration"); return tEnv; } - + /** * An implementation of the _XUIConfiguration.XUIConfigurationListenerImpl * interface to trigger the event for a listener call. @@ -129,7 +129,7 @@ public class UIConfigurationManager extends TestCase { private XUIConfigurationManager xUIManager = null; private XMultiServiceFactory xMSF = null; private static int iUniqueCounter; - + public ConfigurationListener(PrintWriter _log, XUIConfigurationManager xUIManager, XMultiServiceFactory xMSF) { log = _log; this.xUIManager = xUIManager; @@ -146,7 +146,7 @@ public class UIConfigurationManager extends TestCase { PropertyValue[][]props = xUIManager.getUIElementsInfo(UIElementType.UNKNOWN); XIndexAccess xMenuBarSettings = xUIManager.getSettings( "private:resource/menubar/menubar", true); - + PropertyValue[]prop = _XUIConfigurationManager.createMenuBarEntry( "Trigger Event", xMenuBarSettings, xMSF, log); _XUIConfigurationManager.createMenuBarItem("Click for Macro", @@ -199,7 +199,7 @@ public class UIConfigurationManager extends TestCase { log.println("_XUIConfiguration.XUIConfigurationListenerImpl.elementReplaced."); } } - + } diff --git a/qadevOOo/tests/java/mod/_fwk/UIElementFactoryManager.java b/qadevOOo/tests/java/mod/_fwk/UIElementFactoryManager.java index aef3ad663ae1..7c26c3b18b87 100755 --- a/qadevOOo/tests/java/mod/_fwk/UIElementFactoryManager.java +++ b/qadevOOo/tests/java/mod/_fwk/UIElementFactoryManager.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -53,7 +53,7 @@ public class UIElementFactoryManager extends TestCase { */ protected void cleanup(TestParameters tParam, PrintWriter log) { log.println(" disposing xTextDoc "); - + try { XCloseable closer = (XCloseable) UnoRuntime.queryInterface( XCloseable.class, xTextDoc); @@ -90,10 +90,10 @@ public class UIElementFactoryManager extends TestCase { throw new StatusException("Cannot create test object.", e); } log.println("TestObject: " + util.utils.getImplName(oObj)); - + tEnv = new TestEnvironment((XInterface)oObj); - + return tEnv; } } diff --git a/qadevOOo/tests/java/mod/_fwk/URLTransformer.java b/qadevOOo/tests/java/mod/_fwk/URLTransformer.java index 56fee3181ae0..f9984b93308e 100644 --- a/qadevOOo/tests/java/mod/_fwk/URLTransformer.java +++ b/qadevOOo/tests/java/mod/_fwk/URLTransformer.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite |