Skip to main content
summaryrefslogtreecommitdiffstats
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.mongodb
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.mongodb')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.mongodb/src/org/eclipse/emf/cdo/tests/mongodb/MongoDBConfig.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.mongodb/src/org/eclipse/emf/cdo/tests/mongodb/MongoDBConfig.java b/plugins/org.eclipse.emf.cdo.tests.mongodb/src/org/eclipse/emf/cdo/tests/mongodb/MongoDBConfig.java
index c1d85751ee..c031016e91 100644
--- a/plugins/org.eclipse.emf.cdo.tests.mongodb/src/org/eclipse/emf/cdo/tests/mongodb/MongoDBConfig.java
+++ b/plugins/org.eclipse.emf.cdo.tests.mongodb/src/org/eclipse/emf/cdo/tests/mongodb/MongoDBConfig.java
@@ -27,11 +27,19 @@ import com.mongodb.MongoURI;
*/
public class MongoDBConfig extends RepositoryConfig
{
+ public static final String STORE_NAME = "MongoDB";
+
private static final long serialVersionUID = 1L;
public MongoDBConfig(boolean supportingAudits, boolean supportingBranches, IDGenerationLocation idGenerationLocation)
{
- super("MongoDB", supportingAudits, supportingBranches, idGenerationLocation);
+ super(STORE_NAME, supportingAudits, supportingBranches, idGenerationLocation);
+ }
+
+ @Override
+ protected String getStoreName()
+ {
+ return STORE_NAME;
}
@Override

Back to the top