blob: cc75725a4154b2c4faf766fe270810d988875dd4 [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2005 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.gmf.tests.runtime.common.ui.services.provider;
import java.util.Arrays;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
import org.eclipse.core.runtime.IPlatformRunnable;
/**
* The org.eclipse.gmf.tests.runtime.common.ui.services.provider tests plug-in
* is not a JUnit test plug-in. This plug-in is used by
* org.eclipse.gmf.tests.runtime.common.ui for ProviderPolicyExceptionsTest and
* ProviderPolicyTest.
* <p>
* This AllTests simply is a place holder if someone does try to run the plug-in
* as a tests plug-in.
*/
public class AllTests
extends TestCase
implements IPlatformRunnable {
public static void main(String[] args) {
TestRunner.run(suite());
}
public static Test suite() {
TestSuite suite = new TestSuite();
suite.addTest(AllTestsTest.suite());
return suite;
}
public AllTests() {
super(""); //$NON-NLS-1$
}
public Object run(Object args)
throws Exception {
TestRunner.run(suite());
return Arrays
.asList(new String[] {"Please see raw test suite output for details."}); //$NON-NLS-1$
}
}