@@ -23,7 +23,7 @@ class VulpixUnitTests extends ParallelTesting {
23
23
24
24
@ Test def missingFile : Unit =
25
25
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()
27
27
fail(" didn't fail properly" )
28
28
}
29
29
catch {
@@ -32,63 +32,63 @@ class VulpixUnitTests extends ParallelTesting {
32
32
}
33
33
34
34
@ 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()
36
36
37
37
@ 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()
39
39
40
40
@ 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()
42
42
43
43
@ 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()
45
45
46
46
@ 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()
48
48
49
49
@ 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()
51
51
52
52
@ 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()
54
54
55
55
@ 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()
57
57
58
58
@ 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()
60
60
61
61
@ 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()
63
63
64
64
@ 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()
66
66
67
67
@ 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()
69
69
70
70
@ 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()
72
72
73
73
@ 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()
75
75
76
76
@ 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()
78
78
79
79
@ 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()
81
81
catch {
82
82
case ae : AssertionError => assert(ae.getMessage.contains(" java compilation failed" ))
83
83
}
84
84
85
85
@ Test def runTimeout : Unit = {
86
86
try {
87
- compileFile(" ../tests/partest-test /timeout.scala" , defaultOptions).checkRuns()
87
+ compileFile(" ../tests/vulpix-tests/unit /timeout.scala" , defaultOptions).checkRuns()
88
88
assert(false , " unreachable" )
89
89
} catch {
90
90
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" )
92
92
}
93
93
}
94
94
}
0 commit comments