|
|
|
@@ -835,6 +835,7 @@ public class TestComplete {
|
|
|
|
|
var instance = clazz.getDeclaredConstructor().newInstance();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Ignore("Not implemented")
|
|
|
|
|
@Test
|
|
|
|
|
public void testStringSwitch() throws Exception {
|
|
|
|
|
var classFiles = generateClassFiles(new ByteArrayClassLoader(), "SwitchString.jav");
|
|
|
|
@@ -856,6 +857,7 @@ public class TestComplete {
|
|
|
|
|
var instance = clazz.getDeclaredConstructor().newInstance();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Ignore("Not implemented")
|
|
|
|
|
@Test
|
|
|
|
|
public void testOverloadPattern() throws Exception {
|
|
|
|
|
var classFiles = generateClassFiles(new ByteArrayClassLoader(), "OverloadPattern.jav");
|
|
|
|
@@ -881,6 +883,7 @@ public class TestComplete {
|
|
|
|
|
assertEquals(m3.invoke(instance, 10), 10);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Ignore("Not implemented")
|
|
|
|
|
@Test
|
|
|
|
|
public void testOverloadNestedPattern() throws Exception {
|
|
|
|
|
var classFiles = generateClassFiles(new ByteArrayClassLoader(), "OverloadNestedPattern.jav");
|
|
|
|
@@ -902,7 +905,7 @@ public class TestComplete {
|
|
|
|
|
assertEquals(m.invoke(instance, r1, r1), 3);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//@Ignore("Not implemented")
|
|
|
|
|
@Ignore("Not implemented")
|
|
|
|
|
@Test
|
|
|
|
|
public void testPatternMatchingHaskellStyle() throws Exception {
|
|
|
|
|
var classFiles = generateClassFiles(new ByteArrayClassLoader(), "PatternMatchingHaskellStyle.jav");
|
|
|
|
@@ -925,6 +928,7 @@ public class TestComplete {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Ignore("Not implemented")
|
|
|
|
|
@Test
|
|
|
|
|
public void testPatternMatchingListAppend() throws Exception {
|
|
|
|
|
var classFiles = generateClassFiles(new ByteArrayClassLoader(), "PatternMatchingListAppend.jav");
|
|
|
|
|