11package dotty .tools
22package vulpix
33
4- import org .junit .Test
4+ import org .junit .{ Test , AfterClass }
55import org .junit .experimental .categories .Category
66import scala .concurrent .duration ._
77import TestConfiguration ._
@@ -11,14 +11,8 @@ import TestConfiguration._
1111 * output against an expected result.
1212 */
1313@ Category (Array (classOf [dotty.VulpixMetaTests ]))
14- class VulpixMetaTests extends ParallelTesting {
15- def maxDuration = 1 .seconds
16- // Ensure maximum reproducibility.
17- def numberOfSlaves = 1
18- def safeMode = false // Don't fork a new VM after each run test
19- def isInteractive = false // Don't beautify output for interactive use.
20- def testFilter = None // Run all the tests.
21- def updateCheckFiles : Boolean = false
14+ class VulpixMetaTests {
15+ import VulpixMetaTests ._
2216
2317 implicit val summaryReport : SummaryReporting = new SummaryReport
2418 implicit def testGroup : TestGroup = TestGroup (" VulpixMetaTests" )
@@ -27,3 +21,16 @@ class VulpixMetaTests extends ParallelTesting {
2721 @ Test def compileNeg : Unit = compileFilesInDir(" tests/vulpix-tests/meta/neg" , defaultOptions).checkExpectedErrors()
2822 @ Test def runAll : Unit = compileFilesInDir(" tests/vulpix-tests/meta/run" , defaultOptions).checkRuns()
2923}
24+
25+ object VulpixMetaTests extends ParallelTesting {
26+ def maxDuration = 1 .seconds
27+ // Ensure maximum reproducibility.
28+ def numberOfSlaves = 1
29+ def safeMode = false // Don't fork a new VM after each run test
30+ def isInteractive = false // Don't beautify output for interactive use.
31+ def testFilter = None // Run all the tests.
32+ def updateCheckFiles : Boolean = false
33+
34+ @ AfterClass
35+ def tearDown () = this .cleanup()
36+ }
0 commit comments