blob: 79c4fa6c666fbb86ab04039b16672bdcd2e7638b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/*
* Copyright (c) 2009-2013 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:
* Victor Roldan Betancort - initial API and implementation
* Eike Stepper - maintenance
* Stefan Winkler - maintenance
*/
package org.eclipse.emf.cdo.tests.db;
import junit.framework.Test;
import junit.framework.TestSuite;
/**
* Database preparation before test execution:
* <ol>
* <li>create user sa (pass: sa)
* <li>create databases cdodb1, authrepo, repo2
* </ol>
* Database creation/removal is avoided because it takes too long and makes the test-suite impractical.
*
* @author Victor Roldan Betancort
*/
public class AllTestsDBPsql extends DBConfigs
{
public static Test suite()
{
return new AllTestsDBPsql().getTestSuite();
}
@Override
protected void initConfigSuites(TestSuite parent)
{
addScenario(parent, new PostgresqlConfig(), JVM, NATIVE);
addScenario(parent, new PostgresqlConfig().supportingAudits(true), JVM, NATIVE);
addScenario(parent, new PostgresqlConfig().supportingBranches(true), JVM, NATIVE);
}
}
|