From 4e394ae12c6b2761329d146ce3e398b693071f12 Mon Sep 17 00:00:00 2001 From: JanUlrich Date: Thu, 9 Oct 2014 12:01:41 +0200 Subject: [PATCH] =?UTF-8?q?Neuer=20Testfall=20angef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TypeInsertTests/LambdaTest25.jav | 8 ++++++++ .../TypeInsertTests/LambdaTest25.java | 16 ++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 test/plugindevelopment/TypeInsertTests/LambdaTest25.jav create mode 100644 test/plugindevelopment/TypeInsertTests/LambdaTest25.java diff --git a/test/plugindevelopment/TypeInsertTests/LambdaTest25.jav b/test/plugindevelopment/TypeInsertTests/LambdaTest25.jav new file mode 100644 index 000000000..a499b2bdd --- /dev/null +++ b/test/plugindevelopment/TypeInsertTests/LambdaTest25.jav @@ -0,0 +1,8 @@ +import java.util.Vector; + +class ImportGeneric { + + m (Vector x) { + return x.elementAt(1); + } +} diff --git a/test/plugindevelopment/TypeInsertTests/LambdaTest25.java b/test/plugindevelopment/TypeInsertTests/LambdaTest25.java new file mode 100644 index 000000000..1737aceee --- /dev/null +++ b/test/plugindevelopment/TypeInsertTests/LambdaTest25.java @@ -0,0 +1,16 @@ +package plugindevelopment.TypeInsertTests; + +import java.util.Vector; + +import org.junit.Test; + +public class LambdaTest25 { + private static final String TEST_FILE = "LambdaTest25.jav"; + + @Test + public void run(){ + Vector mustContain = new Vector(); + mustContain.add("Integer m"); + MultipleTypesInsertTester.testSingleInsert(this.TEST_FILE, mustContain); + } +}