1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 package mod._forms;
25 
26 import java.io.PrintWriter;
27 import lib.TestEnvironment;
28 import lib.TestParameters;
29 
30 public class ONavigationBarModel extends GenericModelTest {
31 
32     /**
33      * Set some member variable of the super class <CODE>GenericModelTest</CODE>:
34      * <pre>
35      *    super.m_kindOfControl="NavigationToolBar";
36      *    super.m_ObjectName = "om.sun.star.form.component.NavigationToolBar";
37      *    super.m_LCShape_Type = "NavigationToolBar";
38      * </pre>
39      * Then <CODE>super.initialize()</CODE> was called.
40      * @param tParam the test parameter
41      * @param log the log writer
42      */
43 
initialize(TestParameters tParam, PrintWriter log)44     protected void initialize(TestParameters tParam, PrintWriter log) {
45 
46         super.initialize(tParam, log);
47 
48         super.m_kindOfControl="NavigationToolBar";
49 
50         super.m_ObjectName = "com.sun.star.form.component.NavigationToolBar";
51 
52         super.m_LCShape_Type = "NavigationToolBar";
53 
54     }
55     /**
56      * calls <CODE>cleanup()</CODE> from it's super class
57      * @param tParam the test parameter
58      * @param log the log writer
59      */
cleanup(TestParameters tParam, PrintWriter log)60     protected void cleanup(TestParameters tParam, PrintWriter log) {
61         super.cleanup(tParam, log);
62     }
63 
64 
65     /**
66      * calls <CODE>createTestEnvironment()</CODE> from it's super class
67      * @param Param the test parameter
68      * @param log the log writer
69      * @return lib.TestEnvironment
70      */
createTestEnvironment(TestParameters Param, PrintWriter log)71     protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
72             PrintWriter log) {
73         return super.createTestEnvironment(Param, log);
74     }
75 
76 }    // finish class ONavigationBarModel
77 
78