mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
more java tests moved to community
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// "Assign Parameter to Field 'myId'" "true"
|
||||
|
||||
class Person {
|
||||
int myId;
|
||||
void f(int id) {
|
||||
myId = id;<caret>
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Assign Parameter to Field 'myName'" "true"
|
||||
|
||||
class Person {
|
||||
int myId;
|
||||
String myName;
|
||||
void f(int id, String name) {
|
||||
myId = id;
|
||||
myName = name;<caret>
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Assign Parameter to Field 'myId'" "true"
|
||||
|
||||
class Person {
|
||||
int myId;
|
||||
void f(int id<caret>) {
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Assign Parameter to Field 'myId'" "false"
|
||||
|
||||
class Person {
|
||||
int myId;
|
||||
void f(int id<caret>) {
|
||||
myId = id;
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Assign Parameter to Field 'ourId'" "false"
|
||||
|
||||
class Person {
|
||||
int ourId;
|
||||
static void f(int id<caret>) {
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// "Assign Parameter to Field 'myName'" "true"
|
||||
|
||||
class Person {
|
||||
int myId;
|
||||
String myName;
|
||||
void f(int id, String name<caret>) {
|
||||
myId = id;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user