Files
loongoffice/scripting/workben/data/testdata/ScriptStorageManager.csv
2003-02-26 12:27:34 +00:00

4.4 KiB

1_createScriptStorage;description=Try to create a ScriptStorage;expected=success
2_createScriptStorageWithURI;description=Try to create a document ScriptStorage;location=script_in_class_file.sxw;expected=XScriptInfoAccess.class
3_getScriptStorage;description=Try to get application share ScriptStorage;location=share;expected=XScriptInfoAccess.class
4_getScriptStorage;description=Try to get application user ScriptStorage;location=user;expected=XScriptInfoAccess.class
5_refreshScriptStorage;description=Try to refresh non-existent ScriptStorage;location=non-existent;expected=success
6_refreshScriptStorage;description=Try to refresh valid document ScriptStorage;location=script_in_class_file.sxw;expected=success
7_checkPermission;description=Try to get permssion when run macro is set to never;location=script_in_class_file.sxw;runmacro=never;pathlist=false;confirm=false;warning=false;dialog=false;checkbox=false;buttonName=Run1;checkpath=false;expected=false
8_checkPermission;description=Try to get permssion when run macro is set to always, and no warning dialog;location=script_in_class_file.sxw;runmacro=always;pathlist=false;confirm=false;warning=false;dialog=false;checkbox=false;buttonName=Run1;checkpath=false;expected=true
9_checkPermission;description=Try to get permssion when run macro is set to always, warning dialog, and run button pressed;location=script_in_class_file.sxw;runmacro=always;pathlist=false;confirm=false;warning=true;dialog=true;checkbox=false;buttonName=Run1;checkpath=false;expected=true
10_checkPermission;description=Try to get permssion when run macro is set to always, warning dialog, and do not run button pressed;location=script_in_class_file.sxw;runmacro=always;pathlist=false;confirm=false;warning=true;dialog=true;checkbox=false;buttonName=DontRun1;checkpath=false;expected=false
11_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=script_in_class_file.sxw;runmacro=pathlist;pathlist=true;confirm=false;warning=false;dialog=false;checkbox=false;buttonName=DontRun1;checkpath=false;expected=true
12_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=script_in_class_file.sxw;runmacro=pathlist;pathlist=false;confirm=false;warning=false;dialog=false;checkbox=false;buttonName=DontRun1;checkpath=false;expected=false
13_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=script_in_class_file.sxw;runmacro=pathlist;pathlist=true;confirm=false;warning=true;dialog=true;checkbox=false;buttonName=Run1;checkpath=false;expected=true
14_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=script_in_class_file.sxw;runmacro=pathlist;pathlist=true;confirm=false;warning=true;dialog=true;checkbox=false;buttonName=DontRun1;checkpath=false;expected=false
15_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=script_in_class_file.sxw;runmacro=pathlist;pathlist=true;confirm=true;warning=true;dialog=true;checkbox=false;buttonName=Run1;checkpath=true;expected=true
16_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=script_in_class_file.sxw;runmacro=pathlist;pathlist=true;confirm=true;warning=true;dialog=true;checkbox=true;buttonName=Run1;checkpath=true;expected=true
17_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, no not run button pressed;location=script_in_class_file.sxw;runmacro=pathlist;pathlist=true;confirm=true;warning=true;dialog=true;checkbox=false;buttonName=DontRun1;checkpath=true;expected=true
18_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=script_in_class_file.sxw;runmacro=pathlist;pathlist=true;confirm=true;warning=true;dialog=true;checkbox=true;buttonName=DontRun1;checkpath=true;expected=true