Author: bdaniel
Date: Wed Nov 15 06:47:29 2006
New Revision: 475250
URL: http://svn.apache.org/viewvc?view=rev&rev=475250
Log:
Re-enable DAS test case
Modified:
incubator/tuscany/java/das/rdb/src/test/java/org/apache/tuscany/das/rdb/test/ResultSetShapeTests.java
Modified:
incubator/tuscany/java/das/rdb/src/test/java/org/apache/tuscany/das/rdb/test/ResultSetShapeTests.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/das/rdb/src/test/java/org/apache/tuscany/das/rdb/test/ResultSetShapeTests.java?view=diff&rev=475250&r1=475249&r2=475250
==============================================================================
---
incubator/tuscany/java/das/rdb/src/test/java/org/apache/tuscany/das/rdb/test/ResultSetShapeTests.java
(original)
+++
incubator/tuscany/java/das/rdb/src/test/java/org/apache/tuscany/das/rdb/test/ResultSetShapeTests.java
Wed Nov 15 06:47:29 2006
@@ -68,8 +68,8 @@
* provide the shape info. Since the select will not return valid metadata,
* this test is expected to fail
*/
- public void dont_testReadSingleVerifyShapeUse() throws Exception { //
kgoodson temporarily remove until apparent test case
- //
issue exposed by fix to TUSCANY-885 is resolved
+ public void testReadSingleVerifyShapeUse() throws Exception {
+
// Using literals in the select forces invalid resultset metadata
String sqlString = "Select 99, 'Roosevelt', '1600 Pennsylvania Avenue'
from customer";
@@ -83,8 +83,8 @@
// Verify
try {
- assertEquals(5, root.getList("CUSTOMER").size());
- fail("Should fail since there will be no feature named CUSTOMER");
+ assertEquals(5, root.getList("invalidProperty").size());
+ fail("Should fail since there will be no feature named
invalidProperty");
} catch (IllegalArgumentException e) {
// OK
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]