Revision: 6395
http://squirrel-sql.svn.sourceforge.net/squirrel-sql/?rev=6395&view=rev
Author: manningr
Date: 2011-09-05 14:33:41 +0000 (Mon, 05 Sep 2011)
Log Message:
-----------
remove spaces from display name if there are any.
Modified Paths:
--------------
trunk/sql12/squirrelsql-integration-environment/src/test/java/net/sourceforge/squirrel_sql/plugins/dbcopy/cli/DbCopyCliExternalIntegrationTest.java
Modified: trunk/sql12/squirrelsql-integration-environment/src/test/java/net/sourceforge/squirrel_sql/plugins/dbcopy/cli/DbCopyCliExternalIntegrationTest.java
===================================================================
--- trunk/sql12/squirrelsql-integration-environment/src/test/java/net/sourceforge/squirrel_sql/plugins/dbcopy/cli/DbCopyCliExternalIntegrationTest.java 2011-09-05 14:33:06 UTC (rev 6394)
+++ trunk/sql12/squirrelsql-integration-environment/src/test/java/net/sourceforge/squirrel_sql/plugins/dbcopy/cli/DbCopyCliExternalIntegrationTest.java 2011-09-05 14:33:41 UTC (rev 6395)
@@ -549,10 +549,9 @@
private void testCopy(ISession sourceSession, String sourceCatalog, String sourceSchema, ISession destSession, String destCatalog, String destSchema, String tableListStr) throws Exception {
String sourceTestDataFolder =
- DialectFactory.getDialect(sourceSession.getMetaData()).getDisplayName().toLowerCase();
+ DialectFactory.getDialect(sourceSession.getMetaData()).getDisplayName().toLowerCase().replace(" ", "");
String destTestDataFolder =
- DialectFactory.getDialect(destSession.getMetaData()).getDisplayName().toLowerCase();
-
+ DialectFactory.getDialect(destSession.getMetaData()).getDisplayName().toLowerCase().replace(" ", "");
// run drop script on both the source and destination databases. If the testDataFolder associated with
// the session has a drop.sql script, use that one instead of the generic one.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|