/*******************************************************************************
 * Copyright (c) 2007, 2008 Symbian Software Limited 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:
 * Bala Torati (Symbian) - Initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.core.tests.templateengine;

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

/**
 * This is a TestSuite, the TestCases created to test Template engine are
 * added to testsuite.
 * The test suite will execute all the Testcases added to the Suite.
 * 
 * @since 4.0
 */

public class AllTemplateEngineTests extends TestSuite {

	public static void main(String[] args) {
		junit.swingui.TestRunner.run(AllTemplateEngineTests.class);
	}
	
	/**
	 * Since the TemplateEngine consists of UI(Wizard).
	 * A TestWizard is created to which the dynamically generated
	 * UIPages are added.  The Wizard is launched from here.
	 * The TestCases created to test the TemplateEngine is initialised here.
	 * @return
     * 
     * @since 4.0
	 */
	public static Test suite() {
		TestSuite suite = new TestSuite("Template engine tests"); //$NON-NLS-1$
		//$JUnit-BEGIN$
          
		suite.addTestSuite(TestTemplateEngine.class);
		suite.addTestSuite(TestTemplateCore.class);
		suite.addTestSuite(TestValueStore.class);
		suite.addTestSuite(TestSharedDefaults.class);
		suite.addTestSuite(TestProcesses.class);
		suite.addTestSuite(TestTemplateEngineBugs.class);
        
		//$JUnit-END$
		return suite;
	}
}
