summaryrefslogtreecommitdiff
path: root/connectivity/qa
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-06 12:16:12 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-06 12:16:12 +0000
commit501f1b0d09a37fa3635187d8fc2448a908858dba (patch)
tree52c45914698fcfdd66fc318a371de08fcd90dca2 /connectivity/qa
parentbbd371fc63f6db547c2947a4314a3749252d6990 (diff)
INTEGRATION: CWS dba30c (1.5.10); FILE MERGED
2008/05/06 10:40:00 oj 1.5.10.1: #i75557# add test for lower() like
Diffstat (limited to 'connectivity/qa')
-rw-r--r--connectivity/qa/drivers/dbase/DBaseNumericFunctions.java4
-rw-r--r--connectivity/qa/drivers/dbase/DBaseStringFunctions.java8
2 files changed, 8 insertions, 4 deletions
diff --git a/connectivity/qa/drivers/dbase/DBaseNumericFunctions.java b/connectivity/qa/drivers/dbase/DBaseNumericFunctions.java
index 6b25a19f42..fdca0f1245 100644
--- a/connectivity/qa/drivers/dbase/DBaseNumericFunctions.java
+++ b/connectivity/qa/drivers/dbase/DBaseNumericFunctions.java
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: DBaseNumericFunctions.java,v $
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
* This file is part of OpenOffice.org.
*
@@ -50,7 +50,7 @@ import java.io.*;
public class DBaseNumericFunctions {
- private String where = "FROM \"biblio\" \"biblio\" where \"Identifier\" = 'BOR04'";
+ private String where = "FROM \"biblio\" \"biblio\" where \"Identifier\" = 'BOR00'";
private XMultiServiceFactory m_xORB;
private DBaseDriverTest testcase;
public DBaseNumericFunctions(XMultiServiceFactory _xORB,DBaseDriverTest _testcase){
diff --git a/connectivity/qa/drivers/dbase/DBaseStringFunctions.java b/connectivity/qa/drivers/dbase/DBaseStringFunctions.java
index 3539982283..2a98519feb 100644
--- a/connectivity/qa/drivers/dbase/DBaseStringFunctions.java
+++ b/connectivity/qa/drivers/dbase/DBaseStringFunctions.java
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: DBaseStringFunctions.java,v $
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
* This file is part of OpenOffice.org.
*
@@ -50,7 +50,7 @@ import java.io.*;
public class DBaseStringFunctions {
- private String where = "FROM \"biblio\" \"biblio\" where \"Identifier\" = 'BOR04'";
+ private String where = "FROM \"biblio\" \"biblio\" where \"Identifier\" = 'BOR00'";
private XMultiServiceFactory m_xORB;
private DBaseDriverTest testcase;
public DBaseStringFunctions(XMultiServiceFactory _xORB,DBaseDriverTest _testcase){
@@ -191,6 +191,10 @@ public class DBaseStringFunctions {
XRow row = execute(xRowRes,"lower('TEST'),LCASE('TEST') ");
assure("lower('TEST') failed!",row.getString(1).equals("test"));
assure("lcase('TEST') failed!",row.getString(2).equals("test"));
+ final String t = where;
+ where = "FROM \"biblio\" \"biblio\" where LOWER(\"Identifier\") like 'bor%'";
+ row = execute(xRowRes,"lower('TEST'),LCASE('TEST') ");
+ where = t;
}
private void acsii(XRowSet xRowRes) throws com.sun.star.uno.Exception,com.sun.star.beans.UnknownPropertyException {