diff options
author | Noel Power <npower@openoffice.org> | 2002-11-20 13:29:37 +0000 |
---|---|---|
committer | Noel Power <npower@openoffice.org> | 2002-11-20 13:29:37 +0000 |
commit | c04da3e7c4221f2490535b2a2eb3425a295a6608 (patch) | |
tree | 65e7a8da668b7185ec278de704c8086c7759d103 /scripting/workben/ifc/scripting | |
parent | c47c400457d559173733968d2c26ebb8a4e763eb (diff) |
Initial version of interface files for scripting tests.
Diffstat (limited to 'scripting/workben/ifc/scripting')
-rw-r--r-- | scripting/workben/ifc/scripting/_XFunction.java | 124 | ||||
-rw-r--r-- | scripting/workben/ifc/scripting/_XFunctionProvider.java | 97 | ||||
-rw-r--r-- | scripting/workben/ifc/scripting/_XScriptInfo.java | 186 | ||||
-rw-r--r-- | scripting/workben/ifc/scripting/_XScriptInfoAccess.java | 145 | ||||
-rw-r--r-- | scripting/workben/ifc/scripting/_XScriptStorageRefresh.java | 92 |
5 files changed, 644 insertions, 0 deletions
diff --git a/scripting/workben/ifc/scripting/_XFunction.java b/scripting/workben/ifc/scripting/_XFunction.java new file mode 100644 index 000000000000..aa7e89fe41aa --- /dev/null +++ b/scripting/workben/ifc/scripting/_XFunction.java @@ -0,0 +1,124 @@ +/************************************************************************* + * + * $RCSfile: _XFunction.java,v $ + * + * $Revision: 1.1 $ + * + * last change:$Date: 2002-11-20 14:29:36 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library 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 for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (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.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ + +package ifc.script.framework.provider; + +import drafts.com.sun.star.script.framework.provider.XFunction; + +import com.sun.star.uno.UnoRuntime; +import com.sun.star.lang.XMultiServiceFactory; +import com.sun.star.uno.XInterface; +import com.sun.star.ucb.XSimpleFileAccess; +import com.sun.star.uno.Exception; +import com.sun.star.beans.XPropertySet; + +import java.io.PrintWriter; +import lib.MultiMethodTest; +import lib.StatusException; + +public class _XFunction extends MultiMethodTest { + + public XFunction oObj = null; + /** + * Retrieves object relation. + */ + public void before() throws StatusException { + } + + public void _invoke() { + try{ + System.out.println("Here we are"); + Object[] aParams = new Object[0]; + short[][] aOutParamIndex = new short[1][]; + aOutParamIndex[0] = new short[0]; + Object[][] aOutParam = new Object[1][]; + aOutParam[0] = new Object[0]; + oObj.invoke( aParams, aOutParamIndex, aOutParam ); + System.out.println("invoke finished"); + } + catch (com.sun.star.lang.IllegalArgumentException iae) { + log.println("Couldn't invoke script:" + iae); + tRes.tested("invoke()", false); + return; + } + catch (com.sun.star.script.CannotConvertException cce) { + log.println("Couldn't invoke script:" + cce); + tRes.tested("invoke()", false); + return; + } + catch (com.sun.star.reflection.InvocationTargetException ite) { + log.println("Couldn't invoke script:" + ite); + tRes.tested("invoke()", false); + return; + } + catch (com.sun.star.uno.RuntimeException re) { + log.println("Couldn't invoke script:" + re); + tRes.tested("invoke()", false); + return; + } + catch(Exception e){ + log.println("Couldn't invoke script:" + e); + tRes.tested("invoke()", false); + return; + } + tRes.tested("invoke()", true); + } +} diff --git a/scripting/workben/ifc/scripting/_XFunctionProvider.java b/scripting/workben/ifc/scripting/_XFunctionProvider.java new file mode 100644 index 000000000000..3b813b274b7a --- /dev/null +++ b/scripting/workben/ifc/scripting/_XFunctionProvider.java @@ -0,0 +1,97 @@ +/************************************************************************* + * + * $RCSfile: _XFunctionProvider.java,v $ + * + * $Revision: 1.1 $ + * + * last change:$Date: 2002-11-20 14:29:36 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library 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 for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (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.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ + +package ifc.script.framework.provider; + +import drafts.com.sun.star.script.framework.provider.XFunctionProvider; +import drafts.com.sun.star.script.framework.provider.XFunction; + +import com.sun.star.uno.UnoRuntime; +import com.sun.star.lang.XMultiServiceFactory; +import com.sun.star.uno.XInterface; +import com.sun.star.ucb.XSimpleFileAccess; +import com.sun.star.uno.Exception; +import com.sun.star.beans.XPropertySet; + +import java.io.PrintWriter; +import lib.MultiMethodTest; +import lib.StatusException; + +public class _XFunctionProvider extends MultiMethodTest { + + private String defaultScript = "script://MemoryUtils.MemUsage"; + public XFunctionProvider oObj = null; + /** + * Retrieves object relation. + */ + public void before() throws StatusException { + } + + public void _getFunction() { + XFunction function = oObj.getFunction( defaultScript ); + if ( function == null ) { + log.println("Failed:_XFunctionProvider.getFunction(), no function returned."); + tRes.tested("getScriptLogicalNames()", false); + return; + } + tRes.tested("getFunction()", true); + } +} diff --git a/scripting/workben/ifc/scripting/_XScriptInfo.java b/scripting/workben/ifc/scripting/_XScriptInfo.java new file mode 100644 index 000000000000..819458c9f283 --- /dev/null +++ b/scripting/workben/ifc/scripting/_XScriptInfo.java @@ -0,0 +1,186 @@ +/************************************************************************* + * + * $RCSfile: _XScriptInfo.java,v $ + * + * $Revision: 1.1 $ + * + * last change:$Date: 2002-11-20 14:29:37 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library 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 for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (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.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ + +package ifc.script.framework.storage; + +import drafts.com.sun.star.script.framework.storage.XScriptStorageManager; +import drafts.com.sun.star.script.framework.storage.XScriptInfoAccess; +import drafts.com.sun.star.script.framework.storage.XScriptInfo; + +import com.sun.star.uno.UnoRuntime; +import com.sun.star.lang.XMultiServiceFactory; +import com.sun.star.uno.XInterface; +import com.sun.star.ucb.XSimpleFileAccess; +import com.sun.star.uno.Exception; +import com.sun.star.beans.XPropertySet; + +import java.io.PrintWriter; +import lib.MultiMethodTest; +import lib.StatusException; + +public class _XScriptInfo extends MultiMethodTest { + + public XScriptInfo oObj = null; + + /** + * Retrieves object relation. + */ + public void before() throws StatusException { + } + + public void _getLogicalName() { + + log.println("In _XScriptInfo.getLogicalName()"); + if ( !oObj.getLogicalName().equals( "MemoryUtils.MemUsage" ) ){ + log.println("Expected logical name = MemoryUtils.MemUsage, got " + oObj.getLogicalName() ); + tRes.tested("getImplementations()", false); + return; + } + + tRes.tested("getLogicalName()", true); + } + public void _getParcelURI() { + log.println("In _XScriptInfo._getParcelUR()"); + if ( oObj.getParcelURI().length() == 0 ){ + log.println( "Expected parcel uri to be set up" ); + tRes.tested( "getParcelURI()", false ); + return; + } + tRes.tested("getParcelURI()", true); + } + public void _getLanguage() { + log.println("In _XScriptInfo.getLanguage()"); + if ( !oObj.getLanguage().equals( "Java" ) ){ + log.println("Expected language to be Java, got " + + oObj.getLanguage().length() ); + tRes.tested("getLanguage()", false); + return; + } + tRes.tested("getLanguage()", true); + } + + public void _getFunctionName() { + log.println("In _XScriptInfo.getFunctionName()"); + if ( !oObj.getFunctionName().equals( "MemoryUsage.updateMemoryUsage" ) ) { + log.println( + "Expected functionName to be MemoryUsage.updateMemoryUsage, got ->" + + oObj.getFunctionName() + "<- instead." ); + tRes.tested("getFunctionName()", false); + return; + } + tRes.tested("getFunctionName()", true); + } + public void _getLanguageProperties() { + log.println("In _XScriptInfo.getLanguageProperties()"); + XPropertySet langProps = oObj.getLanguageProperties(); + try{ + + String classPath = (String) langProps.getPropertyValue("classpath"); if ( classPath == null || !classPath.equals( "MemUsage.jar" ) ) { + log.println( + "Expected classpath property to be MemUsage.jar, got ->" + + classPath + "<- instead." ); + tRes.tested("getLanguageProperties()", false); + return; + } + } + catch( com.sun.star.uno.Exception e) { + log.println("getLanguageProperties: failed:" + e); + tRes.tested("getLanguageProperties()", false); + return; + } + tRes.tested("getLanguageProperties()", true); + } + public void _getFileSetNames() { + log.println("In _XScriptInfo.getFileSetNames()"); + String[] fileSets = oObj.getFileSetNames(); + log.println("Got filesets of length " + fileSets.length + " first fileset is called " + fileSets[0] ); + if ( fileSets == null || fileSets.length != 1 || + !fileSets[0].equals("delivered") ) { + log.println( + "Expected filesets with 1 element with value \"delivered\""); + tRes.tested("getFileSetNames()", false); + return; + } + tRes.tested("getFileSetNames()", true); + } + public void _getFilesInFileSet() { + log.println("In _XScriptInfo.getFilesInFileSet()"); + String[] filesInFileSet = oObj.getFilesInFileSet( oObj.getFileSetNames()[0] ); + if ( filesInFileSet == null || filesInFileSet.length != 1 || + !filesInFileSet[0].equals( "google.jar" ) ) { + log.println( + "Expected a list of one file named \"google.jar\" for fileSet named \"delivered\"" ); + tRes.tested("getFilesInFileSet()", false); + return; + } + tRes.tested("getFilesInFileSet()", true); + } + public void _getDescription() { + log.println("In _XScriptInfo.getDescription()"); + if ( oObj.getDescription().length() != 0 ){ + log.println("Last test. Expected no description for MemoryUtils.MemUsage" + " got ->" + oObj.getDescription() + "<- instead" ); + tRes.tested("getDescription()", false); + return; + } + tRes.tested("getDescription()", true); + } + +} diff --git a/scripting/workben/ifc/scripting/_XScriptInfoAccess.java b/scripting/workben/ifc/scripting/_XScriptInfoAccess.java new file mode 100644 index 000000000000..1d5039a09e1a --- /dev/null +++ b/scripting/workben/ifc/scripting/_XScriptInfoAccess.java @@ -0,0 +1,145 @@ +/************************************************************************* + * + * $RCSfile: _XScriptInfoAccess.java,v $ + * + * $Revision: 1.1 $ + * + * last change:$Date: 2002-11-20 14:29:37 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library 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 for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (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.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ + +package ifc.script.framework.storage; + +import drafts.com.sun.star.script.framework.storage.XScriptStorageManager; +import drafts.com.sun.star.script.framework.storage.XScriptInfoAccess; +import drafts.com.sun.star.script.framework.storage.XScriptInfo; + +import com.sun.star.uno.UnoRuntime; +import com.sun.star.lang.XMultiServiceFactory; +import com.sun.star.uno.XInterface; +import com.sun.star.ucb.XSimpleFileAccess; +import com.sun.star.uno.Exception; +import com.sun.star.beans.XPropertySet; + +import java.io.PrintWriter; +import lib.MultiMethodTest; +import lib.StatusException; + +public class _XScriptInfoAccess extends MultiMethodTest { + + public XScriptInfoAccess oObj = null; + + /** + * Retrieves object relation. + */ + public void before() throws StatusException { + } + + public void _getScriptLogicalNames() { + try { + log.println("In _XScriptInfoAccess.getScriptLogicalNames()"); + String[] logicalNames = oObj.getScriptLogicalNames(); + log.println("Retrieved " + logicalNames.length + " entries from storage" ); + for ( int idx=0; idx < logicalNames.length; idx++ ){ + log.println("logical name [" + idx + "] = " + logicalNames[idx]); + } + if ( logicalNames.length == 0 ){ + log.println( "Failed:_XScriptInfoAccess.getScriptLogicalNames(), no logical names returned" ); + tRes.tested( "getScriptLogicalNames()", false ); + } + + } + catch (com.sun.star.uno.Exception e) { + log.println("Failed:_XScriptInfoAccess.getScriptLogicalNames() :" + e); + tRes.tested("getScriptLogicalNames()", false); + return; + } + tRes.tested("getScriptLogicalNames()", true); + } + + public void _getImplementations() { + // performs a basic check to see if 1 match (XScriptInfo) is returned + // the XScriptInfo object is tested more completely in _XScriptInfo + // which is drive from ScriptInfo + try { + log.println("In _XScriptInfoAccess._getImplementations()"); + XScriptInfo[] impls = oObj.getImplementations("script://MemoryUtils.MemUsage?location=document"); + // should only be one match + log.println("_XScriptInfoAccess._getImplementations() returned " + impls.length + " items "); + if ( impls.length != 1 ){ + log.println("Expected 1 implementation to be returned, got " + + impls.length + " instead."); + tRes.tested("getImplementations()", false); + return; + } + + if ( !impls[0].getLogicalName().equals( "MemoryUtils.MemUsage" ) ){ + log.println("Expected logical name = MemoryUtils.MemUsage, got " + + impls[0].getLogicalName() ); + tRes.tested("getImplementations()", false); + return; + } + + } + catch (com.sun.star.uno.Exception e) { + log.println("getImplementations: failed:" + e); + tRes.tested("getImplementations()()", false); + return; + } + log.println("_XScriptInfoAccess._getImplementations() completed sucessfully"); + tRes.tested("getImplementations()", true); + + } + +} diff --git a/scripting/workben/ifc/scripting/_XScriptStorageRefresh.java b/scripting/workben/ifc/scripting/_XScriptStorageRefresh.java new file mode 100644 index 000000000000..f6aee2cb0495 --- /dev/null +++ b/scripting/workben/ifc/scripting/_XScriptStorageRefresh.java @@ -0,0 +1,92 @@ +/************************************************************************* + * + * $RCSfile: _XScriptStorageRefresh.java,v $ + * + * $Revision: 1.1 $ + * + * last change:$Date: 2002-11-20 14:29:37 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library 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 for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (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.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ + +package ifc.script.framework.storage; + +import drafts.com.sun.star.script.framework.storage.XScriptStorageRefresh; + +import com.sun.star.uno.UnoRuntime; +import com.sun.star.lang.XMultiServiceFactory; +import com.sun.star.uno.XInterface; +import com.sun.star.ucb.XSimpleFileAccess; +import com.sun.star.uno.Exception; +import com.sun.star.beans.XPropertySet; + +import java.io.PrintWriter; +import lib.MultiMethodTest; +import lib.StatusException; + +public class _XScriptStorageRefresh extends MultiMethodTest { + + public XScriptStorageRefresh oObj = null; + + /** + * Retrieves object relation. + */ + public void before() throws StatusException { + } + + public void _refresh() { + log.println("In _XScriptStorageRefresh.getScriptLogicalNames()" ); + oObj.refresh(); + tRes.tested("refresh()", true); + } +} |