From 6619b73d803b7123ba39276aa0b124f613b4ec78 Mon Sep 17 00:00:00 2001 From: JanUlrich Date: Fri, 30 Oct 2015 16:37:12 +0100 Subject: [PATCH] =?UTF-8?q?Binary2=20Test=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/bytecode/Binary2.jav | 12 ++---------- test/bytecode/BinaryTest2.java | 2 +- test/bytecode/types/OverloadingTest.java | 1 - 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/test/bytecode/Binary2.jav b/test/bytecode/Binary2.jav index f587c123..e89672ac 100644 --- a/test/bytecode/Binary2.jav +++ b/test/bytecode/Binary2.jav @@ -1,16 +1,8 @@ -class OL { + +class Binary2 { Integer m(Integer x) { return x + x; } Boolean m(Boolean x) {return x || x; } -} - -class Binary2 { - - main(x) { - ol; - ol = new OL(); - return ol.m(x); - } } \ No newline at end of file diff --git a/test/bytecode/BinaryTest2.java b/test/bytecode/BinaryTest2.java index 8660ef0e..842af094 100644 --- a/test/bytecode/BinaryTest2.java +++ b/test/bytecode/BinaryTest2.java @@ -28,7 +28,7 @@ public class BinaryTest2 { @Test public void test() { - SingleClassTester.compileToBytecode(rootDirectory+testFile, rootDirectory+outputFile); + SingleClassTester.compileToBytecode(rootDirectory+testFile, rootDirectory); } } diff --git a/test/bytecode/types/OverloadingTest.java b/test/bytecode/types/OverloadingTest.java index 9e6b3a22..f8f6a862 100644 --- a/test/bytecode/types/OverloadingTest.java +++ b/test/bytecode/types/OverloadingTest.java @@ -17,7 +17,6 @@ public class OverloadingTest extends BytecodeTest{ } - @Test public void testString() { try{