Coin completion tests moved from class name to normal

This commit is contained in:
Roman Shevchenko
2011-03-10 21:34:37 +01:00
parent ec147dd31d
commit 25e36ccea0
14 changed files with 61 additions and 11 deletions
@@ -0,0 +1,7 @@
class MyClass {
static class MyException extends Exception { }
void m() {
try { } catch (RuntimeException | My<caret>) { }
}
}
@@ -0,0 +1,7 @@
class MyClass {
static class MyException extends Exception { }
void m() {
try { } catch (RuntimeException | MyException<caret>) { }
}
}
@@ -0,0 +1,7 @@
class MyClass {
static class MyException extends Exception { }
void m() {
try { } catch (RuntimeException | My<caret> e) { }
}
}
@@ -0,0 +1,7 @@
class MyClass {
static class MyException extends Exception { }
void m() {
try { } catch (RuntimeException | MyException<caret> e) { }
}
}
@@ -0,0 +1,6 @@
class MyClass {
void f() {
try (A<caret>) {
}
}
}
@@ -0,0 +1,6 @@
class MyClass {
void f() {
try (AutoCloseable<caret>) {
}
}
}
@@ -0,0 +1,8 @@
class MyClass {
static class MyResource implements AutoCloseable { }
void f() {
try (final My<caret>) {
}
}
}
@@ -0,0 +1,8 @@
class MyClass {
static class MyResource implements AutoCloseable { }
void f() {
try (final MyResource<caret>) {
}
}
}
@@ -0,0 +1,8 @@
class MyClass {
static class MyResource implements AutoCloseable { }
void f() {
try (My<caret> r) {
}
}
}
@@ -0,0 +1,8 @@
class MyClass {
static class MyResource implements AutoCloseable { }
void f() {
try (MyResource<caret> r) {
}
}
}
@@ -0,0 +1,8 @@
class MyClass {
static class MyResource implements AutoCloseable { }
void f() {
try (MyResource r1 = null; My<caret>) {
}
}
}
@@ -0,0 +1,8 @@
class MyClass {
static class MyResource implements AutoCloseable { }
void f() {
try (MyResource r1 = null; MyResource<caret>) {
}
}
}