Branch libreoffice-5-0-4
[LibreOffice.git] / qadevOOo / tests / java / mod / _forms / ONavigationBarModel.java
blob81192481ca656b56c875060620b1402a4b8794d0
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 .
19 package mod._forms;
21 import java.io.PrintWriter;
22 import lib.TestEnvironment;
23 import lib.TestParameters;
25 public class ONavigationBarModel extends GenericModelTest {
27 /**
28 * Set some member variable of the super class <CODE>GenericModelTest</CODE>:
29 * <pre>
30 * super.m_kindOfControl="NavigationToolBar";
31 * super.m_ObjectName = "om.sun.star.form.component.NavigationToolBar";
32 * super.m_LCShape_Type = "NavigationToolBar";
33 * </pre>
34 * Then <CODE>super.initialize()</CODE> was called.
35 * @param tParam the test parameter
36 * @param log the log writer
39 @Override
40 protected void initialize(TestParameters tParam, PrintWriter log) {
42 super.initialize(tParam, log);
44 super.m_kindOfControl="NavigationToolBar";
46 super.m_ObjectName = "com.sun.star.form.component.NavigationToolBar";
48 super.m_LCShape_Type = "NavigationToolBar";
52 /**
53 * calls <CODE>createTestEnvironment()</CODE> from it's super class
54 * @param Param the test parameter
55 * @param log the log writer
56 * @return lib.TestEnvironment
58 @Override
59 protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
60 PrintWriter log) {
61 return super.createTestEnvironment(Param, log);
64 } // finish class ONavigationBarModel