Author: vhalbert(a)redhat.com
Date: 2009-08-12 15:42:56 -0400 (Wed, 12 Aug 2009)
New Revision: 1236
Modified:
trunk/runtime/src/test/java/com/metamatrix/dqp/embedded/services/TestEmbeddedVDBService.java
Log:
TEIID-772 Fixed TestEmbeddedVDBService test to look for TestEmpty.vdb
Modified:
trunk/runtime/src/test/java/com/metamatrix/dqp/embedded/services/TestEmbeddedVDBService.java
===================================================================
---
trunk/runtime/src/test/java/com/metamatrix/dqp/embedded/services/TestEmbeddedVDBService.java 2009-08-12
17:39:14 UTC (rev 1235)
+++
trunk/runtime/src/test/java/com/metamatrix/dqp/embedded/services/TestEmbeddedVDBService.java 2009-08-12
19:42:56 UTC (rev 1236)
@@ -199,13 +199,14 @@
configService.addVDB(vdb, true);
assertEquals(3, vdbService.getAvailableVDBs().size());
- vdb = vdbService.getVDB("Empty", "1"); //$NON-NLS-1$
//$NON-NLS-2$
- assertEquals("Empty", vdb.getName()); //$NON-NLS-1$
+
+ vdb = vdbService.getVDB("TestEmpty", "1"); //$NON-NLS-1$
//$NON-NLS-2$
+ assertEquals("TestEmpty", vdb.getName()); //$NON-NLS-1$
assertEquals("1", vdb.getVersion()); //$NON-NLS-1$
// no bindings should be added because this function only worries
// about the vdb not bindings. Adding is for the Data service and the admin API
- assertEquals(3, configService.getConnectorBindings().size());
+ assertEquals(4, configService.getConnectorBindings().size());
}
// when we deploy the already deployed VDB it should take on the next version