From fed7519f84cd0924cbc3f87581ca5452c72702f3 Mon Sep 17 00:00:00 2001 From: JanUlrich Date: Fri, 6 Feb 2015 15:41:24 +0100 Subject: [PATCH] =?UTF-8?q?Tests=20anf=C3=BCgen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OverloadingInMethod2Simple.jav | 10 ++++++++++ .../OverloadingInMethod2Simple.java | 19 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 test/plugindevelopment/TypeInsertTests/OverloadingInMethod2Simple.jav create mode 100644 test/plugindevelopment/TypeInsertTests/OverloadingInMethod2Simple.java 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); + } + +}