blob: 5cb19531bf8ee7b6993197b95ebef2c860a320d2 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011 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 InlineTempTests17 extends InlineTempTests {
private static final Class<InlineTempTests17> clazz= InlineTempTests17.class;
public InlineTempTests17(String name) {
super(name);
}
public static Test suite() {
return new Java17Setup(new NoSuperTestsSuite(clazz));
}
public static Test setUpTest(Test someTest) {
return new Java17Setup(someTest);
}
@Override
protected String getTestFileName(boolean canInline, boolean input){
String fileName= TEST_PATH_PREFIX + getRefactoringPath();
fileName += (canInline ? "canInline17/": "cannotInline17/");
return fileName + getSimpleTestFileName(canInline, input);
}
//--- tests
@Override
public void test0() throws Exception{
helper1(8, 19, 8, 23);
}
}