diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:41 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:41 +0200 |
commit | 1b12b332a9ff0c44b19f7f4f0c76b3f8ee534fc7 (patch) | |
tree | f951731fcd4f0c17dd7a55b154be238cb2b71bae /qadevOOo/tests/java/mod/_forms/OSpinButtonModel.java | |
parent | 42e0579442c805df41454461d17cdede43c47b6a (diff) |
recreated tag libreoffice-3.3.3.1 which had these commits:
commit aec86c5680a68c65de8537b8a83a16e8d90cfdd9 (tag: refs/tags/libreoffice-3.3.3.1)
Author: Petr Mladek <pmladek@suse.cz>
Date: Tue May 31 17:39:08 2011 +0200
Version 3.3.3.1, tag libreoffice-3.3.3.1 (3.3.3-rc1)
Notes
split repo tag: testing_libreoffice-3.3.3.1
split repo tag: testing_libreoffice-3.3.4.1
Diffstat (limited to 'qadevOOo/tests/java/mod/_forms/OSpinButtonModel.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_forms/OSpinButtonModel.java | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/qadevOOo/tests/java/mod/_forms/OSpinButtonModel.java b/qadevOOo/tests/java/mod/_forms/OSpinButtonModel.java index bde3fd640e52..c4a574755192 100644 --- a/qadevOOo/tests/java/mod/_forms/OSpinButtonModel.java +++ b/qadevOOo/tests/java/mod/_forms/OSpinButtonModel.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 @@ -43,24 +43,24 @@ import util.FormTools; import util.WriterTools; public class OSpinButtonModel extends TestCase { - + XTextDocument xTextDoc; - + /** * Creates a Writer document. */ protected void initialize( TestParameters tParam, PrintWriter log ) { - + log.println( "creating a textdocument" ); xTextDoc = WriterTools.createTextDoc(((XMultiServiceFactory) tParam.getMSF())); } - + /** * Disposes the Writer document. */ protected void cleanup(TestParameters tParam, PrintWriter log) { log.println(" disposing xTextDoc "); - + try { XCloseable closer = (XCloseable) UnoRuntime.queryInterface( XCloseable.class, xTextDoc); @@ -71,19 +71,19 @@ public class OSpinButtonModel extends TestCase { log.println("couldn't close document"); } } - - + + /** * Creating a Testenvironment for the interfaces to be tested. * Adds spin button into text and retrieves it's control model. */ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param, PrintWriter log) { - + XInterface oObj = null; - + XControlShape aShape = FormTools.createControlShape( xTextDoc,3000,4500,15000,10000,"SpinButton"); - + WriterTools.getDrawPage(xTextDoc).add((XShape) aShape); oObj = aShape.getControl(); log.println( "creating a new environment for OButtonModel object" ); @@ -94,9 +94,9 @@ public class OSpinButtonModel extends TestCase { prop.Value = "new Help Text since XPropertyAccess"; tEnv.addObjRelation("XPropertyAccess.propertyToChange", prop); tEnv.addObjRelation("XPropertyContainer.propertyNotRemovable", "HelpText"); - + System.out.println("Implementation name: "+util.utils.getImplName(oObj)); return tEnv; } // finish method getTestEnvironment - + } |