File tree Expand file tree Collapse file tree
de.peeeq.wurstscript/src/test/java/tests/wurstscript/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2026,7 +2026,7 @@ public void genericClassWithStaticMemberArray() {
20262026 public void fullArrayListTest () throws IOException {
20272027 test ().withStdLib ().executeProg ().executeTests ().file (new File (TEST_DIR + "arrayList.wurst" ));
20282028
2029- String compiled = Files .toString (new File ("test-output/ im 2_genericsEliminated.im" ), Charsets .UTF_8 );
2029+ String compiled = Files .toString (new File (TEST_OUTPUT_PATH + " im 2_genericsEliminated.im" ), Charsets .UTF_8 );
20302030 // Count 2 occurences of integer ArrayList_MAX_ARRAY_SIZE
20312031 String target = "integer ArrayList_MAX_ARRAY_SIZE" ;
20322032 int count = 0 ;
@@ -2038,7 +2038,7 @@ public void fullArrayListTest() throws IOException {
20382038
20392039 assertEquals (count , 2 );
20402040
2041- String compiled2 = Files .toString (new File ("test-output/ im 5_afterinline.im" ), Charsets .UTF_8 );
2041+ String compiled2 = Files .toString (new File (TEST_OUTPUT_PATH + " im 5_afterinline.im" ), Charsets .UTF_8 );
20422042
20432043 assertFalse (compiled2 .contains ("ArrayList_nextFreeIndex_" ));
20442044
Original file line number Diff line number Diff line change 4141
4242public class WurstScriptTest {
4343
44- private static final String TEST_OUTPUT_PATH = "./test-output/" ;
44+ public static final String TEST_OUTPUT_PATH = "./test-output/" ;
4545
4646 protected boolean testOptimizer () {
4747 return true ;
You can’t perform that action at this time.
0 commit comments