blob: 4fe3f455c0c99a8e6d806b6d6d480229fad391d5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2018 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.ui.tests.refactoring;
import junit.framework.Test;
public class ExtractMethodTests10 extends ExtractMethodTests {
private static ExtractMethodTestSetup10 fgTestSetup;
public ExtractMethodTests10(String name) {
super(name);
}
public static Test suite() {
fgTestSetup= new ExtractMethodTestSetup10(new NoSuperTestsSuite(ExtractMethodTests10.class));
return fgTestSetup;
}
public static Test setUpTest(Test test) {
fgTestSetup= new ExtractMethodTestSetup10(test);
return fgTestSetup;
}
protected void try10Test() throws Exception {
performTest(fgTestSetup.getTry10Package(), "A", COMPARE_WITH_OUTPUT, "try10_out");
}
//====================================================================================
// Testing var type
//====================================================================================
public void testVar1() throws Exception {
try10Test();
}
}