bump product version to 5.0.4.1
[LibreOffice.git] / qadevOOo / tests / java / mod / _forms / OFixedTextModel.java
blob64a6c795c7761a602c06dedb2e92fbcdadd73379
1 /*
2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 package mod._forms;
20 import java.io.PrintWriter;
22 import lib.TestEnvironment;
23 import lib.TestParameters;
26 /**
27 * Test for object which is represented by service
28 * <code>com.sun.star.form.component.FixedText</code>. <p>
29 * Object implements the following interfaces :
30 * <ul>
31 * <li> <code>com::sun::star::io::XPersistObject</code></li>
32 * <li> <code>com::sun::star::container::XChild</code></li>
33 * <li> <code>com::sun::star::form::FormControlModel</code></li>
34 * <li> <code>com::sun::star::form::FormComponent</code></li>
35 * <li> <code>com::sun::star::beans::XPropertyAccess</code></li>
36 * <li> <code>com::sun::star::beans::XPropertyContainer</code></li>
37 * <li> <code>com::sun::star::beans::XPropertySet</code></li>
38 * <li> <code>com::sun::star::beans::XFastPropertySet</code></li>
39 * <li> <code>com::sun::star::beans::XPropertyState</code></li>
40 * <li> <code>com::sun::star::container::XNamed</code></li>
41 * <li> <code>com::sun::star::beans::XMultiPropertySet</code></li>
42 * <li> <code>com::sun::star::awt::UnoControlFixedTextModel</code></li>
43 * <li> <code>com::sun::star::lang::XComponent</code></li>
44 * </ul>
45 * This object test <b> is NOT </b> designed to be run in several
46 * threads concurently.
47 * @see com.sun.star.io.XPersistObject
48 * @see com.sun.star.container.XChild
49 * @see com.sun.star.form
50 * @see com.sun.star.form.FormComponent
51 * @see com.sun.star.beans.XPropertyAccess
52 * @see com.sun.star.beans.XPropertyContainer
53 * @see com.sun.star.beans.XPropertySet
54 * @see com.sun.star.beans.XFastPropertySet
55 * @see com.sun.star.beans.XPropertyState
56 * @see com.sun.star.container.XNamed
57 * @see com.sun.star.beans.XMultiPropertySet
58 * @see com.sun.star.awt.UnoControlFixedTextModel
59 * @see com.sun.star.lang.XComponent
60 * @see ifc.io._XPersistObject
61 * @see ifc.container._XChild
62 * @see ifc.form._FormControlModel
63 * @see ifc.form._FormComponent
64 * @see ifc.beans._XPropertySet
65 * @see ifc.beans._XFastPropertySet
66 * @see ifc.beans._XPropertyState
67 * @see ifc.container._XNamed
68 * @see ifc.beans._XMultiPropertySet
69 * @see ifc.awt._UnoControlFixedTextModel
70 * @see ifc.lang._XComponent
73 public class OFixedTextModel extends GenericModelTest {
75 /**
76 * Set some member variable of the super class <CODE>GenericModelTest</CODE>:
77 * <pre>
78 * super.m_kindOfControl="CommandButton";
79 * super.m_ObjectName = "com.sun.star.form.component.CommandButton";
80 * super.m_LCShape_Type = "CommandButton";
81 * </pre>
82 * Then <CODE>super.initialize()</CODE> was called.
83 * @param tParam the test parameter
84 * @param log the log writer
87 @Override
88 protected void initialize(TestParameters tParam, PrintWriter log) {
90 super.initialize(tParam, log);
92 super.m_kindOfControl="FixedText";
94 super.m_ObjectName = "stardiv.one.form.component.FixedText";
96 super.m_LCShape_Type = "FixedText";
101 * calls <CODE>createTestEnvironment()</CODE> from it's super class
102 * @param Param the test parameter
103 * @param log the log writer
104 * @return lib.TestEnvironment
106 @Override
107 protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
108 PrintWriter log) {
109 return super.createTestEnvironment(Param, log);
112 } // finish class OFixedTextModel