forked from azachar/org.eclipse.jdt.ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed mixed line delimiters, converted Windows to Unix
- Loading branch information
Showing
6 changed files
with
2,717 additions
and
2,716 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test58/out/A.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
package p; | ||
|
||
|
||
public class A {} | ||
public class A { | ||
} |
12 changes: 6 additions & 6 deletions
12
org.eclipse.jdt.ui.tests.refactoring/resources/SefWorkSpace/SefTests/.classpath
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path=""/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path=""/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
14 changes: 7 additions & 7 deletions
14
...ui.tests.refactoring/resources/SefWorkSpace/SefTests/.settings/org.eclipse.jdt.core.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 | ||
org.eclipse.jdt.core.compiler.compliance=1.8 | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
org.eclipse.jdt.core.compiler.source=1.8 | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 | ||
org.eclipse.jdt.core.compiler.compliance=1.8 | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
org.eclipse.jdt.core.compiler.source=1.8 |
164 changes: 82 additions & 82 deletions
164
...ts.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineConstantTests18.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,82 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2013, 2014 IBM Corporation 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: | ||
* IBM Corporation - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.jdt.ui.tests.refactoring; | ||
|
||
import junit.framework.Test; | ||
|
||
public class InlineConstantTests18 extends InlineConstantTests { | ||
private static final Class clazz= InlineConstantTests18.class; | ||
|
||
public InlineConstantTests18(String name) { | ||
super(name); | ||
} | ||
|
||
@Override | ||
protected String successPath() { | ||
return toSucceed ? "/canInline18/" : "/cannotInline18/"; | ||
} | ||
|
||
public static Test suite() { | ||
return new Java18Setup(new NoSuperTestsSuite(clazz)); | ||
} | ||
|
||
public static Test setUpTest(Test someTest) { | ||
return new Java18Setup(someTest); | ||
} | ||
|
||
//--- Test lambda expressions | ||
|
||
public void test0() throws Exception { | ||
helper1("p.TestInlineLambda", 5, 28, 5, 30, true, true); | ||
} | ||
|
||
public void test1() throws Exception { | ||
helper1("p.TestInlineLambda_Cast", 5, 28, 5, 30, true, true); | ||
} | ||
|
||
public void test2() throws Exception { | ||
helper1("p.TestInlineLambdaArray", 5, 30, 5, 35, true, true); | ||
} | ||
|
||
public void test3() throws Exception { | ||
helper1("p.TestInlineLambda_Ambiguous", 5, 28, 5, 30, true, true); | ||
} | ||
|
||
public void test4() throws Exception { | ||
helper1("p.TestInlineLambda_Ambiguous", 5, 28, 5, 30, true, true); | ||
} | ||
|
||
public void test5() throws Exception { | ||
helper1("p.TestInlineLambda_Cast", 15, 30, 15, 36, true, true); | ||
} | ||
|
||
//--- Test method references | ||
|
||
public void test1000() throws Exception { | ||
helper1("p.TestInlineMethodRef", 5, 28, 5, 30, true, true); | ||
} | ||
|
||
public void test1001() throws Exception { | ||
helper1("p.TestInlineMethodRef_Cast", 5, 28, 5, 30, true, true); | ||
} | ||
|
||
public void test1002() throws Exception { | ||
helper1("p.TestInlineMethodRefArray", 5, 30, 5, 35, true, true); | ||
} | ||
|
||
public void test1003() throws Exception { | ||
helper1("p.TestInlineMethodRef_Ambiguous", 5, 28, 5, 30, true, true); | ||
} | ||
|
||
public void test1004() throws Exception { | ||
helper1("p.TestInlineMethodRef_Enum", 5, 28, 5, 30, true, true); | ||
} | ||
} | ||
/******************************************************************************* | ||
* Copyright (c) 2013, 2014 IBM Corporation 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: | ||
* IBM Corporation - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.jdt.ui.tests.refactoring; | ||
|
||
import junit.framework.Test; | ||
|
||
public class InlineConstantTests18 extends InlineConstantTests { | ||
private static final Class clazz= InlineConstantTests18.class; | ||
|
||
public InlineConstantTests18(String name) { | ||
super(name); | ||
} | ||
|
||
@Override | ||
protected String successPath() { | ||
return toSucceed ? "/canInline18/" : "/cannotInline18/"; | ||
} | ||
|
||
public static Test suite() { | ||
return new Java18Setup(new NoSuperTestsSuite(clazz)); | ||
} | ||
|
||
public static Test setUpTest(Test someTest) { | ||
return new Java18Setup(someTest); | ||
} | ||
|
||
//--- Test lambda expressions | ||
|
||
public void test0() throws Exception { | ||
helper1("p.TestInlineLambda", 5, 28, 5, 30, true, true); | ||
} | ||
|
||
public void test1() throws Exception { | ||
helper1("p.TestInlineLambda_Cast", 5, 28, 5, 30, true, true); | ||
} | ||
|
||
public void test2() throws Exception { | ||
helper1("p.TestInlineLambdaArray", 5, 30, 5, 35, true, true); | ||
} | ||
|
||
public void test3() throws Exception { | ||
helper1("p.TestInlineLambda_Ambiguous", 5, 28, 5, 30, true, true); | ||
} | ||
|
||
public void test4() throws Exception { | ||
helper1("p.TestInlineLambda_Ambiguous", 5, 28, 5, 30, true, true); | ||
} | ||
|
||
public void test5() throws Exception { | ||
helper1("p.TestInlineLambda_Cast", 15, 30, 15, 36, true, true); | ||
} | ||
|
||
//--- Test method references | ||
|
||
public void test1000() throws Exception { | ||
helper1("p.TestInlineMethodRef", 5, 28, 5, 30, true, true); | ||
} | ||
|
||
public void test1001() throws Exception { | ||
helper1("p.TestInlineMethodRef_Cast", 5, 28, 5, 30, true, true); | ||
} | ||
|
||
public void test1002() throws Exception { | ||
helper1("p.TestInlineMethodRefArray", 5, 30, 5, 35, true, true); | ||
} | ||
|
||
public void test1003() throws Exception { | ||
helper1("p.TestInlineMethodRef_Ambiguous", 5, 28, 5, 30, true, true); | ||
} | ||
|
||
public void test1004() throws Exception { | ||
helper1("p.TestInlineMethodRef_Enum", 5, 28, 5, 30, true, true); | ||
} | ||
} |
Oops, something went wrong.