@@ -226,7 +226,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
226226 rerun.exists(dir.getPath.contains)
227227 })
228228
229- private trait CompilationLogic { this : Test =>
229+ protected trait CompilationLogic { this : Test =>
230230 def suppressErrors = false
231231
232232 /**
@@ -359,7 +359,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
359359 /** Each `Test` takes the `testSources` and performs the compilation and assertions
360360 * according to the implementing class "neg", "run" or "pos".
361361 */
362- private class Test (testSources : List [TestSource ], times : Int , threadLimit : Option [Int ], suppressAllOutput : Boolean )(implicit val summaryReport : SummaryReporting ) extends CompilationLogic { test =>
362+ protected class Test (testSources : List [TestSource ], times : Int , threadLimit : Option [Int ], suppressAllOutput : Boolean )(implicit val summaryReport : SummaryReporting ) extends CompilationLogic { test =>
363363
364364 import summaryReport ._
365365
@@ -913,15 +913,15 @@ trait ParallelTesting extends RunnerOrchestration { self =>
913913 verifyOutput(testSource, reporters, logger)
914914 }
915915
916- private final class RunTest (testSources : List [TestSource ], times : Int , threadLimit : Option [Int ], suppressAllOutput : Boolean )(implicit summaryReport : SummaryReporting )
916+ protected class RunTest (testSources : List [TestSource ], times : Int , threadLimit : Option [Int ], suppressAllOutput : Boolean )(implicit summaryReport : SummaryReporting )
917917 extends Test (testSources, times, threadLimit, suppressAllOutput) {
918918 private var didAddNoRunWarning = false
919- private def addNoRunWarning () = if (! didAddNoRunWarning) {
919+ protected def addNoRunWarning () = if (! didAddNoRunWarning) {
920920 didAddNoRunWarning = true
921921 summaryReport.addStartingMessage {
922922 """ |WARNING
923923 |-------
924- |Run tests were only compiled, not run - this is due to the `dotty.tests.norun`
924+ |Run and debug tests were only compiled, not run - this is due to the `dotty.tests.norun`
925925 |property being set
926926 |""" .stripMargin
927927 }
@@ -1172,12 +1172,12 @@ trait ParallelTesting extends RunnerOrchestration { self =>
11721172 * `aggregateTests` in the companion, which will ensure that aggregation is allowed.
11731173 */
11741174 final class CompilationTest private (
1175- private [ ParallelTesting ] val targets : List [TestSource ],
1176- private [ ParallelTesting ] val times : Int ,
1177- private [ ParallelTesting ] val shouldDelete : Boolean ,
1178- private [ ParallelTesting ] val threadLimit : Option [Int ],
1179- private [ ParallelTesting ] val shouldFail : Boolean ,
1180- private [ ParallelTesting ] val shouldSuppressOutput : Boolean
1175+ val targets : List [TestSource ],
1176+ val times : Int ,
1177+ val shouldDelete : Boolean ,
1178+ val threadLimit : Option [Int ],
1179+ val shouldFail : Boolean ,
1180+ val shouldSuppressOutput : Boolean
11811181 ) {
11821182 import org .junit .Assert .fail
11831183
@@ -1280,7 +1280,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
12801280 checkFail(test, " Rewrite" )
12811281 }
12821282
1283- private def checkPass (test : Test , desc : String ): this .type =
1283+ def checkPass (test : Test , desc : String ): this .type =
12841284 test.executeTestSuite()
12851285
12861286 cleanup()
0 commit comments