Tag: cws_src680_dba24c User: fs Date: 2007-11-04 21:45:58+0000 Modified: dba/dbaccess/qa/complex/dbaccess/CRMDatabase.java dba/dbaccess/qa/complex/dbaccess/Query.java
Log: adjust our tests - the parser has been improved in CWS dba24c, so that the query which was previously unparseable is now parseable. We need a new unparseable query, thus. File Changes: Directory: /dba/dbaccess/qa/complex/dbaccess/ ============================================= File [changed]: CRMDatabase.java Url: http://dba.openoffice.org/source/browse/dba/dbaccess/qa/complex/dbaccess/CRMDatabase.java?r1=1.3&r2=1.3.40.1 Delta lines: +5 -4 ------------------- --- CRMDatabase.java 2007-07-06 07:50:58+0000 1.3 +++ CRMDatabase.java 2007-11-04 21:45:56+0000 1.3.40.1 @@ -4,9 +4,9 @@ * * $RCSfile: CRMDatabase.java,v $ * - * $Revision: 1.3 $ + * $Revision: 1.3.40.1 $ * - * last change: $Author: rt $ $Date: 2007/07/06 07:50:58 $ + * last change: $Author: fs $ $Date: 2007/11/04 21:45:56 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -210,7 +210,8 @@ m_database.getDataSource().createQuery( "parseable", "SELECT * FROM \"customers\"" ); m_database.getDataSource().createQuery( "parseable native", "SELECT * FROM INFORMATION_SCHEMA.SYSTEM_VIEWS", false ); - m_database.getDataSource().createQuery( "unparseable", "SELECT \"Postal\" || ' - ' || \"City\" AS \"concat\" FROM \"customers\"", false ); + m_database.getDataSource().createQuery( "unparseable", + "SELECT CAST( \"ID\" AS VARCHAR(3) ) AS \"ID_VARCHAR\" FROM \"products\"", false ); validateUnparseable(); } File [changed]: Query.java Url: http://dba.openoffice.org/source/browse/dba/dbaccess/qa/complex/dbaccess/Query.java?r1=1.3&r2=1.3.40.1 Delta lines: +4 -4 ------------------- --- Query.java 2007-07-06 07:51:16+0000 1.3 +++ Query.java 2007-11-04 21:45:56+0000 1.3.40.1 @@ -4,9 +4,9 @@ * * $RCSfile: Query.java,v $ * - * $Revision: 1.3 $ + * $Revision: 1.3.40.1 $ * - * last change: $Author: rt $ $Date: 2007/07/06 07:51:16 $ + * last change: $Author: fs $ $Date: 2007/11/04 21:45:56 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -107,7 +107,7 @@ String[][] expectedColumnNames = new String[][] { new String[] { "ID", "Name", "Address", "City", "Postal" }, new String[] { "TABLE_CATALOG", "TABLE_SCHEMA", "TABLE_NAME", "VIEW_DEFINITION", "CHECK_OPTION", "IS_UPDATABLE", "VALID" }, - new String[] { "concat" } + new String[] { "ID_VARCHAR" } }; for ( int i = 0; i < queryNames.length; ++i ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
