1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ONavigationBarModel.java,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
33 import java
.io
.PrintWriter
;
34 import lib
.TestEnvironment
;
35 import lib
.TestParameters
;
37 public class ONavigationBarModel
extends GenericModelTest
{
40 * Set some member variable of the super class <CODE>GenericModelTest</CODE>:
42 * super.m_kindOfControl="NavigationToolBar";
43 * super.m_ObjectName = "om.sun.star.form.component.NavigationToolBar";
44 * super.m_LCShape_Type = "NavigationToolBar";
46 * Then <CODE>super.initialize()</CODE> was called.
47 * @param tParam the test parameter
48 * @param log the log writer
51 protected void initialize(TestParameters tParam
, PrintWriter log
) {
53 super.initialize(tParam
, log
);
55 super.m_kindOfControl
="NavigationToolBar";
57 super.m_ObjectName
= "com.sun.star.form.component.NavigationToolBar";
59 super.m_LCShape_Type
= "NavigationToolBar";
63 * calls <CODE>cleanup()</CODE> from it's super class
64 * @param tParam the test parameter
65 * @param log the log writer
67 protected void cleanup(TestParameters tParam
, PrintWriter log
) {
68 super.cleanup(tParam
, log
);
73 * calls <CODE>createTestEnvironment()</CODE> from it's super class
74 * @param Param the test parameter
75 * @param log the log writer
76 * @return lib.TestEnvironment
78 protected synchronized TestEnvironment
createTestEnvironment(TestParameters Param
,
80 return super.createTestEnvironment(Param
, log
);
83 } // finish class ONavigationBarModel