/****************************************************************************** * Copyright (C) 2006-2012 IFS Institute for Software 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 * * Original authors: * Dennis Hunziker * Ueli Kistler * Reto Schuettel * Robin Stocker * Contributors: * Fabio Zadrozny <fabiofz@gmail.com> - initial implementation ******************************************************************************/ /* * Copyright (C) 2006, 2007 Dennis Hunziker, Ueli Kistler * Copyright (C) 2007 Reto Schuettel, Robin Stocker */ package org.python.pydev.refactoring.tests.adapter; import java.io.File; import junit.framework.Test; import junit.framework.TestSuite; import org.python.pydev.refactoring.tests.core.AbstractIOTestSuite; import org.python.pydev.refactoring.tests.core.IInputOutputTestCase; public class FunctionDefAdapterTestSuite extends AbstractIOTestSuite { public FunctionDefAdapterTestSuite(String name) { super(name); } public static Test suite() { String testdir = "tests" + File.separator + "python" + File.separator + "adapter" + File.separator + "functiondef"; FunctionDefAdapterTestSuite testSuite = new FunctionDefAdapterTestSuite("FunctionDef"); testSuite.createTests(testdir); testSuite.addTest(new TestSuite(FunctionDefAdapterTestCase2.class)); return testSuite; } @Override protected IInputOutputTestCase createTestCase(String testCaseName) { return new FunctionDefAdapterTestCase(testCaseName); } }