Skip to content

Commit 2811363

Browse files
Java regression test for goto-diff
1 parent 43d2e09 commit 2811363

File tree

5 files changed

+42
-0
lines changed

5 files changed

+42
-0
lines changed
397 Bytes
Binary file not shown.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
public class Test {
2+
3+
public int run() {
4+
int x = 42;
5+
6+
return x;
7+
}
8+
9+
public void bar() {
10+
int y = 0;
11+
}
12+
13+
public void unchanged() {
14+
int z = 0;
15+
}
16+
}
396 Bytes
Binary file not shown.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
public class Test {
2+
3+
public int run() {
4+
int x = 0;
5+
6+
return x;
7+
}
8+
9+
public void unchanged() {
10+
int z = 0;
11+
}
12+
13+
public void foo() {
14+
int y = 0;
15+
}
16+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CORE
2+
old.jar
3+
new.jar
4+
// Enable multi-line checking
5+
activate-multi-line-match
6+
EXIT=0
7+
SIGNAL=0
8+
new functions:\n Test\.java: java::Test\.foo:\(\)V\nmodified functions:\n Test\.java: java::Test\.run:\(\)I\ndeleted functions:\n Test\.java: java::Test\.bar:\(\)V
9+
--
10+
^warning: ignoring

0 commit comments

Comments
 (0)