diff options
Diffstat (limited to 'scripting/workben/data')
22 files changed, 0 insertions, 70 deletions
diff --git a/scripting/workben/data/ExampleSpreadSheetLatest.sxc b/scripting/workben/data/ExampleSpreadSheetLatest.sxc Binary files differdeleted file mode 100644 index 7be6c0d4be05..000000000000 --- a/scripting/workben/data/ExampleSpreadSheetLatest.sxc +++ /dev/null diff --git a/scripting/workben/data/doc_with_beanshell_scripts.sxw b/scripting/workben/data/doc_with_beanshell_scripts.sxw Binary files differdeleted file mode 100644 index f0066610d577..000000000000 --- a/scripting/workben/data/doc_with_beanshell_scripts.sxw +++ /dev/null diff --git a/scripting/workben/data/doc_with_one_script.sxw b/scripting/workben/data/doc_with_one_script.sxw Binary files differdeleted file mode 100644 index 7445f4afca47..000000000000 --- a/scripting/workben/data/doc_with_one_script.sxw +++ /dev/null diff --git a/scripting/workben/data/doc_with_two_scripts.sxw b/scripting/workben/data/doc_with_two_scripts.sxw Binary files differdeleted file mode 100644 index 23a12ac9f86a..000000000000 --- a/scripting/workben/data/doc_with_two_scripts.sxw +++ /dev/null diff --git a/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.protocolhandler.Dispatch.csv b/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.protocolhandler.Dispatch.csv deleted file mode 100644 index 614260db95c3..000000000000 --- a/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.protocolhandler.Dispatch.csv +++ /dev/null @@ -1,5 +0,0 @@ -"Dispatch";"drafts::com::sun::star::frame::XDispatchProvider";"queryDispatch()" -"Dispatch";"drafts::com::sun::star::frame::XDispatchProvider";"queryDispatches()" -"Dispatch";"drafts::com::sun::star::frame::XDispatch";"dispatch()" -"Dispatch";"drafts::com::sun::star::frame::XDispatch";"addStatusListener()" -"Dispatch";"drafts::com::sun::star::frame::XDispatch";"removeStatusListener()" diff --git a/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.provider.Function.csv b/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.provider.Function.csv deleted file mode 100644 index 87327525908a..000000000000 --- a/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.provider.Function.csv +++ /dev/null @@ -1 +0,0 @@ -"Function";"drafts::com::sun::star::script::framework::provider::XFunction";"invoke()" diff --git a/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.provider.FunctionProvider.csv b/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.provider.FunctionProvider.csv deleted file mode 100644 index 0f1c41772cfb..000000000000 --- a/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.provider.FunctionProvider.csv +++ /dev/null @@ -1 +0,0 @@ -"FunctionProvider";"drafts::com::sun::star::script::framework::provider::XFunctionProvider";"getFunction()" diff --git a/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.runtime.ScriptRuntimeManager.csv b/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.runtime.ScriptRuntimeManager.csv deleted file mode 100644 index 0bff1a1a89b7..000000000000 --- a/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.runtime.ScriptRuntimeManager.csv +++ /dev/null @@ -1,2 +0,0 @@ -"ScriptRuntimeManager";"drafts::com::sun::star::script::framework::runtime::XScriptNameResolver";"resolve()" -"ScriptRuntimeManager";"drafts::com::sun::star::script::framework::runtime::XScriptInvocation";"invoke()" diff --git a/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.storage.ScriptInfo.csv b/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.storage.ScriptInfo.csv deleted file mode 100644 index 79e8c91e19c1..000000000000 --- a/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.storage.ScriptInfo.csv +++ /dev/null @@ -1,8 +0,0 @@ -"ScriptInfo";"drafts::com::sun::star::script::framework::storage::XScriptInfo";"getLogicalName()" -"ScriptInfo";"drafts::com::sun::star::script::framework::storage::XScriptInfo";"getParcelURI()" -"ScriptInfo";"drafts::com::sun::star::script::framework::storage::XScriptInfo";"getLanguage()" -"ScriptInfo";"drafts::com::sun::star::script::framework::storage::XScriptInfo";"getFunctionName()" -"ScriptInfo";"drafts::com::sun::star::script::framework::storage::XScriptInfo";"getLanguageProperties()" -"ScriptInfo";"drafts::com::sun::star::script::framework::storage::XScriptInfo";"getFileSetNames()" -"ScriptInfo";"drafts::com::sun::star::script::framework::storage::XScriptInfo";"getFilesInFileSet()" -"ScriptInfo";"drafts::com::sun::star::script::framework::storage::XScriptInfo";"getDescription()" diff --git a/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.storage.ScriptStorage.csv b/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.storage.ScriptStorage.csv deleted file mode 100644 index 69628462fedb..000000000000 --- a/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.storage.ScriptStorage.csv +++ /dev/null @@ -1,4 +0,0 @@ -"ScriptStorage";"drafts::com::sun::star::script::framework::storage::XScriptInfoAccess";"getScriptLogicalNames()" -"ScriptStorage";"drafts::com::sun::star::script::framework::storage::XScriptInfoAccess";"getImplementations()" -"ScriptStorage";"drafts::com::sun::star::script::framework::storage::XScriptInfoAccess";"getAllImplementations()" -"ScriptStorage";"drafts::com::sun::star::script::framework::storage::XScriptStorageRefresh";"refresh()" diff --git a/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.storage.ScriptStorageManager.csv b/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.storage.ScriptStorageManager.csv deleted file mode 100644 index 6e255c869f67..000000000000 --- a/scripting/workben/data/objdsc/drafts.com.sun.star.script.framework.storage.ScriptStorageManager.csv +++ /dev/null @@ -1,6 +0,0 @@ -"ScriptStorageManager";"drafts::com::sun::star::script::framework::storage::XScriptStorageManager";"createScriptStorage()" -"ScriptStorageManager";"drafts::com::sun::star::script::framework::storage::XScriptStorageManager";"createScriptStorageWithURI()" -"ScriptStorageManager";"drafts::com::sun::star::script::framework::storage::XScriptStorageManager";"getScriptStorage()" -"ScriptStorageManager";"drafts::com::sun::star::script::framework::storage::XScriptStorageManager";"refreshScriptStorage()" -"ScriptStorageManager";"drafts::com::sun::star::script::framework::security::XScriptSecurity";"checkPermission()" -"ScriptStorageManager";"::com::sun::star::lang::XEventListener";"disposing()" diff --git a/scripting/workben/data/script_in_class_file.sxw b/scripting/workben/data/script_in_class_file.sxw Binary files differdeleted file mode 100644 index ddb44c14d2d3..000000000000 --- a/scripting/workben/data/script_in_class_file.sxw +++ /dev/null diff --git a/scripting/workben/data/script_in_jar_file.sxw b/scripting/workben/data/script_in_jar_file.sxw Binary files differdeleted file mode 100644 index 93b10494d266..000000000000 --- a/scripting/workben/data/script_in_jar_file.sxw +++ /dev/null diff --git a/scripting/workben/data/share_scripts.zip b/scripting/workben/data/share_scripts.zip Binary files differdeleted file mode 100644 index 7c7fec622930..000000000000 --- a/scripting/workben/data/share_scripts.zip +++ /dev/null diff --git a/scripting/workben/data/testdata/Function.csv b/scripting/workben/data/testdata/Function.csv deleted file mode 100644 index b924c86f4bd6..000000000000 --- a/scripting/workben/data/testdata/Function.csv +++ /dev/null @@ -1,4 +0,0 @@ -_invoke;description=Try to find and invoke a valid user level XFunction;logicalname=script://HighlightText.showForm;expected=success -_invoke;description=Try to invoke a valid beanshell XFunction that returns an Integer;logicalname=script://returns-Integer;returntype=java.lang.Integer;expected=success -_invoke;description=Try to invoke a valid beanshell XFunction that returns a String;logicalname=script://returns-String;returntype=java.lang.String;returnvalue=testing;expected=success -_invoke;description=Try to invoke a valid beanshell XFunction that returns a Frame;logicalname=script://returns-Frame;expected=com.sun.star.uno.RuntimeException diff --git a/scripting/workben/data/testdata/FunctionProvider.csv b/scripting/workben/data/testdata/FunctionProvider.csv deleted file mode 100644 index 88dcfae118e3..000000000000 --- a/scripting/workben/data/testdata/FunctionProvider.csv +++ /dev/null @@ -1 +0,0 @@ -_getFunction;description=Try to get a valid XFunction;logicalname=script://MemoryUtils.MemUsage;expected=XFunction.class diff --git a/scripting/workben/data/testdata/ScriptInfo.csv b/scripting/workben/data/testdata/ScriptInfo.csv deleted file mode 100644 index a5fab2ad5d16..000000000000 --- a/scripting/workben/data/testdata/ScriptInfo.csv +++ /dev/null @@ -1,8 +0,0 @@ -_getLogicalName;description=Try to get a logical name;expected=MemoryUtils.MemUsage -_getParcelURI;description=Try to get a parcel URI;expected=ExampleSpreadSheetLatest.sxc/Scripts/java/MemoryUsage -_getLanguage;description=Try to get language;expected=Java -_getFunctionName;description=Try to get a function name;expected=MemoryUsage.updateMemoryUsage -_getLanguageProperties;description=Try to get language properties;expected=MemUsage.jar -_getFileSetNames;description=Try to get fileset names;expected=delivered -_getFilesInFileSet;description=Try to get files in fileset;expected=google.jar -_getDescription;description=Try to get description;expected=Show JVM memory usage stats diff --git a/scripting/workben/data/testdata/ScriptRuntimeManager.csv b/scripting/workben/data/testdata/ScriptRuntimeManager.csv deleted file mode 100644 index b5d049b5f425..000000000000 --- a/scripting/workben/data/testdata/ScriptRuntimeManager.csv +++ /dev/null @@ -1,8 +0,0 @@ -_resolve;description=Try to resolve a valid document URI;location=script_in_class_file.sxw;logicalname=script://doc.jsuite.testMethod;expected=XScriptInfo.class -_resolve;description=Try to resolve a valid user URI;location=user;logicalname=script://user.jsuite.test;expected=XScriptInfo.class -_resolve;description=Try to resolve a valid share URI;location=share;logicalname=script://share.jsuite.test;expected=XScriptInfo.class -_resolve;description=Try to resolve an invalid URI;location=user;logicalname=scrpit://user.jsuite.test;expected=com.sun.star.lang.IllegalArgumentException -_resolve;description=Try to resolve a valid but non existent URI;location=user;logicalname=script://non.existent.test;expected=null -_invoke;description=Try to invoke a valid user level URI;location=user;context=null;logicalname=script://user.jsuite.test;expected=success -_invoke;description=Try to invoke a valid user level URI with a valid context;location=user;context=xscriptcontext_test_document.sxw;logicalname=script://xscriptcontext.jsuite.test;expected=success -_invoke;description=Try to invoke a valid user level script in a jar file;location=user;context=null;logicalname=script://jarscript.jsuite.test;expected=success diff --git a/scripting/workben/data/testdata/ScriptStorage.csv b/scripting/workben/data/testdata/ScriptStorage.csv deleted file mode 100644 index a5b4589e6f64..000000000000 --- a/scripting/workben/data/testdata/ScriptStorage.csv +++ /dev/null @@ -1,4 +0,0 @@ -_getScriptLogicalNames;description=Try to get logical names;expected=MemoryUtils.MemUsage -_getImplementations;description=Try to get a valid implementation;logicalname=script://MemoryUtils.MemUsage?location=document;expected=MemoryUtils.MemUsage -_getAllImplementations;description=Try to get all valid implementations;location=doc_with_beanshell_scripts.sxw;expected=returns-Integer,returns-String,returns-Frame -_refresh;description=Try calling refresh;expected=success diff --git a/scripting/workben/data/testdata/ScriptStorageManager.csv b/scripting/workben/data/testdata/ScriptStorageManager.csv deleted file mode 100644 index 9dc2a9b67bf2..000000000000 --- a/scripting/workben/data/testdata/ScriptStorageManager.csv +++ /dev/null @@ -1,18 +0,0 @@ -_createScriptStorage;description=Try to create a ScriptStorage;expected=success -_createScriptStorageWithURI;description=Try to create a document ScriptStorage;location=script_in_class_file.sxw;expected=XScriptInfoAccess.class -_getScriptStorage;description=Try to get application share ScriptStorage;location=share;expected=XScriptInfoAccess.class -_getScriptStorage;description=Try to get application user ScriptStorage;location=user;expected=XScriptInfoAccess.class -_refreshScriptStorage;description=Try to refresh non-existent ScriptStorage;location=non-existent;expected=success -_refreshScriptStorage;description=Try to refresh valid document ScriptStorage;location=script_in_class_file.sxw;expected=success -_checkPermission;description=Try to get permssion when run macro is set to never;location=check_perms_file1.sxw;runmacro=never;pathlist=false;confirm=false;warning=false;dialog=false;checkbox=false;buttonName=Run;checkpath=false;expected=com.sun.star.security.AccessControlException -_checkPermission;description=Try to get permssion when run macro is set to always, and no warning dialog;location=check_perms_file2.sxw;runmacro=always;pathlist=false;confirm=false;warning=false;dialog=false;checkbox=false;buttonName=Run;checkpath=false;expected=true -_checkPermission;description=Try to get permssion when run macro is set to always, warning dialog, and run button pressed;location=check_perms_file3.sxw;runmacro=always;pathlist=false;confirm=false;warning=true;dialog=true;checkbox=false;buttonName=Run;checkpath=false;expected=true -_checkPermission;description=Try to get permssion when run macro is set to always, warning dialog, and do not run button pressed;location=check_perms_file4.sxw;runmacro=always;pathlist=false;confirm=false;warning=true;dialog=true;checkbox=false;buttonName=Do Not Run;checkpath=false;expected=com.sun.star.security.AccessControlException -_checkPermission;description=Try to get permssion when run macro is set to according to path list, doc in path, no warning dialog, and no confirmation;location=check_perms_file5.sxw;runmacro=pathlist;pathlist=true;confirm=false;warning=false;dialog=false;checkbox=false;buttonName=Do Not Run;checkpath=false;expected=true -_checkPermission;description=Try to get permssion when run macro is set to according to path list, doc not in path, no warning dialog, and no confirmation;location=check_perms_file6.sxw;runmacro=pathlist;pathlist=false;confirm=false;warning=false;dialog=false;checkbox=false;buttonName=Do Not Run;checkpath=false;expected=com.sun.star.security.AccessControlException -_checkPermission;description=Try to get permssion when run macro is set to according to path list, doc in path, warning dialog, run button pressed;location=check_perms_file7.sxw;runmacro=pathlist;pathlist=true;confirm=false;warning=true;dialog=true;checkbox=false;buttonName=Run;checkpath=false;expected=true -_checkPermission;description=Try to get permssion when run macro is set to according to path list, doc in path, warning dialog, do not run button pressed;location=check_perms_file8.sxw;runmacro=pathlist;pathlist=true;confirm=false;warning=true;dialog=true;checkbox=false;buttonName=Do Not Run;checkpath=false;expected=com.sun.star.security.AccessControlException -_checkPermission;description=Try to get permssion when run macro is set to according to path list, doc not in path, warning dialog, confirm dialog, checkbox not checked, run button pressed;location=check_perms_file9.sxw;runmacro=pathlist;pathlist=false;confirm=true;warning=true;dialog=true;checkbox=false;buttonName=Run;checkpath=true;expected=true -_checkPermission;description=Try to get permssion when run macro is set to according to path list, doc not in path, warning dialog, confirm dialog, checkbox checked, run button pressed;location=check_perms_file10.sxw;runmacro=pathlist;pathlist=true;confirm=true;warning=true;dialog=true;checkbox=true;buttonName=Run;checkpath=true;expected=true -_checkPermission;description=Try to get permssion when run macro is set to according to path list, doc not in path, warning dialog, confirm dialog, checkbox not checked, do not run button pressed;location=check_perms_file11.sxw;runmacro=pathlist;pathlist=false;confirm=true;warning=true;dialog=true;checkbox=false;buttonName=Do Not Run;checkpath=true;expected=com.sun.star.security.AccessControlException -_checkPermission;description=Try to get permssion when run macro is set to according to path list, doc not in path, warning dialog, confirm dialog, checkbox checked, do not run button pressed;location=check_perms_file12.sxw;runmacro=pathlist;pathlist=false;confirm=true;warning=true;dialog=true;checkbox=true;buttonName=Do Not Run;checkpath=true;expected=com.sun.star.security.AccessControlException diff --git a/scripting/workben/data/user_scripts.zip b/scripting/workben/data/user_scripts.zip Binary files differdeleted file mode 100644 index f5eed7657365..000000000000 --- a/scripting/workben/data/user_scripts.zip +++ /dev/null diff --git a/scripting/workben/data/xscriptcontext_test_document.sxw b/scripting/workben/data/xscriptcontext_test_document.sxw Binary files differdeleted file mode 100644 index da6dafb0b805..000000000000 --- a/scripting/workben/data/xscriptcontext_test_document.sxw +++ /dev/null |