/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
package ifc.awt;
import lib.MultiMethodTest;
import lib.Status;
import com.sun.star.awt.XControl;
import com.sun.star.awt.XControlContainer;
import com.sun.star.awt.XTabController;
import com.sun.star.awt.XTabControllerModel;
/**
* This interface is DEPRECATED !!!
* All test results are SKIPPED.OK now.
* Testing com.sun.star.awt.XTabController
* interface methods :
*
activateFirst()
activateLast()
activateTabOrder()
autoTabOrder()
getContainer()
getCotrols()
getModel()
setContainer()
setModel()
* This test needs the following object relations : *
'MODEL'
: XTabControllerModel
a model for
* the object'CONTAINER'
: XControlContainer
a container
* for the object* @see com.sun.star.awt.XTabController */ public class _XTabController extends MultiMethodTest { public XTabController oObj = null; /** * Test calls the method with object relation 'MODEL' as a parameter.
* Has OK status if the method successfully returns * and no exceptions were thrown.
*/ public void _setModel() { oObj.setModel( (XTabControllerModel) tEnv.getObjRelation("MODEL")); tRes.tested("setModel()", Status.skipped(true) ); } /** * Test calls the method, then checks returned value.
* Has OK status if method returns a value that equals to * corresponding object relation.
* The following method tests are to be completed successfully before : *
setModel()
: sets model for the object * Has OK status if the method successfully returns * and no exceptions were thrown.
*/ public void _setContainer() { oObj.setContainer( (XControlContainer) tEnv.getObjRelation("CONTAINER")); tRes.tested("setContainer()", Status.skipped(true)); } /** * Test calls the method, then checks returned value.
* Has OK status if method returns a value that equals to * corresponding object relation.
* The following method tests are to be completed successfully before : *
setContainer()
: sets container for the object* Has OK status if returned sequence is not null.
*/ public void _getControls() { XControl[] aControl = oObj.getControls(); tRes.tested("getControls()", Status.skipped(true) ); } /** * Test calls the method.
* Has OK status if the method successfully returns * and no exceptions were thrown.
*/ public void _autoTabOrder() { oObj.autoTabOrder(); tRes.tested("autoTabOrder()", Status.skipped(true)); } /** * Test calls the method.
* Has OK status if the method successfully returns * and no exceptions were thrown.
*/ public void _activateTabOrder() { oObj.activateTabOrder(); tRes.tested("activateTabOrder()", Status.skipped(true)); } /** * Test calls the method.
* Has OK status if the method successfully returns * and no exceptions were thrown.
*/ public void _activateFirst() { oObj.activateFirst(); tRes.tested("activateFirst()", Status.skipped(true)); } /** * Test calls the method.
* Has OK status if the method successfully returns * and no exceptions were thrown.
*/ public void _activateLast() { oObj.activateLast(); tRes.tested("activateLast()", Status.skipped(true)); } }