| /** |
| * <copyright> |
| * |
| * Copyright (c) 2002-2004 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 - Initial API and implementation |
| * |
| * </copyright> |
| * |
| * $Id: AllSuites.java,v 1.5.4.3 2008/12/02 16:59:17 nickb Exp $ |
| */ |
| package org.eclipse.emf.test.build; |
| |
| |
| import junit.framework.Test; |
| import junit.framework.TestSuite; |
| |
| |
| public class AllSuites extends TestSuite |
| { |
| private static Test[] suites = new Test []{ |
| org.eclipse.emf.test.build.BuildTest.suite() |
| ,org.eclipse.emf.test.build.StandaloneZipTest.suite() |
| //,org.eclipse.emf.test.build.VersionAuditTest.suite() // DISABLED per bug 250820 |
| }; |
| |
| public static Test suite() |
| { |
| return new AllSuites("EMF Build JUnit Test Suite"); |
| } |
| |
| public AllSuites() |
| { |
| super(); |
| populateSuite(); |
| } |
| |
| public AllSuites(Class theClass) |
| { |
| super(theClass); |
| populateSuite(); |
| } |
| |
| public AllSuites(String name) |
| { |
| super(name); |
| populateSuite(); |
| } |
| |
| protected void populateSuite() |
| { |
| for (int i = 0; i < suites.length; i++) |
| { |
| addTest(suites[i]); |
| } |
| } |
| } |