File tree Expand file tree Collapse file tree 5 files changed +6
-12
lines changed
jOOR-java-6/src/test/java/org/joor/test
jOOR-java-8/src/test/java/org/joor/test
jOOR/src/test/java/org/joor/test Expand file tree Collapse file tree 5 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 180
180
181
181
182
182
183
-
184
-
185
183
186
184
187
185
Original file line number Diff line number Diff line change 55
55
*/
56
56
public class ReflectTest {
57
57
58
- static final boolean JDK9 = false ;
58
+ static final boolean JDK9 = false ;
59
59
60
60
@ Rule
61
61
public final ExpectedException expectedException = ExpectedException .none ();
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ public void testCompileWithClasspathDependency() throws Exception {
47
47
assertEquals (new ArrayList <Object >(), v .validateTestClass (null ));
48
48
}
49
49
50
- @ Test
51
- @ Ignore // [#77]
50
+ @ Test (expected = Throwable .class ) // [#77]
52
51
public void testCompileLocalInterfaceHierarchy () throws Exception {
53
52
I i = Reflect .compile ("org.joor.test.CompileTest1" , "package org.joor.test; public class CompileTest1 implements org.joor.test.I {}" ).create ().get ();
54
53
assertEquals ("I.m()" , i .m ());
@@ -87,8 +86,7 @@ public void testCompileDifferentPackage() {
87
86
assertEquals ("Hello World!" , supplier .get ());
88
87
}
89
88
90
- @ Test
91
- @ Ignore // [#76]
89
+ @ Test (expected = Throwable .class ) // [#76]
92
90
public void testRecompileSameClassName () {
93
91
94
92
// The class loader will cache the class name by default, so a new content shouldn't affect the type
Original file line number Diff line number Diff line change 55
55
*/
56
56
public class ReflectTest {
57
57
58
- static final boolean JDK9 = false ;
58
+ static final boolean JDK9 = false ;
59
59
60
60
@ Rule
61
61
public final ExpectedException expectedException = ExpectedException .none ();
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ public void testCompileWithClasspathDependency() throws Exception {
47
47
assertEquals (new ArrayList <Object >(), v .validateTestClass (null ));
48
48
}
49
49
50
- @ Test
51
- @ Ignore // [#77]
50
+ @ Test (expected = Throwable .class ) // [#77]
52
51
public void testCompileLocalInterfaceHierarchy () throws Exception {
53
52
I i = Reflect .compile ("org.joor.test.CompileTest1" , "package org.joor.test; public class CompileTest1 implements org.joor.test.I {}" ).create ().get ();
54
53
assertEquals ("I.m()" , i .m ());
@@ -87,8 +86,7 @@ public void testCompileDifferentPackage() {
87
86
assertEquals ("Hello World!" , supplier .get ());
88
87
}
89
88
90
- @ Test
91
- @ Ignore // [#76]
89
+ @ Test (expected = Throwable .class ) // [#76]
92
90
public void testRecompileSameClassName () {
93
91
94
92
// The class loader will cache the class name by default, so a new content shouldn't affect the type
You can’t perform that action at this time.
0 commit comments