[java decompiler] corrects test data
This commit is contained in:
@@ -105,7 +105,7 @@ public class SingleClassesTest {
|
|||||||
@Test public void testPop2OneLongPop2() { doTest("pkg/TestPop2OneLongPop2"); }
|
@Test public void testPop2OneLongPop2() { doTest("pkg/TestPop2OneLongPop2"); }
|
||||||
@Test public void testPop2TwoIntPop2() { doTest("pkg/TestPop2TwoIntPop2"); }
|
@Test public void testPop2TwoIntPop2() { doTest("pkg/TestPop2TwoIntPop2"); }
|
||||||
@Test public void testPop2TwoIntTwoPop() { doTest("pkg/TestPop2TwoIntTwoPop"); }
|
@Test public void testPop2TwoIntTwoPop() { doTest("pkg/TestPop2TwoIntTwoPop"); }
|
||||||
@Test public void testSuperInner2() { doTest("pkg/TestSuperInner2", "pkg/TestSuperInner"); }
|
@Test public void testSuperInner() { doTest("pkg/TestSuperInner", "pkg/TestSuperInnerBase"); }
|
||||||
|
|
||||||
// TODO: fix all below
|
// TODO: fix all below
|
||||||
//@Test public void testPackageInfo() { doTest("pkg/package-info"); }
|
//@Test public void testPackageInfo() { doTest("pkg/package-info"); }
|
||||||
|
|||||||
Binary file not shown.
BIN
testData/classes/pkg/TestSuperInner$Inner2.class
Normal file
BIN
testData/classes/pkg/TestSuperInner$Inner2.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
testData/classes/pkg/TestSuperInnerBase$Inner.class
Normal file
BIN
testData/classes/pkg/TestSuperInnerBase$Inner.class
Normal file
Binary file not shown.
BIN
testData/classes/pkg/TestSuperInnerBase.class
Normal file
BIN
testData/classes/pkg/TestSuperInnerBase.class
Normal file
Binary file not shown.
19
testData/results/TestSuperInner.dec
Normal file
19
testData/results/TestSuperInner.dec
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
package pkg;
|
||||||
|
|
||||||
|
class TestSuperInner extends TestSuperInnerBase {
|
||||||
|
protected abstract class Inner2 extends TestSuperInnerBase.Inner {
|
||||||
|
protected Inner2() {
|
||||||
|
super();// 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class 'pkg/TestSuperInner$Inner2' {
|
||||||
|
method '<init> (Lpkg/TestSuperInner;)V' {
|
||||||
|
7 5
|
||||||
|
a 6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Lines mapping:
|
||||||
|
4 <-> 6
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
class TestSuperInner2 extends TestSuperInner {
|
|
||||||
protected class Inner2 extends TestSuperInner.Inner {
|
|
||||||
protected Inner2() {
|
|
||||||
super();// 2
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
class 'TestSuperInner2$Inner2' {
|
|
||||||
method '<init> (LTestSuperInner2;)V' {
|
|
||||||
7 3
|
|
||||||
a 4
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Lines mapping:
|
|
||||||
2 <-> 4
|
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
public class TestSuperInner {
|
package pkg;
|
||||||
protected abstract class Inner {
|
|
||||||
protected Inner() {
|
class TestSuperInner extends TestSuperInnerBase {
|
||||||
}
|
protected abstract class Inner2 extends Inner { }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
class TestSuperInner2 extends TestSuperInner {
|
|
||||||
protected class Inner2 extends Inner {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
7
testData/src/pkg/TestSuperInnerBase.java
Normal file
7
testData/src/pkg/TestSuperInnerBase.java
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
package pkg;
|
||||||
|
|
||||||
|
class TestSuperInnerBase {
|
||||||
|
protected abstract class Inner {
|
||||||
|
protected Inner() { }
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user