tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / qadevOOo / tests / java / ifc / chart / _XStatisticDisplay.java
blob77918385614c5db9340dd445c41e813f916a6ef9
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 ifc.chart;
21 import lib.MultiMethodTest;
23 import com.sun.star.beans.XPropertySet;
24 import com.sun.star.chart.XStatisticDisplay;
26 /**
27 * Testing <code>com.sun.star.chart.XStatisticDisplay</code>
28 * interface methods :
29 * <ul>
30 * <li><code> getMinMaxLine()</code></li>
31 * <li><code> getUpBar()</code></li>
32 * <li><code> getDownBar()</code></li>
33 * </ul> <p>
34 * @see com.sun.star.chart.XStatisticDisplay
36 public class _XStatisticDisplay extends MultiMethodTest {
38 public XStatisticDisplay oObj = null;
39 boolean result = true;
41 /**
42 * Test calls the method and checks returned value. <p>
43 * Has <b> OK </b> status if returned value isn't null. <p>
45 public void _getMinMaxLine() {
46 result = true;
48 XPropertySet MinMaxLine = oObj.getMinMaxLine();
49 result = (MinMaxLine != null);
51 tRes.tested("getMinMaxLine()", result);
54 /**
55 * Test calls the method and checks returned value. <p>
56 * Has <b> OK </b> status if returned value isn't null. <p>
58 public void _getUpBar() {
59 result = true;
61 XPropertySet UpBar = oObj.getUpBar();
62 result = (UpBar != null);
64 tRes.tested("getUpBar()", result);
67 /**
68 * Test calls the method and checks returned value. <p>
69 * Has <b> OK </b> status if returned value isn't null. <p>
71 public void _getDownBar() {
72 result = true;
74 XPropertySet DownBar = oObj.getDownBar();
75 result = (DownBar != null);
77 tRes.tested("getDownBar()", result);
80 } // EOF XStatisticDisplay