diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-04-09 18:01:11 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-04-09 18:01:11 +0100 |
| commit | e687d9cf6246bc0d1b3a407a87599039080b7b9e (patch) | |
| tree | 18e58d9076432155831c9c92e24d461cc47be705 /src/test | |
| parent | aa24b84f01e7d9fa047658bca03ef516e2b69f37 (diff) | |
Read implicit type parameters in method calls
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/java/org/zwobble/couscous/tests/frontends/java/ExpressionReadingTests.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/zwobble/couscous/tests/frontends/java/ExpressionReadingTests.java b/src/test/java/org/zwobble/couscous/tests/frontends/java/ExpressionReadingTests.java index f99f129..43d20b7 100644 --- a/src/test/java/org/zwobble/couscous/tests/frontends/java/ExpressionReadingTests.java +++ b/src/test/java/org/zwobble/couscous/tests/frontends/java/ExpressionReadingTests.java @@ -1,6 +1,5 @@ package org.zwobble.couscous.tests.frontends.java; -import org.junit.Ignore; import org.junit.Test; import org.zwobble.couscous.ast.*; import org.zwobble.couscous.ast.identifiers.Identifiers; @@ -224,6 +223,7 @@ public class ExpressionReadingTests { methodCall( staticReceiver("java.util.Arrays"), "asList", + list(Types.STRING), list(array(Types.STRING, list())), parameterizedType(ScalarType.of("java.util.List"), list(Types.STRING)), signature( @@ -241,6 +241,7 @@ public class ExpressionReadingTests { methodCall( staticReceiver("java.util.Arrays"), "asList", + list(Types.STRING), list(array(Types.STRING, list(literal("one"), literal("two")))), parameterizedType(ScalarType.of("java.util.List"), list(Types.STRING)), signature( @@ -270,7 +271,6 @@ public class ExpressionReadingTests { } @Test - @Ignore("WIP") public void canReadGenericStaticMethodCallsWithImplicitTypeParameters() { TypeParameter typeParameter = typeParameter(Identifiers.method(Identifiers.forType("java.util.Collections"), "emptyList"), "T"); assertEquals( |
