Skip to main content
summaryrefslogtreecommitdiffstats
blob: fd0859645ff6fd5393051bad7f45e2cbda90b823 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/**
 * Copyright (c) 2004 - 2011 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:
 *    Martin Fluegge - initial API and implementation
 */
package org.eclipse.emf.cdo.dawn.tests;

import org.eclipse.emf.cdo.dawn.tests.bugzillas.Bugzilla_321024_Test;
import org.eclipse.emf.cdo.dawn.tests.bugzillas.Bugzilla_333291_Test;
import org.eclipse.emf.cdo.dawn.tests.ui.DawnPreferencesTest;
import org.eclipse.emf.cdo.dawn.tests.ui.DawnProjectExplorerTest;
import org.eclipse.emf.cdo.dawn.tests.ui.emf.DawnEMFCreationWizardTest;
import org.eclipse.emf.cdo.dawn.tests.ui.emf.DawnEMFHandleEditorTest;
import org.eclipse.emf.cdo.dawn.tests.ui.emf.EMFEditorRollbackTest;
import org.eclipse.emf.cdo.dawn.tests.ui.gmf.ConflictTest;
import org.eclipse.emf.cdo.dawn.tests.ui.gmf.DawnCreationWizardSWTBotTest;
import org.eclipse.emf.cdo.dawn.tests.ui.gmf.MultipleResourcesTest;
import org.eclipse.emf.cdo.dawn.tests.ui.gmf.SimpleDiagramTest;
import org.eclipse.emf.cdo.tests.AllTests;
import org.eclipse.emf.cdo.tests.config.impl.ConfigTest;
import org.eclipse.emf.cdo.tests.config.impl.ConfigTestSuite;

import java.util.List;

import junit.framework.Test;
import junit.framework.TestSuite;

/**
 * @author Martin Fluegge
 */
public class AllTestsDawnUISWTBot extends ConfigTestSuite
{
  public static Test suite()
  {
    TestSuite testSuite = (TestSuite)new AllTestsDawnUISWTBot().getTestSuite(AllTests.class.getName());
    // testSuite.addTest(new JUnit4TestAdapter(AllTestsDawnUISWTBotGMF.class));
    return testSuite;
  }

  @Override
  protected void initConfigSuites(TestSuite parent)
  {
    addScenario(parent, COMBINED, MEM, TCP, NATIVE);
    addScenario(parent, COMBINED, MEM_BRANCHES, TCP, NATIVE);
    addScenario(parent, COMBINED, MEM, TCP, LEGACY);
    addScenario(parent, COMBINED, MEM_BRANCHES, TCP, LEGACY);
  }

  @Override
  protected void initTestClasses(List<Class<? extends ConfigTest>> testClasses)
  {
    /******************** GMF **********************/
    testClasses.add(DawnPreferencesTest.class);
    testClasses.add(DawnCreationWizardSWTBotTest.class);
    testClasses.add(SimpleDiagramTest.class);
    testClasses.add(MultipleResourcesTest.class);
    testClasses.add(DawnProjectExplorerTest.class);
    // testClasses.add(RollbackTest.class);
    // testClasses.add(ConflictTest.class);

    /******************** EMF **********************/
    testClasses.add(DawnEMFCreationWizardTest.class);
    testClasses.add(EMFEditorRollbackTest.class);
    testClasses.add(DawnEMFHandleEditorTest.class);

    /******************** Bugzilla **********************/
    testClasses.add(Bugzilla_321024_Test.class);
    testClasses.add(Bugzilla_333291_Test.class);
  }
}

Back to the top