From a549843f0523050abd9382dabe06442abc89cdc9 Mon Sep 17 00:00:00 2001 From: JanUlrich Date: Fri, 30 Jan 2015 15:37:27 +0100 Subject: [PATCH] =?UTF-8?q?GenTypeTest=20anf=C3=BCgen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TypeInsertTests/GenTypeTest.jav | 4 ++++ .../TypeInsertTests/GenTypeTest.java | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 test/plugindevelopment/TypeInsertTests/GenTypeTest.jav create mode 100644 test/plugindevelopment/TypeInsertTests/GenTypeTest.java diff --git a/test/plugindevelopment/TypeInsertTests/GenTypeTest.jav b/test/plugindevelopment/TypeInsertTests/GenTypeTest.jav new file mode 100644 index 00000000..36b7de8d --- /dev/null +++ b/test/plugindevelopment/TypeInsertTests/GenTypeTest.jav @@ -0,0 +1,4 @@ +class Test{ + A a; + b = a; +} \ No newline at end of file diff --git a/test/plugindevelopment/TypeInsertTests/GenTypeTest.java b/test/plugindevelopment/TypeInsertTests/GenTypeTest.java new file mode 100644 index 00000000..e150b2dd --- /dev/null +++ b/test/plugindevelopment/TypeInsertTests/GenTypeTest.java @@ -0,0 +1,19 @@ +package plugindevelopment.TypeInsertTests; + +import java.util.Vector; + +import org.junit.Test; + +public class GenTypeTest { + + private static final String TEST_FILE = "GenTypeTest.jav"; + + @Test + public void run(){ + Vector mustContain = new Vector(); + + mustContain.add("A b"); + MultipleTypesInsertTester.test(this.TEST_FILE, mustContain); + } + +}