From 2ea3b94ee2519e01a3e1658909afeb33e7e9ebe2 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sat, 9 May 2009 03:53:41 +0000 Subject: Organized disabled directory so it works with p... Organized disabled directory so it works with partest. You can run ./partest --srcpath disabled to run the tests in that location. Fixed a few tests in disabled and pending and moved to files. --- .../neg/plugin-multiple-rafter/src/ThePlugin.scala | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 test/disabled/neg/plugin-multiple-rafter/src/ThePlugin.scala (limited to 'test/disabled/neg/plugin-multiple-rafter/src/ThePlugin.scala') diff --git a/test/disabled/neg/plugin-multiple-rafter/src/ThePlugin.scala b/test/disabled/neg/plugin-multiple-rafter/src/ThePlugin.scala new file mode 100644 index 0000000000..4c761517c1 --- /dev/null +++ b/test/disabled/neg/plugin-multiple-rafter/src/ThePlugin.scala @@ -0,0 +1,31 @@ +package scala.test.plugins + +import scala.tools.nsc +import nsc.Global +import nsc.Phase +import nsc.plugins.Plugin +import nsc.plugins.PluginComponent + +class ThePlugin(val global: Global) extends Plugin { + import global._ + + val name = "multi-rafter" + val description = "" + val components = List[PluginComponent](thePhase) + + private object thePhase extends PluginComponent { + val global = ThePlugin.this.global + + val runsAfter = List[String]() + override val runsRightAfter = Some("explicitouter") + val phaseName = ThePlugin.this.name + + def newPhase(prev: Phase) = new ThePhase(prev) + } + + private class ThePhase(prev: Phase) extends Phase(prev) { + def name = ThePlugin.this.name + def run {} + } +} + -- cgit v1.2.3