forked from JavaTX/JavaCompilerCore
new file: OLTest.txt
new file: UseOLMain.java Test für die ComandLine-Version
This commit is contained in:
parent
bf80361c1f
commit
8ec1c5148b
6
src/test/resources/javFiles/packageTest/OLTest.txt
Normal file
6
src/test/resources/javFiles/packageTest/OLTest.txt
Normal file
@ -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
|
5
src/test/resources/javFiles/packageTest/UseOLMain.java
Normal file
5
src/test/resources/javFiles/packageTest/UseOLMain.java
Normal file
@ -0,0 +1,5 @@
|
||||
class UseOLMain {
|
||||
public static void main(String[] arg) {
|
||||
System.out.println(new OLMain().main(1+1));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user