Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-09-22 10:30:07 +0000
committerEike Stepper2008-09-22 10:30:07 +0000
commit520632045271797f75a2cd5a4e0dea093a7c4510 (patch)
tree6fd7eb5b28e403005a8fbc2e5a60fe6188a1746c /plugins/org.eclipse.net4j.db.tests
parent91cf0441c6eec7922615a0bde10d31cb7ccf5f7b (diff)
downloadcdo-520632045271797f75a2cd5a4e0dea093a7c4510.tar.gz
cdo-520632045271797f75a2cd5a4e0dea093a7c4510.tar.xz
cdo-520632045271797f75a2cd5a4e0dea093a7c4510.zip
[247817] Develop configurable test bed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=247817
Diffstat (limited to 'plugins/org.eclipse.net4j.db.tests')
-rw-r--r--plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/AbstractDBTest.java4
-rw-r--r--plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/DerbyTest.java2
-rw-r--r--plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/HsqldbTest.java2
-rw-r--r--plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/MysqlTest.java2
4 files changed, 5 insertions, 5 deletions
diff --git a/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/AbstractDBTest.java b/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/AbstractDBTest.java
index 193b2f6a65..d3ed4b8857 100644
--- a/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/AbstractDBTest.java
+++ b/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/AbstractDBTest.java
@@ -40,7 +40,7 @@ public abstract class AbstractDBTest<DATA_SOURCE extends DataSource> extends Abs
{
dbAdapter = createDBAdapter();
DATA_SOURCE dataSource = (DATA_SOURCE)dbAdapter.createJDBCDataSource();
- configureDataSourcer(dataSource);
+ configureDataSource(dataSource);
dbConnectionProvider = DBUtil.createConnectionProvider(dataSource);
}
@@ -51,7 +51,7 @@ public abstract class AbstractDBTest<DATA_SOURCE extends DataSource> extends Abs
protected abstract IDBAdapter createDBAdapter();
- protected abstract void configureDataSourcer(DATA_SOURCE dataSource);
+ protected abstract void configureDataSource(DATA_SOURCE dataSource);
protected Connection getConnection()
{
diff --git a/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/DerbyTest.java b/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/DerbyTest.java
index fa8dcd706e..1702611e82 100644
--- a/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/DerbyTest.java
+++ b/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/DerbyTest.java
@@ -32,7 +32,7 @@ public class DerbyTest extends AbstractDBTest<EmbeddedDataSource>
}
@Override
- protected void configureDataSourcer(EmbeddedDataSource dataSource)
+ protected void configureDataSource(EmbeddedDataSource dataSource)
{
dbFolder = TMPUtil.createTempFolder("derby_", null, new File("/temp"));
deleteDBFolder();
diff --git a/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/HsqldbTest.java b/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/HsqldbTest.java
index 4d32f372cf..ae8e17cdbb 100644
--- a/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/HsqldbTest.java
+++ b/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/HsqldbTest.java
@@ -25,7 +25,7 @@ public class HsqldbTest extends AbstractDBTest<HSQLDBDataSource>
}
@Override
- protected void configureDataSourcer(HSQLDBDataSource dataSource)
+ protected void configureDataSource(HSQLDBDataSource dataSource)
{
dataSource.setDatabase("jdbc:hsqldb:mem:dbtest");
dataSource.setUser("sa");
diff --git a/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/MysqlTest.java b/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/MysqlTest.java
index 37d60b71fa..e9233caf42 100644
--- a/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/MysqlTest.java
+++ b/plugins/org.eclipse.net4j.db.tests/src/org/eclipse/net4j/db/tests/MysqlTest.java
@@ -26,7 +26,7 @@ public class MysqlTest extends AbstractDBTest<MysqlDataSource>
}
@Override
- protected void configureDataSourcer(MysqlDataSource dataSource)
+ protected void configureDataSource(MysqlDataSource dataSource)
{
dataSource.setDatabaseName("dbtest");
}

Back to the top