From 1a655943ed50bc136b1566676013028c3fb6a917 Mon Sep 17 00:00:00 2001 From: JanUlrich Date: Mon, 28 Apr 2014 07:40:49 +0200 Subject: [PATCH] =?UTF-8?q?Test=20angef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TypeInsertTests/Recursive.jav | 13 +++++++++++++ .../TypeInsertTests/ReursiveTest.java | 18 ++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 test/plugindevelopment/TypeInsertTests/Recursive.jav create mode 100644 test/plugindevelopment/TypeInsertTests/ReursiveTest.java diff --git a/test/plugindevelopment/TypeInsertTests/Recursive.jav b/test/plugindevelopment/TypeInsertTests/Recursive.jav new file mode 100644 index 00000000..0f689a49 --- /dev/null +++ b/test/plugindevelopment/TypeInsertTests/Recursive.jav @@ -0,0 +1,13 @@ +class Recursive{ + +var = "test"; + +methode1(a){ + return methode2(a); +} + +String methode2(b){ + return methode1(var); +} + +} \ No newline at end of file diff --git a/test/plugindevelopment/TypeInsertTests/ReursiveTest.java b/test/plugindevelopment/TypeInsertTests/ReursiveTest.java new file mode 100644 index 00000000..9afb090c --- /dev/null +++ b/test/plugindevelopment/TypeInsertTests/ReursiveTest.java @@ -0,0 +1,18 @@ +package plugindevelopment.TypeInsertTests; + +import java.util.Vector; + +import org.junit.Test; + +public class ReursiveTest { + + private static final String TEST_FILE = "Recursive.jav"; + + @Test + public void run(){ + Vector mustContain = new Vector(); + //mustContain.add("A a"); + MultipleTypesInsertTester.test(this.TEST_FILE, mustContain); + } + +}