Skip to content

Commit c29b584

Browse files
Temporary vars tests for goto-diff
1 parent 2197f21 commit c29b584

File tree

20 files changed

+140
-0
lines changed

20 files changed

+140
-0
lines changed
662 Bytes
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
public class Test {
2+
public int[] f00(int[] x) {
3+
int[] y = new int[x.length];
4+
return y;
5+
}
6+
7+
public int[] f01(int[] z) {
8+
int[] w = new int[z.length];
9+
return w;
10+
}
11+
}
668 Bytes
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
public class Test {
2+
public int[] f00(int[] x) {
3+
int[] y = x;
4+
return y;
5+
}
6+
7+
public int[] f01(int[] z) {
8+
int[] w = new int[z.length];
9+
return w;
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CORE
2+
new.jar
3+
old.jar
4+
// Enable multi-line checking
5+
activate-multi-line-match
6+
EXIT=0
7+
SIGNAL=0
8+
new functions:\nmodified functions:\n Test\.java: java::Test\.f00:\(\[I\)\[I\ndeleted functions:
9+
--
10+
^warning: ignoring
657 Bytes
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
public class Test {
2+
public int f00(int x) {
3+
int y = x++;
4+
return y;
5+
}
6+
7+
public int f01(int z) {
8+
int w = z++;
9+
return w;
10+
}
11+
}
666 Bytes
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
public class Test {
2+
public int f00(int x) {
3+
int y = x;
4+
return y;
5+
}
6+
7+
public int f01(int z) {
8+
int w = z++;
9+
return w;
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CORE
2+
new.jar
3+
old.jar
4+
// Enable multi-line checking
5+
activate-multi-line-match
6+
EXIT=0
7+
SIGNAL=0
8+
new functions:\nmodified functions:\n Test\.java: java::Test\.f00:\(I\)I\ndeleted functions:
9+
--
10+
^warning: ignoring
1.26 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
class B {
2+
void foo() {}
3+
}
4+
5+
class A {
6+
B b = new B();
7+
}
8+
9+
public class Test {
10+
public A f00(A x) {
11+
return org.cprover.CProver.nondetWithoutNull();
12+
}
13+
14+
public A f01(A z) {
15+
return org.cprover.CProver.nondetWithoutNull();
16+
}
17+
}
1.26 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
class B {
2+
void foo() {}
3+
}
4+
5+
class A {
6+
B b = new B();
7+
}
8+
9+
public class Test {
10+
public A f00(A x) {
11+
return x;
12+
}
13+
14+
public A f01(A z) {
15+
return org.cprover.CProver.nondetWithoutNull();
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CORE
2+
new.jar
3+
old.jar
4+
// Enable multi-line checking
5+
activate-multi-line-match
6+
EXIT=0
7+
SIGNAL=0
8+
new functions:\nmodified functions:\n Test\.java: java::Test\.f00:\(LA;\)LA;\ndeleted functions:
9+
--
10+
^warning: ignoring
752 Bytes
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
public class Test {
2+
public String f00(String x) {
3+
String y = x + "abc";
4+
return y;
5+
}
6+
7+
public String f01(String z) {
8+
String w = z + "abc";
9+
return w;
10+
}
11+
}
757 Bytes
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
public class Test {
2+
public String f00(String x) {
3+
String y = x;
4+
return y;
5+
}
6+
7+
public String f01(String z) {
8+
String w = z + "abc";
9+
return w;
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CORE
2+
new.jar
3+
old.jar
4+
// Enable multi-line checking
5+
activate-multi-line-match
6+
EXIT=0
7+
SIGNAL=0
8+
new functions:\nmodified functions:\n Test\.java: java::Test\.f00:\(Ljava/lang/String;\)Ljava/lang/String;\ndeleted functions:
9+
--
10+
^warning: ignoring

0 commit comments

Comments
 (0)