diff options
author | michelou <michelou@epfl.ch> | 2011-07-15 21:38:03 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2011-07-15 21:38:03 +0000 |
commit | 2621ee63285808785159a3c24c9e5a5a723b8b9c (patch) | |
tree | 15d5a0863a7759f7c2178e1c9d29402fc9cd6fb8 /test | |
parent | a4fb15861b271c41fba8382f3b55024b5fdc8155 (diff) | |
download | scala-2621ee63285808785159a3c24c9e5a5a723b8b9c.tar.gz scala-2621ee63285808785159a3c24c9e5a5a723b8b9c.tar.bz2 scala-2621ee63285808785159a3c24c9e5a5a723b8b9c.zip |
scaladoc fixes and improvements
Changes to scaladoc include:
- fixed transformation of Code(text) into HTML tag <code> - added tool
tips for deprecated entities (classes, methods) using the 'title'
attribute - added syntax highlighting of Scala source code in generated
<pre> blocks (CSS colors are defined in lib/template.css)
Here are several examples of highlighted Scala code:
scala.App
scala.Application
scala.Enumeration
scala.Function1
scala.Function2
scala.native
scala.Option
scala.Proxy
scala.specialized
scala.throws
scala.unchecked
scala.actors.Actor
scala.annotation.deprecatedName
scala.annotation.elidable
scala.annotation.switch
scala.collection.DefaultMap
scala.collection.JavaConversions
scala.collection.JavaConverters
scala.collection.LinearSeqLike
scala.collection.MapLike
scala.collection.SetLike
scala.collection.TraversableLike
scala.collection.immutable.NumericRange
scala.collection.immutable.Range
scala.collection.immutable.Stream
scala.collection.mutable.BufferLike
scala.concurrent.pilib
scala.io.Position
scala.reflect.BeanProperty
scala.reflect.Manifest
scala.testing.Benchmark
scala.util.DynamicVariable
scala.util.control.Breaks
scala.util.control.ControlThrowable
scala.util.control.Exception
scala.util.control.TailCalls
scala.util.logging.Logged
scala.util.parsing.combinator.testing.Tester
scala.util.parsing.json.JSON
scala.util.regexp.WordExp
scala.xml.factory.LoggedNodeFactory
scala.xml.parsing.ConstructingParser
Diffstat (limited to 'test')
-rw-r--r-- | test/scaladoc/scala/model/CommentFactoryTest.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/scaladoc/scala/model/CommentFactoryTest.scala b/test/scaladoc/scala/model/CommentFactoryTest.scala index 9f60d2a1b7..69c314a64c 100644 --- a/test/scaladoc/scala/model/CommentFactoryTest.scala +++ b/test/scaladoc/scala/model/CommentFactoryTest.scala @@ -46,7 +46,7 @@ object Test extends Properties("CommentFactory") { ) property("parse") = parse( "/** One `two` three */", - Chain(List(Text("One "), Monospace("two"), Text(" three"))) + Chain(List(Text("One "), Monospace(Text("two")), Text(" three"))) ) property("parse") = parse( @@ -59,21 +59,21 @@ object Test extends Properties("CommentFactory") { """ /** One `two` * three */""", - Chain(List(Text("One "), Monospace("two"), Text("\n"), Text("three"))) + Chain(List(Text("One "), Monospace(Text("two")), Text("\n"), Text("three"))) ) property("parse") = parse( """ /** One `two` * three */""", - Chain(List(Text("One "), Monospace("two"), Text("\n"), Text(" three"))) + Chain(List(Text("One "), Monospace(Text("two")), Text("\n"), Text(" three"))) ) property("parse") = parse( """ /** One * `two` three */""", - Chain(List(Text("One"), Text("\n"), Monospace("two"), Text(" three"))) + Chain(List(Text("One"), Text("\n"), Monospace(Text("two")), Text(" three"))) ) property("Trac #4361 - ^...^") = parse( |