Skip to content

Commit

Permalink
fixed mixed line delimiters, converted Windows to Unix
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeller committed May 27, 2014
1 parent 28a197a commit 38f4c59
Show file tree
Hide file tree
Showing 6 changed files with 2,717 additions and 2,716 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package p;


public class A {}
public class A {
}
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>
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
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);
}
}
Loading

0 comments on commit 38f4c59

Please sign in to comment.