diff options
author | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-06-17 07:24:18 -0700 |
---|---|---|
committer | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-06-17 07:24:18 -0700 |
commit | 9a28ee1ffc085bc680c48b12ad632b9133adf020 (patch) | |
tree | 62b31b6d446e9d42f426f57263e840e5282e7108 /test/scaladoc/scalacheck/CommentFactoryTest.scala | |
parent | 277dc7cf43566f8294bde4143107d9bfaa59e8e3 (diff) | |
parent | 556065151c10685240dd907691dab5e094c87efc (diff) | |
download | scala-9a28ee1ffc085bc680c48b12ad632b9133adf020.tar.gz scala-9a28ee1ffc085bc680c48b12ad632b9133adf020.tar.bz2 scala-9a28ee1ffc085bc680c48b12ad632b9133adf020.zip |
Merge pull request #718 from damienobrist/feature/diagrams-dev-final
Diagrams in Scaladoc
Diffstat (limited to 'test/scaladoc/scalacheck/CommentFactoryTest.scala')
-rw-r--r-- | test/scaladoc/scalacheck/CommentFactoryTest.scala | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/scaladoc/scalacheck/CommentFactoryTest.scala b/test/scaladoc/scalacheck/CommentFactoryTest.scala index 68ca68efdd..b576ba5544 100644 --- a/test/scaladoc/scalacheck/CommentFactoryTest.scala +++ b/test/scaladoc/scalacheck/CommentFactoryTest.scala @@ -5,10 +5,12 @@ import scala.tools.nsc.Global import scala.tools.nsc.doc import scala.tools.nsc.doc.model._ import scala.tools.nsc.doc.model.comment._ +import scala.tools.nsc.doc.model._ +import scala.tools.nsc.doc.model.diagram._ class Factory(val g: Global, val s: doc.Settings) extends doc.model.ModelFactory(g, s) { - thisFactory: Factory with ModelFactoryImplicitSupport with CommentFactory with doc.model.TreeFactory => + thisFactory: Factory with ModelFactoryImplicitSupport with DiagramFactory with CommentFactory with doc.model.TreeFactory => def strip(c: Comment): Option[Inline] = { c.body match { @@ -29,7 +31,7 @@ object Test extends Properties("CommentFactory") { val settings = new doc.Settings((str: String) => {}) val reporter = new scala.tools.nsc.reporters.ConsoleReporter(settings) val g = new Global(settings, reporter) - (new Factory(g, settings) with ModelFactoryImplicitSupport with CommentFactory with doc.model.TreeFactory) + (new Factory(g, settings) with ModelFactoryImplicitSupport with DiagramFactory with CommentFactory with doc.model.TreeFactory) } def parse(src: String, dst: Inline) = { |