2004-04-13 09:53:11 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 16:16:39 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2004-04-13 09:53:11 +00:00
|
|
|
*
|
2010-02-12 15:01:35 +01:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2004-04-13 09:53:11 +00:00
|
|
|
*
|
2008-04-10 16:16:39 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2004-04-13 09:53:11 +00:00
|
|
|
*
|
2008-04-10 16:16:39 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2004-04-13 09:53:11 +00:00
|
|
|
*
|
2008-04-10 16:16:39 +00:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2004-04-13 09:53:11 +00:00
|
|
|
*
|
2008-04-10 16:16:39 +00:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2004-04-13 09:53:11 +00:00
|
|
|
*
|
2008-04-10 16:16:39 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2004-04-13 09:53:11 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
package mod._forms;
|
|
|
|
|
|
|
|
import java.io.PrintWriter;
|
|
|
|
import lib.TestEnvironment;
|
|
|
|
import lib.TestParameters;
|
|
|
|
|
2007-06-04 12:37:07 +00:00
|
|
|
public class ONavigationBarModel extends GenericModelTest {
|
2004-04-13 09:53:11 +00:00
|
|
|
|
2007-06-04 12:37:07 +00:00
|
|
|
/**
|
|
|
|
* Set some member variable of the super class <CODE>GenericModelTest</CODE>:
|
|
|
|
* <pre>
|
|
|
|
* super.m_kindOfControl="NavigationToolBar";
|
|
|
|
* super.m_ObjectName = "om.sun.star.form.component.NavigationToolBar";
|
|
|
|
* super.m_LCShape_Type = "NavigationToolBar";
|
|
|
|
* </pre>
|
|
|
|
* Then <CODE>super.initialize()</CODE> was called.
|
|
|
|
* @param tParam the test parameter
|
|
|
|
* @param log the log writer
|
|
|
|
*/
|
2004-04-13 09:53:11 +00:00
|
|
|
|
2007-06-04 12:37:07 +00:00
|
|
|
protected void initialize(TestParameters tParam, PrintWriter log) {
|
2004-04-13 09:53:11 +00:00
|
|
|
|
2007-06-04 12:37:07 +00:00
|
|
|
super.initialize(tParam, log);
|
2004-04-13 09:53:11 +00:00
|
|
|
|
2007-06-04 12:37:07 +00:00
|
|
|
super.m_kindOfControl="NavigationToolBar";
|
2004-04-13 09:53:11 +00:00
|
|
|
|
2007-06-04 12:37:07 +00:00
|
|
|
super.m_ObjectName = "com.sun.star.form.component.NavigationToolBar";
|
|
|
|
|
|
|
|
super.m_LCShape_Type = "NavigationToolBar";
|
2004-04-13 09:53:11 +00:00
|
|
|
|
2007-06-04 12:37:07 +00:00
|
|
|
}
|
2004-04-13 09:53:11 +00:00
|
|
|
/**
|
2007-06-04 12:37:07 +00:00
|
|
|
* calls <CODE>cleanup()</CODE> from it's super class
|
|
|
|
* @param tParam the test parameter
|
|
|
|
* @param log the log writer
|
|
|
|
*/
|
2004-04-13 09:53:11 +00:00
|
|
|
protected void cleanup(TestParameters tParam, PrintWriter log) {
|
2007-06-04 12:37:07 +00:00
|
|
|
super.cleanup(tParam, log);
|
2004-04-13 09:53:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-06-04 12:37:07 +00:00
|
|
|
/**
|
|
|
|
* calls <CODE>createTestEnvironment()</CODE> from it's super class
|
|
|
|
* @param Param the test parameter
|
|
|
|
* @param log the log writer
|
|
|
|
* @return lib.TestEnvironment
|
|
|
|
*/
|
|
|
|
protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
|
|
|
|
PrintWriter log) {
|
|
|
|
return super.createTestEnvironment(Param, log);
|
|
|
|
}
|
2004-04-13 09:53:11 +00:00
|
|
|
|
|
|
|
} // finish class ONavigationBarModel
|
|
|
|
|