Groovy: fix testdata (36a7a0702d)

This commit is contained in:
Yann Cébron
2013-05-06 22:24:35 +02:00
parent 7994003dee
commit 2ea49ab5fe
6 changed files with 14 additions and 14 deletions
@@ -155,8 +155,8 @@ Runnable r = new Run<caret>
''', '''\
Runnable r = new Runnable() {
@Override
void run() {
<caret><selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
void run() {<caret><selection></selection>
}
}
''')
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2012 JetBrains s.r.o.
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -37,7 +37,7 @@ class Test {<caret>}
class Test {
@Override
boolean equals(Object obj) {
return super.equals(obj) //To change body of overridden methods use File | Settings | File Templates.
return super.equals(obj)
}
}
"""
@@ -51,7 +51,7 @@ class Test {<caret>}
myFixture.checkResult """
class Test {
Test() {
super() //To change body of overridden methods use File | Settings | File Templates.
super()
}
}
"""
@@ -73,7 +73,7 @@ class Test {<caret>}
class Test {
@Override
def foo() {
return super.foo() //To change body of overridden methods use File | Settings | File Templates.
return super.foo()
}
}
"""
@@ -93,7 +93,7 @@ class Test<T> extends Base<T> {<caret>}
class Test<T> extends Base<T> {
@Override
def <T> T[] toArray(T[] t) {
return super.toArray(t) //To change body of overridden methods use File | Settings | File Templates.
return super.toArray(t)
}
}
"""
@@ -117,7 +117,7 @@ class X implements I {
@Override
void foo() throws RuntimeException {
//To change body of implemented methods use File | Settings | File Templates.
}
}
@@ -1,16 +1,16 @@
class Foo implements Comparable<Foo> {
def Foo next() {
return null //To change body of implemented methods use File | Settings | File Templates.
return null
}
def Foo previous() {
return null //To change body of implemented methods use File | Settings | File Templates.
return null
}
@Override
int compareTo(Foo o) {
<selection>return 0 //To change body of implemented methods use File | Settings | File Templates.</selection>
<selection>return 0</selection>
}
}
@@ -9,7 +9,7 @@ class Foo implements Comparable<Foo> {
}
def Foo next() {
return null //To change body of implemented methods use File | Settings | File Templates.
return null
}
}
@@ -4,7 +4,7 @@ class Foo implements Comparable<Foo> {
@Override
int compareTo(Foo o) {
<selection>return 0 //To change body of implemented methods use File | Settings | File Templates.</selection>
<selection>return 0</selection>
}
}
@@ -3,7 +3,7 @@ class Foo {
try {
new AddException().foo();
} catch (java.io.IOException e) {
e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
e.printStackTrace();
}
}
}