Skip to content

Commit c7a19d4

Browse files
committed
[#5] Skip these tests for now
1 parent 7eb2e2b commit c7a19d4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

jOOR/src/test/java/org/joor/test/ReflectTest.java

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
import static org.junit.Assert.assertNull;
4343
import static org.junit.Assert.assertThat;
4444
import static org.junit.Assert.fail;
45+
import static org.junit.Assume.assumeTrue;
4546

4647
import java.util.HashMap;
4748
import java.util.Map;
@@ -93,8 +94,11 @@ public void testPrivateConstructor() {
9394
assertEquals("abc", on(PrivateConstructors.class).create("abc").get("string"));
9495
}
9596

96-
// [#5] Re-enact when this is implemented @Test
97+
@Test
9798
public void testConstructorsWithAmbiguity() {
99+
// [#5] Re-enact when this is implemented
100+
assumeTrue(false);
101+
98102
Test2 test;
99103

100104
test = on(Test2.class).create().get();
@@ -187,8 +191,11 @@ public void testPrivateMethodsAreFoundOnDeclaringClass() throws Exception {
187191
assertEquals(TestHierarchicalMethodsBase.PRIVATE_RESULT, on(baseClass).call("priv_method", 1).get());
188192
}
189193

190-
// [#5] Re-enact when this is implemented @Test
194+
@Test
191195
public void testMethodsWithAmbiguity() {
196+
// [#5] Re-enact when this is implemented
197+
assumeTrue(false);
198+
192199
Test3 test;
193200

194201
test = on(Test3.class).create().call("method").get();

0 commit comments

Comments
 (0)