Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-08-26 10:11:01 +0000
committerEike Stepper2011-08-26 10:11:01 +0000
commitd850e8067564a7c5d5d217c9afa58ca61134efa9 (patch)
tree9fd5cc976237b1398b05648a54c0135281456ab4 /plugins/org.eclipse.emf.cdo.tests.hibernate
parent0d0f0c489b9f244987cafc8dfae1437785fc2e16 (diff)
downloadcdo-d850e8067564a7c5d5d217c9afa58ca61134efa9.tar.gz
cdo-d850e8067564a7c5d5d217c9afa58ca61134efa9.tar.xz
cdo-d850e8067564a7c5d5d217c9afa58ca61134efa9.zip
[355921] [Tests] Constrain tests declaratively
https://bugs.eclipse.org/bugs/show_bug.cgi?id=355921
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.hibernate')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateConfig.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateConfig.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateConfig.java
index 7a631a8b3d..48dd626141 100644
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateConfig.java
+++ b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateConfig.java
@@ -28,6 +28,8 @@ import java.util.Properties;
*/
public class HibernateConfig extends RepositoryConfig
{
+ public static final String STAORE_NAME = "Hibernate";
+
public static final HibernateConfig INSTANCE = new HibernateConfig();
public static final String MAPPING_FILE = "mappingfile";
@@ -38,7 +40,13 @@ public class HibernateConfig extends RepositoryConfig
public HibernateConfig()
{
- super("Hibernate", false, false, IDGenerationLocation.STORE);
+ super(STAORE_NAME, false, false, IDGenerationLocation.STORE);
+ }
+
+ @Override
+ protected String getStoreName()
+ {
+ return STAORE_NAME;
}
@Override

Back to the top