diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/interactive/tests/core/PresentationCompilerTestDef.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/interactive/tests/core/PresentationCompilerTestDef.scala | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/interactive/tests/core/PresentationCompilerTestDef.scala b/src/compiler/scala/tools/nsc/interactive/tests/core/PresentationCompilerTestDef.scala new file mode 100644 index 0000000000..a9fd7444c1 --- /dev/null +++ b/src/compiler/scala/tools/nsc/interactive/tests/core/PresentationCompilerTestDef.scala @@ -0,0 +1,15 @@ +package scala.tools.nsc.interactive.tests.core + +trait PresentationCompilerTestDef { + + protected val marker: TestMarker + + private[tests] def runTest(): Unit + + protected def withResponseDelimiter(block: => Unit)(implicit reporter: Reporter) { + def printDelimiter() = reporter.println("=" * 80) + printDelimiter() + block + printDelimiter() + } +}
\ No newline at end of file |