more java tests moved to community

This commit is contained in:
Alexey Kudravtsev
2010-06-25 12:46:40 +04:00
parent 735a9d17a8
commit 2718da9fc7
1139 changed files with 14287 additions and 0 deletions
@@ -0,0 +1,13 @@
// "Remove 'java.io.IOException' from 'f' throws list" "true"
import java.io.*;
class a {
void f() {
}
}
class b extends a {
void f() <caret>{
}
}
@@ -0,0 +1,13 @@
// "Add 'java.io.IOException' to 'a.f' throws list" "true"
import java.io.*;
class a {
void f() throws IOException {
}
}
class b extends a {
void f() throws <caret>IOException {
}
}
@@ -0,0 +1,8 @@
// "Remove 'java.io.IOException' from 'f' throws list" "true"
import java.io.*;
class a {
private void f() <caret>{
}
}
@@ -0,0 +1,13 @@
// "Remove 'java.io.IOException' from 'f' throws list" "true"
import java.io.*;
class a {
void f() {
}
}
class b extends a {
void f() throws <caret>IOException {
}
}
@@ -0,0 +1,13 @@
// "Add 'java.io.IOException' to 'a.f' throws list" "true"
import java.io.*;
class a {
void f() {
}
}
class b extends a {
void f() throws <caret>IOException {
}
}
@@ -0,0 +1,8 @@
// "Remove 'java.io.IOException' from 'f' throws list" "true"
import java.io.*;
class a {
private void f() throws <caret>IOException {
}
}
@@ -0,0 +1,9 @@
// "Remove 'java.io.IOException' from 'f' throws list" "false"
import java.io.*;
class a {
private void f() throws <caret>IOException {
throw new IOException();
}
}
@@ -0,0 +1,13 @@
// "Remove 'java.io.IOException' from 'f' throws list" "false"
import java.io.*;
class a {
void f() throws IOException {
}
}
class b extends a {
void f() throws <caret>IOException {
}
}