blob: 6133877340efd064cf7a97423f80aff3297ba483 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2009 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.text.tests.performance;
import junit.framework.Test;
import junit.framework.TestSuite;
/**
* @since 3.1
*/
public class AllPerformanceTestSuite extends TestSuite {
private static final boolean RUN_DEBUGGING_TEST_SUITE= false;
public static Test suite() {
return new AllPerformanceTestSuite();
}
public AllPerformanceTestSuite() {
// The Debug performance tests must be run separately in debug mode
if (RUN_DEBUGGING_TEST_SUITE) {
addTest(PerformanceTestSuite.suite());
addTest(PerformanceTestSuite2.suite());
addTest(PerformanceTestSuite3.suite());
addTest(PerformanceTestSuite4.suite());
addTest(PerformanceTestSuite5.suite());
addTest(EventDrivenTestSuite.suite());
} else
addTest(getDebuggingPerformanceTestSuite());
}
/**
* @return the test suite
* @deprecated since INVOCATION_COUNT dimension is no longer supported.
*/
@Deprecated
private Test getDebuggingPerformanceTestSuite() {
return DebuggingPerformanceTestSuite.suite();
}
}