From 8ec1c5148be5f52abed633804500cec12c34e40f Mon Sep 17 00:00:00 2001 From: "pl@gohorb.ba-horb.de" Date: Tue, 21 Jan 2020 14:34:09 +0100 Subject: [PATCH] =?UTF-8?q?=09new=20file:=20=20=20OLTest.txt=20=09new=20fi?= =?UTF-8?q?le:=20=20=20UseOLMain.java=20Test=20f=C3=BCr=20die=20ComandLine?= =?UTF-8?q?-Version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/resources/javFiles/packageTest/OLTest.txt | 6 ++++++ src/test/resources/javFiles/packageTest/UseOLMain.java | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 src/test/resources/javFiles/packageTest/OLTest.txt create mode 100644 src/test/resources/javFiles/packageTest/UseOLMain.java diff --git a/src/test/resources/javFiles/packageTest/OLTest.txt b/src/test/resources/javFiles/packageTest/OLTest.txt new file mode 100644 index 00000000..d91b58d7 --- /dev/null +++ b/src/test/resources/javFiles/packageTest/OLTest.txt @@ -0,0 +1,6 @@ +java -jar ~/eclipse-workspace/JavaCompilerCore/target/JavaTXcompiler-0.2-jar-with-dependencies.jar de/test/OL.jav -d de/test/output +java -jar ~/eclipse-workspace/JavaCompilerCore/target/JavaTXcompiler-0.2-jar-with-dependencies.jar OLextends.jav -cp de/test/output +java -jar ~/eclipse-workspace/JavaCompilerCore/target/JavaTXcompiler-0.2-jar-with-dependencies.jar OLMain.jav -cp .:de/test/output +javac UseOLMain.java +java -cp .:de/test/output UseOLMain +rm -f UseOLMain.class diff --git a/src/test/resources/javFiles/packageTest/UseOLMain.java b/src/test/resources/javFiles/packageTest/UseOLMain.java new file mode 100644 index 00000000..2d7d6fd8 --- /dev/null +++ b/src/test/resources/javFiles/packageTest/UseOLMain.java @@ -0,0 +1,5 @@ +class UseOLMain { + public static void main(String[] arg) { + System.out.println(new OLMain().main(1+1)); + } +}