blob: 1ad0f605b60599fce64728c723ec41152ca58f44 [file] [log] [blame]
/*
* Copyright (c) 2011-2013, 2015, 2016 Eike Stepper (Berlin, 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.db;
import org.eclipse.emf.cdo.common.CDOCommonRepository.IDGenerationLocation;
import org.eclipse.emf.cdo.tests.config.impl.ConfigTestSuite;
import junit.framework.Test;
import junit.framework.TestSuite;
/**
* @author Eike Stepper
*/
public class AllTestsDBH2Audit extends DBConfigs
{
public static Test suite()
{
return new AllTestsDBH2Audit().getTestSuite();
}
public static void initConfigSuites(ConfigTestSuite suite, TestSuite parent, IDGenerationLocation idGenerationLocation)
{
// Without ranges
suite.addScenario(parent, new H2Config().supportingAudits(true).idGenerationLocation(idGenerationLocation), JVM, NATIVE);
// With ranges
suite.addScenario(parent, new H2Config().supportingAudits(true).idGenerationLocation(idGenerationLocation).copyOnBranch(true), JVM, NATIVE);
}
@Override
protected void initConfigSuites(TestSuite parent)
{
initConfigSuites(this, parent, IDGenerationLocation.STORE);
}
}