missed (from git import) testdata files

This commit is contained in:
Maxim.Mossienko
2009-09-29 18:53:57 +04:00
parent 0a9c487955
commit e5d40b5642
8 changed files with 48 additions and 0 deletions
@@ -0,0 +1,8 @@
public class X {
int f(boolean b) {
if (b) {
return 1;
}
return 0;
}
}
@@ -0,0 +1,6 @@
public class X {
int f(boolean b) {
if (b) <spot>return 1</spot>;
return 0;
}
}
@@ -0,0 +1,6 @@
public class X {
int f() {
System.out.println(i);
i++;
}
}
@@ -0,0 +1,5 @@
public class X {
int f() {
System.out.println(<spot>i++</spot>);
}
}
@@ -0,0 +1,5 @@
public class X {
String f() {
return new StringBuffer().append("1").append("2").toString();
}
}
@@ -0,0 +1,5 @@
public class X {
String f() {
return <spot>"1" + "2"</spot>;
}
}
@@ -0,0 +1,5 @@
public class X {
boolean f(boolean a) {
return a;
}
}
@@ -0,0 +1,8 @@
public class X {
boolean f(boolean a) {
<spot>if</spot> (a) {
return true;
}
return false;
}
}