diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2012-12-12 15:05:47 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2012-12-12 15:05:47 -0800 |
commit | a6f10cf7f4245f2dfcf2fef5fab5255b6fca119f (patch) | |
tree | cbad4b40dc2e471234dad0fec55a643f9bbdae93 /test/files/presentation/memory-leaks/MemoryLeaksTest.scala | |
parent | 59c2649ae074364a9a2d171d58d47612c92bf1c1 (diff) | |
parent | e5e6d673cf669e3c9a7643aedd02213e4f7bbddf (diff) | |
download | scala-a6f10cf7f4245f2dfcf2fef5fab5255b6fca119f.tar.gz scala-a6f10cf7f4245f2dfcf2fef5fab5255b6fca119f.tar.bz2 scala-a6f10cf7f4245f2dfcf2fef5fab5255b6fca119f.zip |
Merge pull request #1722 from vigdorchik/ide.api
Extract base scaladoc functionality for the IDE.
Diffstat (limited to 'test/files/presentation/memory-leaks/MemoryLeaksTest.scala')
-rw-r--r-- | test/files/presentation/memory-leaks/MemoryLeaksTest.scala | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/presentation/memory-leaks/MemoryLeaksTest.scala b/test/files/presentation/memory-leaks/MemoryLeaksTest.scala index a5533a623a..159097cc10 100644 --- a/test/files/presentation/memory-leaks/MemoryLeaksTest.scala +++ b/test/files/presentation/memory-leaks/MemoryLeaksTest.scala @@ -5,6 +5,7 @@ import java.util.Calendar import scala.tools.nsc.interactive.tests._ import scala.tools.nsc.util._ import scala.tools.nsc.io._ +import scala.tools.nsc.doc /** This test runs the presentation compiler on the Scala compiler project itself and records memory consumption. * @@ -24,6 +25,8 @@ import scala.tools.nsc.io._ object Test extends InteractiveTest { final val mega = 1024 * 1024 + override val settings: doc.Settings = docSettings + override def execute(): Unit = memoryConsumptionTest() def batchSource(name: String) = @@ -120,4 +123,4 @@ object Test extends InteractiveTest { r.totalMemory() - r.freeMemory() } -}
\ No newline at end of file +} |