Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/MEMStoreQueryTest.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/MEMStoreQueryTest.java12
1 files changed, 2 insertions, 10 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/MEMStoreQueryTest.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/MEMStoreQueryTest.java
index 3924d5b26b..491ed03d04 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/MEMStoreQueryTest.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/MEMStoreQueryTest.java
@@ -13,6 +13,7 @@ package org.eclipse.emf.cdo.tests;
import org.eclipse.emf.cdo.eresource.CDOResource;
import org.eclipse.emf.cdo.session.CDOSession;
+import org.eclipse.emf.cdo.tests.config.impl.ConfigTest.Requires;
import org.eclipse.emf.cdo.tests.model1.Category;
import org.eclipse.emf.cdo.tests.model1.Company;
import org.eclipse.emf.cdo.transaction.CDOTransaction;
@@ -31,12 +32,11 @@ import java.util.Set;
/**
* @author Simon McDuff
*/
+@Requires("MEM")
public class MEMStoreQueryTest extends AbstractCDOTest
{
public void testMEMStoreBasicQuery() throws Exception
{
- skipUnlessMEM();
-
Set<Object> objects = new HashSet<Object>();
CDOSession session = openSession();
CDOTransaction transaction = session.openTransaction();
@@ -71,8 +71,6 @@ public class MEMStoreQueryTest extends AbstractCDOTest
public void testMEMStoreBasicQuery_EClassParameter() throws Exception
{
- skipUnlessConfig(MEM);
-
Set<Object> objects = new HashSet<Object>();
CDOSession session = openSession();
CDOTransaction transaction = session.openTransaction();
@@ -106,8 +104,6 @@ public class MEMStoreQueryTest extends AbstractCDOTest
public void testMEMStoreQueryCancel_successful() throws Exception
{
- skipUnlessConfig(MEM);
-
CDOTransaction transaction = initialize(500);
CDOQuery query = transaction.createQuery("TEST", "QUERYSTRING");
query.setParameter("sleep", 1000L);
@@ -130,8 +126,6 @@ public class MEMStoreQueryTest extends AbstractCDOTest
public void testMEMStoreQueryCancel_ViewClose() throws Exception
{
- skipUnlessConfig(MEM);
-
CDOTransaction transaction = initialize(500);
CDOQuery query = transaction.createQuery("TEST", "QUERYSTRING");
query.setParameter("sleep", 1000L);
@@ -152,8 +146,6 @@ public class MEMStoreQueryTest extends AbstractCDOTest
public void testMEMStoreQueryCancel_SessionClose() throws Exception
{
- skipUnlessConfig(MEM);
-
CDOTransaction transaction = initialize(500);
CDOQuery query = transaction.createQuery("TEST", "QUERYSTRING");
query.setParameter("sleep", 1000L);

Back to the top