Cleanup (test data format)

master
Roman Shevchenko 6 years ago
parent 6f70918c3b
commit b2a6767640
  1. BIN
      testData/classes/pkg/TestPrivateEmptyConstructor.class
  2. BIN
      testData/classes/pkg/TestSynchronizedUnprotected.class
  3. 20
      testData/results/TestPrivateEmptyConstructor.dec
  4. 43
      testData/results/TestSynchronizedUnprotected.dec
  5. 6
      testData/src/pkg/TestPrivateEmptyConstructor.java
  6. 3
      testData/src/pkg/TestSynchronizedUnprotected.kt

@ -1,3 +1,5 @@
package pkg;
public final class TestPrivateEmptyConstructor {
private TestPrivateEmptyConstructor() {
}// 4
@ -7,20 +9,20 @@ public final class TestPrivateEmptyConstructor {
}// 8
}
class 'TestPrivateEmptyConstructor' {
class 'pkg/TestPrivateEmptyConstructor' {
method '<init> ()V' {
4 2
4 4
}
method 'test ()V' {
0 5
3 5
5 5
8 6
0 7
3 7
5 7
8 8
}
}
Lines mapping:
4 <-> 3
7 <-> 6
8 <-> 7
4 <-> 5
7 <-> 8
8 <-> 9

@ -1,25 +1,42 @@
package pkg;
import kotlin.Metadata;
import kotlin.Unit;
@Metadata(
mv = {1, 1, 11},
bv = {1, 0, 2},
k = 1,
xi = 2,
d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u0002\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J\u0006\u0010\u0003\u001a\u00020\u0004"},
d2 = {"Lpkg/TestSynchronizedUnprotected;", "", "()V", "test", ""}
)
public final class TestSynchronizedUnprotected {
public final void test() {
synchronized(this) {// 5
System.out.println("test");// 6
synchronized(this) {
String var2 = "Boom";// 6
System.out.println(var2);
Unit var3 = Unit.INSTANCE;// 5 7
}
}
}// 7
}
class 'TestSynchronizedUnprotected' {
class 'pkg/TestSynchronizedUnprotected' {
method 'test ()V' {
3 2
4 3
7 3
9 3
e 5
3 15
5 16
7 16
8 17
c 17
f 18
12 18
15 20
}
}
Lines mapping:
5 <-> 3
6 <-> 4
7 <-> 6
5 <-> 19
6 <-> 17
7 <-> 19
Not mapped:
8

@ -1,11 +1,9 @@
package pkg;
public final class PrivateEmptyConstructor {
private PrivateEmptyConstructor() {}
public final class TestPrivateEmptyConstructor {
private TestPrivateEmptyConstructor() {}
public final void test() {
System.out.println("test");
}
}

@ -1,5 +1,6 @@
package pkg
object TestSynchronizedUnprotected {
class TestSynchronizedUnprotected {
fun test() {
synchronized(this) {
println("Boom")

Loading…
Cancel
Save