Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2000, 2008 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2010 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 14-20
Link Here
|
14 |
import junit.framework.Test; |
14 |
import junit.framework.Test; |
15 |
import junit.framework.TestSuite; |
15 |
import junit.framework.TestSuite; |
16 |
|
16 |
|
17 |
import org.eclipse.core.runtime.Platform; |
|
|
18 |
import org.eclipse.team.tests.ccvs.core.cvsresources.AllTestsCVSResources; |
17 |
import org.eclipse.team.tests.ccvs.core.cvsresources.AllTestsCVSResources; |
19 |
|
18 |
|
20 |
/** |
19 |
/** |
Lines 32-41
Link Here
|
32 |
|
31 |
|
33 |
public static Test suite() { |
32 |
public static Test suite() { |
34 |
TestSuite suite = new TestSuite(); |
33 |
TestSuite suite = new TestSuite(); |
35 |
if (!Platform.getOS().equals(Platform.OS_WIN32)) { |
34 |
suite.addTest(AllTestsCVSResources.suite()); |
36 |
suite.addTest(AllTestsCVSResources.suite()); |
|
|
37 |
return new CVSTestSetup(suite); |
38 |
} |
39 |
return new TestSetup(suite); |
35 |
return new TestSetup(suite); |
40 |
} |
36 |
} |
41 |
} |
37 |
} |