Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2012-04-25 10:47:23 +0000
committerMartin Taal2012-04-25 10:47:23 +0000
commita22a3877ed029517e2dbc8b0516867c93d752eab (patch)
tree16e85f797d92b30187179127b74681558ba10e51 /plugins/org.eclipse.emf.cdo.tests.hibernate
parent2de7a1d6d940ae088ca1154d34b8c50d5134d4cc (diff)
downloadcdo-a22a3877ed029517e2dbc8b0516867c93d752eab.tar.gz
cdo-a22a3877ed029517e2dbc8b0516867c93d752eab.tar.xz
cdo-a22a3877ed029517e2dbc8b0516867c93d752eab.zip
Fixes issue [339492] - [Hibernate] Support backup/restore (export/import) feature
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/AllTestsHibernate.java39
1 files changed, 34 insertions, 5 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/AllTestsHibernate.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/AllTestsHibernate.java
index 254416d922..4e4647b2ab 100644
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/AllTestsHibernate.java
+++ b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/AllTestsHibernate.java
@@ -13,6 +13,7 @@ package org.eclipse.emf.cdo.tests.hibernate;
import org.eclipse.emf.cdo.tests.AllConfigs;
import org.eclipse.emf.cdo.tests.AuditSameSessionTest;
import org.eclipse.emf.cdo.tests.AuditTest;
+import org.eclipse.emf.cdo.tests.BackupTest;
import org.eclipse.emf.cdo.tests.BranchingSameSessionTest;
import org.eclipse.emf.cdo.tests.BranchingTest;
import org.eclipse.emf.cdo.tests.BranchingWithCacheClearTest;
@@ -79,12 +80,19 @@ public class AllTestsHibernate extends AllConfigs
protected void initTestClasses(List<Class<? extends ConfigTest>> testClasses, IScenario scenario)
{
// testClasses.clear();
- // testClasses.add(HibernateTimeStampTest.class);
+ // testClasses.add(FeatureMapTest.class);
+ // testClasses.add(Hibernate_BackupTest.class);
+ // // testClasses.add(HibernateTimeStampTest.class);
// if (true)
// {
// return;
// }
+ // Use a hibnernate specific test class
+ // https://bugs.eclipse.org/bugs/show_bug.cgi?id=339492
+ testClasses.add(Hibernate_BackupTest.class);
+ testClasses.remove(BackupTest.class);
+
testClasses.add(HibernateTimeStampTest.class);
testClasses.add(Hibernate_Bugzilla_279982_Test.class);
testClasses.add(Hibernate_ContainmentTest.class);
@@ -138,10 +146,6 @@ public class AllTestsHibernate extends AllConfigs
// OCL querying not supported
testClasses.remove(OCLQueryTest.class);
- // Backup not yet supported
- // https://bugs.eclipse.org/bugs/show_bug.cgi?id=339492
- // testClasses.remove(BackupTest.class);
-
// Branching not supported
testClasses.remove(BranchingTest.class);
testClasses.remove(MergingTest.class);
@@ -349,4 +353,29 @@ public class AllTestsHibernate extends AllConfigs
}
}
}
+
+ public static class Hibernate_BackupTest extends BackupTest
+ {
+
+ @Override
+ public void testExportFeatureMap() throws Exception
+ {
+ }
+
+ @Override
+ public void testExportExternalReference() throws Exception
+ {
+ }
+
+ @Override
+ public void testImportFeatureMap() throws Exception
+ {
+ }
+
+ @Override
+ public void testImportExternalReference() throws Exception
+ {
+ }
+
+ }
}

Back to the top