Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 9123a2c7f92a76c87184072b97e92cd9fe01e3bc (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
/*******************************************************************************
 * Copyright (c) 2000, 2017 IBM Corporation 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:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.team.tests.ccvs.core;
import org.eclipse.team.tests.ccvs.core.mappings.ResourceMapperTests;
import org.eclipse.team.tests.ccvs.core.provider.AllTestsProvider;
import org.eclipse.team.tests.ccvs.core.subscriber.AllTestsTeamSubscriber;
import org.eclipse.team.tests.ccvs.ui.AllUITests;

import org.eclipse.jface.util.Util;

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

public class AllTests extends EclipseTest {

	public AllTests() {
		super();
	}

	public AllTests(String name) {
		super(name);
	}

	public static Test suite() {
		TestSuite suite = new TestSuite();
		if (!Util.isMac()) { // Bug 525817: Disable CVS tests on Mac
			suite.addTest(AllTestsProvider.suite());
			suite.addTest(AllTestsTeamSubscriber.suite());
			suite.addTest(AllUITests.suite());
			suite.addTest(ResourceMapperTests.suite());
		}
		return new CVSUITestSetup(suite);
	}
}

Back to the top