diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2016-03-14 08:44:12 +0100 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2016-03-14 10:45:31 +0100 |
commit | c70292627c50adbbd5c4118a01a34bd7c23ba6b6 (patch) | |
tree | 8ee79961bf88179c340b3f18fdd374cea2887903 /test/scaladoc/scalacheck/IndexScriptTest.scala | |
parent | ac8c6e8f3a8f33d5987fc1fa320b3def5373a504 (diff) | |
download | scala-c70292627c50adbbd5c4118a01a34bd7c23ba6b6.tar.gz scala-c70292627c50adbbd5c4118a01a34bd7c23ba6b6.tar.bz2 scala-c70292627c50adbbd5c4118a01a34bd7c23ba6b6.zip |
Remove unused classes from Scaladoc
Several elements of the old Scaladoc are not in use anymore. To help
with any reverting, the removal of these is done in a single commit
(this one).
The removal includes:
- Old `Index`, the old top "index.html"
- The letter index (with "_" and "deprecated")
- The old `Template` which is superceded by `Entity`
Diffstat (limited to 'test/scaladoc/scalacheck/IndexScriptTest.scala')
-rw-r--r-- | test/scaladoc/scalacheck/IndexScriptTest.scala | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/scaladoc/scalacheck/IndexScriptTest.scala b/test/scaladoc/scalacheck/IndexScriptTest.scala index b8b9f92965..61f462186d 100644 --- a/test/scaladoc/scalacheck/IndexScriptTest.scala +++ b/test/scaladoc/scalacheck/IndexScriptTest.scala @@ -31,17 +31,14 @@ object Test extends Properties("IndexScript") { def createIndexScript(path: String) = docFactory.makeUniverse(Left(List(path))) match { - case Some(universe) => { - val index = new IndexScript(universe, - indexModelFactory.makeIndex(universe)) - Some(index) - } + case Some(universe) => + Some(new IndexScript(universe)) case _ => None } property("allPackages") = { - createIndexScript("src/scaladoc/scala/tools/nsc/doc/html/page/Index.scala") match { + createIndexScript("src/scaladoc/scala/tools/nsc/doc/html/page/IndexScript.scala") match { case Some(index) => index.allPackages.map(_.toString) == List( "scala", |