diff options
Diffstat (limited to 'src/test/java/org/zwobble')
| -rw-r--r-- | src/test/java/org/zwobble/couscous/tests/CompilerTests.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/java/org/zwobble/couscous/tests/CompilerTests.java b/src/test/java/org/zwobble/couscous/tests/CompilerTests.java index 7a60821..cbf4fb5 100644 --- a/src/test/java/org/zwobble/couscous/tests/CompilerTests.java +++ b/src/test/java/org/zwobble/couscous/tests/CompilerTests.java @@ -1,5 +1,6 @@ package org.zwobble.couscous.tests; +import org.junit.Ignore; import org.junit.Test; import org.zwobble.couscous.types.ScalarType; import org.zwobble.couscous.types.Types; @@ -217,6 +218,19 @@ public abstract class CompilerTests { } @Test + @Ignore("WIP") + public void genericMethods() throws Exception { + assertEquals( + value("two"), + execTestProgram( + "generic-method", + ScalarType.of("com.example.GenericMethod"), + "value", + list(), + Types.STRING)); + } + + @Test public void genericInterfacesWithGenericTypeParameterAsReturnType() throws Exception { assertEquals( value("Hello"), |
