summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-11 15:04:04 +0200
committerNoel Grandin <noel@peralex.com>2014-08-14 10:59:47 +0200
commit89c0a2b2f65beeb6f42d3334662100a13169a8d6 (patch)
treed9620639bd42607d37025e7fda37a41f2877fd60 /qadevOOo/tests/java/ifc
parent25e4635d3537bbdf389301bceef5b122824e98af (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 'qadevOOo/tests/java/ifc')
-rw-r--r--qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java b/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java
index f61eb5457f21..8d72ae42d661 100644
--- a/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java
+++ b/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java
@@ -133,7 +133,7 @@ public class _XBridgeFactory extends MultiMethodTest {
/**
* First creates connection with StarOffice process, using environment
- * property <code>'CNCSTR'</code>. Then cerates bridge with unique name
+ * property <code>'CONNECTION_STRING'</code>. Then create bridge with unique name
* using protocol specified in environment as <code>'PROTOCOL'</code>
* property. After that bridge is disposed. <p>
* Has <b>OK</b> status if value returned is not null
diff --git a/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java b/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java
index 15acdcd47b44..8c06a2a89277 100644
--- a/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java
+++ b/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java
@@ -129,14 +129,14 @@ public class _XUnoUrlResolver extends MultiMethodTest {
}
/**
* Test calls the method using environment property
- * <code>'CNCSTR'</code>. <p>
+ * <code>'CONNECTION_STRING'</code>. <p>
* Has <b> OK </b> status if the method successfully returns
* object that support interface <code>XMultiServiceFactory</code> and
* no exceptions were thrown. <p>
* @see com.sun.star.lang.XMultiServiceFactory
*/
public void _resolve() {
- String connectStr = (String)tParam.get("CNCSTR");
+ String connectStr = (String)tParam.get("CONNECTION_STRING");
int pIndex = connectStr.indexOf("port=") + 5;
connectStr = connectStr.substring(0, pIndex);
System.out.println("ConnectString: " + connectStr);