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,8 @@
// "Assign Parameter to Field 'myId'" "true"
class Person {
int myId;
void f(int id) {
myId = id;<caret>
}
}
@@ -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>
}
}
@@ -0,0 +1,7 @@
// "Assign Parameter to Field 'myId'" "true"
class Person {
int myId;
void f(int id<caret>) {
}
}
@@ -0,0 +1,8 @@
// "Assign Parameter to Field 'myId'" "false"
class Person {
int myId;
void f(int id<caret>) {
myId = id;
}
}
@@ -0,0 +1,7 @@
// "Assign Parameter to Field 'ourId'" "false"
class Person {
int ourId;
static void f(int id<caret>) {
}
}
@@ -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;
}
}