diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-11 15:04:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-14 10:59:47 +0200 |
commit | 89c0a2b2f65beeb6f42d3334662100a13169a8d6 (patch) | |
tree | d9620639bd42607d37025e7fda37a41f2877fd60 /scripting/workben | |
parent | 25e4635d3537bbdf389301bceef5b122824e98af (diff) |
remove usage of DOCPTH and CNCSTR
from the java test code, this was legacy, just finishing the job
Change-Id: I2475efcde561cf10b29ea956972cddc06ec5635e
Diffstat (limited to 'scripting/workben')
-rw-r--r-- | scripting/workben/mod/_scripting/ScriptInfo.java | 4 | ||||
-rw-r--r-- | scripting/workben/mod/_scripting/ScriptStorage.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripting/workben/mod/_scripting/ScriptInfo.java b/scripting/workben/mod/_scripting/ScriptInfo.java index 4dce6625054f..c1fd57520c3f 100644 --- a/scripting/workben/mod/_scripting/ScriptInfo.java +++ b/scripting/workben/mod/_scripting/ScriptInfo.java @@ -38,8 +38,8 @@ public class ScriptInfo extends TestCase { @Override public void initialize( TestParameters tParam, PrintWriter log ) { // Get path to test documents - String rootDocPath = ( String )tParam.get( "DOCPTH" ); - System.out.println( "DOCPTH is " + rootDocPath ); + String rootDocPath = ( String )tParam.get( "TEST_DOCUMENT_PATH" ); + System.out.println( "TEST_DOCUMENT_PATH is " + rootDocPath ); rootDocPath = util.utils.getFullTestURL( "ExampleSpreadSheetLatest.sxc" ); if ( rootDocPath != null && rootDocPath.length() > 1 ){ // convert all "\\" to "/", necessary for UCB diff --git a/scripting/workben/mod/_scripting/ScriptStorage.java b/scripting/workben/mod/_scripting/ScriptStorage.java index 3ecb91e508aa..1d55c18060af 100644 --- a/scripting/workben/mod/_scripting/ScriptStorage.java +++ b/scripting/workben/mod/_scripting/ScriptStorage.java @@ -35,8 +35,8 @@ public class ScriptStorage extends TestCase { @Override public void initialize( TestParameters tParam, PrintWriter log ) { // Get path to test documents - String rootDocPath = ( String )tParam.get( "DOCPTH" ); - System.out.println( "DOCPTH is " + rootDocPath ); + String rootDocPath = ( String )tParam.get( "TEST_DOCUMENT_PATH" ); + System.out.println( "TEST_DOCUMENT_PATH is " + rootDocPath ); rootDocPath = util.utils.getFullTestURL( "ExampleSpreadSheetLatest.sxc" ); if ( rootDocPath != null && rootDocPath.length() > 1 ){ // convert all "\\" to "/", necessary for UCB |