summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/basic/mod/sch/AccAxis/sch_AccAxis.xba
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/basic/mod/sch/AccAxis/sch_AccAxis.xba')
-rw-r--r--qadevOOo/tests/basic/mod/sch/AccAxis/sch_AccAxis.xba105
1 files changed, 105 insertions, 0 deletions
diff --git a/qadevOOo/tests/basic/mod/sch/AccAxis/sch_AccAxis.xba b/qadevOOo/tests/basic/mod/sch/AccAxis/sch_AccAxis.xba
new file mode 100644
index 000000000000..587f63042582
--- /dev/null
+++ b/qadevOOo/tests/basic/mod/sch/AccAxis/sch_AccAxis.xba
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
+<script:module xmlns:script="http://openoffice.org/2000/script" script:name="sch_AccAxis" script:language="StarBasic">
+
+&apos;*************************************************************************
+&apos;*
+&apos;* $RCSfile: sch_AccAxis.xba,v $
+&apos;*
+&apos;* $Revision: 1.1 $
+&apos;*
+&apos;* last change:$Date: 2003-01-27 18:01:00 $
+&apos;*
+&apos;* The Contents of this file are made available subject to the terms of
+&apos;* either of the following licenses
+&apos;*
+&apos;* - GNU Lesser General Public License Version 2.1
+&apos;* - Sun Industry Standards Source License Version 1.1
+&apos;*
+&apos;* Sun Microsystems Inc., October, 2000
+&apos;*
+&apos;* GNU Lesser General Public License Version 2.1
+&apos;* =============================================
+&apos;* Copyright 2000 by Sun Microsystems, Inc.
+&apos;* 901 San Antonio Road, Palo Alto, CA 94303, USA
+&apos;*
+&apos;* This library is free software; you can redistribute it and/or
+&apos;* modify it under the terms of the GNU Lesser General Public
+&apos;* License version 2.1, as published by the Free Software Foundation.
+&apos;*
+&apos;* This library is distributed in the hope that it will be useful,
+&apos;* but WITHOUT ANY WARRANTY; without even the implied warranty of
+&apos;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+&apos;* Lesser General Public License for more details.
+&apos;*
+&apos;* You should have received a copy of the GNU Lesser General Public
+&apos;* License along with this library; if not, write to the Free Software
+&apos;* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+&apos;* MA 02111-1307 USA
+&apos;*
+&apos;*
+&apos;* Sun Industry Standards Source License Version 1.1
+&apos;* =================================================
+&apos;* The contents of this file are subject to the Sun Industry Standards
+&apos;* Source License Version 1.1 (the &quot;License&quot;); You may not use this file
+&apos;* except in compliance with the License. You may obtain a copy of the
+&apos;* License at http://www.openoffice.org/license.html.
+&apos;*
+&apos;* Software provided under this License is provided on an &quot;AS IS&quot; basis,
+&apos;* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+&apos;* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+&apos;* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+&apos;* See the License for the specific provisions governing your rights and
+&apos;* obligations concerning the Software.
+&apos;*
+&apos;* The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+&apos;*
+&apos;* Copyright: 2000 by Sun Microsystems, Inc.
+&apos;*
+&apos;* All Rights Reserved.
+&apos;*
+&apos;* Contributor(s): _______________________________________
+&apos;*
+&apos;*
+&apos;*************************************************************************
+&apos;*************************************************************************
+
+
+
+
+
+&apos; REQUIRED VARIABLES for interface/service tests:
+
+Dim oListener1 As Object
+Dim oListener2 As Object
+Dim bL1called As Boolean
+Dim bL2called As Boolean
+Dim oDoc as Object
+
+Sub CreateObj()
+
+&apos;*************************************************************************
+&apos; COMPONENT:
+&apos; sch.AccAxis
+&apos;*************************************************************************
+
+
+ Dim xRoot As Object
+ Dim oWin As Object
+
+ oDoc = utils.loadTestDocument("emptyChart.sds", cObjectName)
+ wait(1000)
+ oWin = utils.at_getCurrentWindow(oDoc)
+ xRoot = utils.at_getAccessibleObject(oWin)
+ oObj = utils.at_getAccessibleObjectForRole(xRoot, 111, &quot;axis&quot;)
+
+ Exit Sub
+ErrHndl:
+ Test.Exception()
+End Sub
+
+Sub fireEvent()
+ oObj.grabFocus()
+End Sub
+
+</script:module> \ No newline at end of file