diff --git a/test/plugindevelopment/TypeInsertTests/OverloadingInMethod2Simple.jav b/test/plugindevelopment/TypeInsertTests/OverloadingInMethod2Simple.jav new file mode 100644 index 00000000..36ec2c05 --- /dev/null +++ b/test/plugindevelopment/TypeInsertTests/OverloadingInMethod2Simple.jav @@ -0,0 +1,10 @@ +class OverloadingInMethod2{ + + + Integer m () { + Fun1 op; + op = (m) -> (f) -> f.apply(m); + return 1; + } + +} \ No newline at end of file diff --git a/test/plugindevelopment/TypeInsertTests/OverloadingInMethod2Simple.java b/test/plugindevelopment/TypeInsertTests/OverloadingInMethod2Simple.java new file mode 100644 index 00000000..6a8057fc --- /dev/null +++ b/test/plugindevelopment/TypeInsertTests/OverloadingInMethod2Simple.java @@ -0,0 +1,19 @@ +package plugindevelopment.TypeInsertTests; + +import java.util.Vector; + +import org.junit.Test; + +public class OverloadingInMethod2Simple { + + private static final String TEST_FILE = "OverloadingInMethod2Simple.jav"; + + @Test + public void run(){ + Vector mustContain = new Vector(); + + //mustContain.add("Fun0>> op"); + MultipleTypesInsertTester.test(this.TEST_FILE, mustContain); + } + +}