mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
more java tests moved to community
This commit is contained in:
+13
@@ -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>{
|
||||
}
|
||||
}
|
||||
|
||||
+13
@@ -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 {
|
||||
}
|
||||
}
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Remove 'java.io.IOException' from 'f' throws list" "true"
|
||||
import java.io.*;
|
||||
|
||||
class a {
|
||||
private void f() <caret>{
|
||||
}
|
||||
}
|
||||
|
||||
+13
@@ -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 {
|
||||
}
|
||||
}
|
||||
|
||||
+13
@@ -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 {
|
||||
}
|
||||
}
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Remove 'java.io.IOException' from 'f' throws list" "true"
|
||||
import java.io.*;
|
||||
|
||||
class a {
|
||||
private void f() throws <caret>IOException {
|
||||
}
|
||||
}
|
||||
|
||||
+9
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
+13
@@ -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 {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user