blob: fd55622533da4c2e9c9569fd30876fe01cc4909d [file] [log] [blame]
/*
* Copyright (c) 2011-2013, 2017 Eike Stepper (Loehne, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Eike Stepper - initial API and implementation
* Stefan Winkler - introduced variable mapping strategies
*/
package org.eclipse.emf.cdo.tests.mongodb;
import org.eclipse.emf.cdo.tests.AllConfigs;
import org.eclipse.emf.cdo.tests.MEMStoreQueryTest;
import org.eclipse.emf.cdo.tests.config.IScenario;
import org.eclipse.emf.cdo.tests.config.impl.ConfigTest;
import java.util.List;
import junit.framework.Test;
import junit.framework.TestSuite;
/**
* @author Eike Stepper
*/
public class AllTestsMongoDB extends AllConfigs
{
public static Test suite()
{
return new AllTestsMongoDB().getTestSuite();
}
@Override
protected void initConfigSuites(TestSuite parent)
{
addScenario(parent, new MongoDBConfig(), JVM, NATIVE);
addScenario(parent, new MongoDBConfig().supportingAudits(true), JVM, NATIVE);
}
@Override
protected void initTestClasses(List<Class<? extends ConfigTest>> testClasses, IScenario scenario)
{
testClasses.add(MongoDBInitialTest.class);
super.initTestClasses(testClasses, scenario);
testClasses.remove(MEMStoreQueryTest.class);
}
}