From 5e675b9a93a0289260d4aad730f8f04ba5f22333 Mon Sep 17 00:00:00 2001 From: JanUlrich Date: Wed, 13 Dec 2017 13:34:22 +0100 Subject: [PATCH] =?UTF-8?q?Test=20anf=C3=BCgen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/bytecode/JavaTXCompilerTest.java | 2 +- test/bytecode/RecursiveMeth.jav | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 test/bytecode/RecursiveMeth.jav diff --git a/test/bytecode/JavaTXCompilerTest.java b/test/bytecode/JavaTXCompilerTest.java index d6846204..35c2ea3f 100644 --- a/test/bytecode/JavaTXCompilerTest.java +++ b/test/bytecode/JavaTXCompilerTest.java @@ -29,7 +29,7 @@ public class JavaTXCompilerTest { @Test public void test() throws IOException, java.lang.ClassNotFoundException { System.out.println(rootDirectory); - String fileName = "VoidMeth"; + String fileName = "RecursiveMeth"; filesToTest.add(new File(rootDirectory+fileName+".jav")); System.out.println(rootDirectory+fileName+".jav"); JavaTXCompiler compiler = new JavaTXCompiler(filesToTest); diff --git a/test/bytecode/RecursiveMeth.jav b/test/bytecode/RecursiveMeth.jav new file mode 100644 index 00000000..fd2851b0 --- /dev/null +++ b/test/bytecode/RecursiveMeth.jav @@ -0,0 +1,5 @@ +public class VoidMeth{ + public Integer test(){ + return this.test(); + } +} \ No newline at end of file