@@ -23,7 +23,7 @@ class VulpixUnitTests extends ParallelTesting {
2323
2424 @ Test def missingFile : Unit =
2525 try {
26- compileFile(" ../tests/partest-test /i-dont-exist.scala" , defaultOptions).expectFailure.checkExpectedErrors()
26+ compileFile(" ../tests/vulpix-tests/unit /i-dont-exist.scala" , defaultOptions).expectFailure.checkExpectedErrors()
2727 fail(" didn't fail properly" )
2828 }
2929 catch {
@@ -32,63 +32,63 @@ class VulpixUnitTests extends ParallelTesting {
3232 }
3333
3434 @ Test def pos1Error : Unit =
35- compileFile(" ../tests/partest-test /posFail1Error.scala" , defaultOptions).expectFailure.checkCompile()
35+ compileFile(" ../tests/vulpix-tests/unit /posFail1Error.scala" , defaultOptions).expectFailure.checkCompile()
3636
3737 @ Test def negMissingAnnot : Unit =
38- compileFile(" ../tests/partest-test /negMissingAnnot.scala" , defaultOptions).expectFailure.checkExpectedErrors()
38+ compileFile(" ../tests/vulpix-tests/unit /negMissingAnnot.scala" , defaultOptions).expectFailure.checkExpectedErrors()
3939
4040 @ Test def negAnnotWrongLine : Unit =
41- compileFile(" ../tests/partest-test /negAnnotWrongLine.scala" , defaultOptions).expectFailure.checkExpectedErrors()
41+ compileFile(" ../tests/vulpix-tests/unit /negAnnotWrongLine.scala" , defaultOptions).expectFailure.checkExpectedErrors()
4242
4343 @ Test def negTooManyAnnots : Unit =
44- compileFile(" ../tests/partest-test /negTooManyAnnots.scala" , defaultOptions).expectFailure.checkExpectedErrors()
44+ compileFile(" ../tests/vulpix-tests/unit /negTooManyAnnots.scala" , defaultOptions).expectFailure.checkExpectedErrors()
4545
4646 @ Test def negNoPositionAnnot : Unit =
47- compileFile(" ../tests/partest-test /negNoPositionAnnots.scala" , defaultOptions).expectFailure.checkExpectedErrors()
47+ compileFile(" ../tests/vulpix-tests/unit /negNoPositionAnnots.scala" , defaultOptions).expectFailure.checkExpectedErrors()
4848
4949 @ Test def runCompileFail : Unit =
50- compileFile(" ../tests/partest-test /posFail1Error.scala" , defaultOptions).expectFailure.checkRuns()
50+ compileFile(" ../tests/vulpix-tests/unit /posFail1Error.scala" , defaultOptions).expectFailure.checkRuns()
5151
5252 @ Test def runWrongOutput1 : Unit =
53- compileFile(" ../tests/partest-test /runWrongOutput1.scala" , defaultOptions).expectFailure.checkRuns()
53+ compileFile(" ../tests/vulpix-tests/unit /runWrongOutput1.scala" , defaultOptions).expectFailure.checkRuns()
5454
5555 @ Test def runWrongOutput2 : Unit =
56- compileFile(" ../tests/partest-test /runWrongOutput2.scala" , defaultOptions).expectFailure.checkRuns()
56+ compileFile(" ../tests/vulpix-tests/unit /runWrongOutput2.scala" , defaultOptions).expectFailure.checkRuns()
5757
5858 @ Test def runDiffOutput1 : Unit =
59- compileFile(" ../tests/partest-test /runDiffOutput1.scala" , defaultOptions).expectFailure.checkRuns()
59+ compileFile(" ../tests/vulpix-tests/unit /runDiffOutput1.scala" , defaultOptions).expectFailure.checkRuns()
6060
6161 @ Test def runStackOverflow : Unit =
62- compileFile(" ../tests/partest-test /stackOverflow.scala" , defaultOptions).expectFailure.checkRuns()
62+ compileFile(" ../tests/vulpix-tests/unit /stackOverflow.scala" , defaultOptions).expectFailure.checkRuns()
6363
6464 @ Test def runOutRedirects : Unit =
65- compileFile(" ../tests/partest-test /i2147.scala" , defaultOptions).expectFailure.checkRuns()
65+ compileFile(" ../tests/vulpix-tests/unit /i2147.scala" , defaultOptions).expectFailure.checkRuns()
6666
6767 @ Test def infiteNonRec : Unit =
68- compileFile(" ../tests/partest-test /infinite.scala" , defaultOptions).expectFailure.checkRuns()
68+ compileFile(" ../tests/vulpix-tests/unit /infinite.scala" , defaultOptions).expectFailure.checkRuns()
6969
7070 @ Test def infiteTailRec : Unit =
71- compileFile(" ../tests/partest-test /infiniteTail.scala" , defaultOptions).expectFailure.checkRuns()
71+ compileFile(" ../tests/vulpix-tests/unit /infiniteTail.scala" , defaultOptions).expectFailure.checkRuns()
7272
7373 @ Test def infiniteAlloc : Unit =
74- compileFile(" ../tests/partest-test /infiniteAlloc.scala" , defaultOptions).expectFailure.checkRuns()
74+ compileFile(" ../tests/vulpix-tests/unit /infiniteAlloc.scala" , defaultOptions).expectFailure.checkRuns()
7575
7676 @ Test def deadlock : Unit =
77- compileFile(" ../tests/partest-test /deadlock.scala" , defaultOptions).expectFailure.checkRuns()
77+ compileFile(" ../tests/vulpix-tests/unit /deadlock.scala" , defaultOptions).expectFailure.checkRuns()
7878
7979 @ Test def badJava : Unit =
80- try compileFile(" ../tests/partest-test /BadJava.java" , defaultOptions).suppressAllOutput.checkCompile()
80+ try compileFile(" ../tests/vulpix-tests/unit /BadJava.java" , defaultOptions).suppressAllOutput.checkCompile()
8181 catch {
8282 case ae : AssertionError => assert(ae.getMessage.contains(" java compilation failed" ))
8383 }
8484
8585 @ Test def runTimeout : Unit = {
8686 try {
87- compileFile(" ../tests/partest-test /timeout.scala" , defaultOptions).checkRuns()
87+ compileFile(" ../tests/vulpix-tests/unit /timeout.scala" , defaultOptions).checkRuns()
8888 assert(false , " unreachable" )
8989 } catch {
9090 case ae : AssertionError =>
91- assert(ae.getMessage == " Run test failed, but should not, reasons:\n - test '../tests/partest-test /timeout.scala' timed out" )
91+ assert(ae.getMessage == " Run test failed, but should not, reasons:\n - test '../tests/vulpix-tests/unit /timeout.scala' timed out" )
9292 }
9393 }
9494}
0 commit comments