blob: 0f86671a4a7de505b696896654eecddd7ac13816 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011, 2020 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 org.junit.Test;
import org.junit.runner.RunWith;
import org.eclipse.jdt.ui.tests.CustomBaseRunner;
import org.eclipse.jdt.ui.tests.IgnoreInheritedTests;
import org.eclipse.jdt.ui.tests.refactoring.rules.Java1d7Setup;
/**
* Those tests should run on Java Dolphin 1.7 .
*/
@IgnoreInheritedTests
@RunWith(CustomBaseRunner.class)
public class InlineConstantTests1d7 extends InlineConstantTests {
public InlineConstantTests1d7() {
super(new Java1d7Setup());
}
@Override
protected String successPath() {
return toSucceed ? "/canInline17/" : "/cannotInline17/";
}
//--- TESTS
@Override
@Test
public void test0() throws Exception {
helper1("p.C", 5, 28, 5, 33, true, false);
}
}