p

scala.tools

testkit

package testkit

Content Hierarchy
Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AllocationExecution(executionCount: Int = 1000, warmupCount: Int = 1000) extends Product with Serializable
  2. case class AllocationInfo[T](result: T, allocations: Array[Long]) extends Product with Serializable
  3. trait AllocationTest extends AnyRef
  4. trait BytecodeTesting extends ClearAfterClass
  5. class ClearAfterClass extends AnyRef

    Extend this class to use JUnit's @ClassRule.

    Extend this class to use JUnit's @ClassRule. This annotation only works on static methods, which cannot be written in Scala.

    Example: scala.tools.nsc.backend.jvm.opt.InlinerTest

  6. class Compiler extends AnyRef
  7. case class ForDeletion(path: Path) extends Product with Serializable
  8. final class InMemorySourcefile extends SimpleJavaFileObject
  9. class NoTrace[A] extends Runnable

    Run a thunk, collecting uncaught exceptions from any spawned threads.

  10. trait Resource extends Annotation
  11. trait RunTesting extends ClearAfterClass
  12. class Runner extends AnyRef
  13. class VirtualCompiler extends AnyRef

    Utilities for testing with javac/scalac without using the actual filesystem, presumably because one doesn't wish to deal with platform idiosyncracies.

  14. final class VirtualFileManager extends ForwardingJavaFileManager[StandardJavaFileManager]

Value Members

  1. object ASMConverters

    Makes using ASM from ByteCodeTests more convenient.

    Makes using ASM from ByteCodeTests more convenient.

    Wraps ASM instructions in case classes so that equals and toString work for the purpose of bytecode diffing and pretty printing.

  2. object AllocationTest
  3. object AssertUtil

    This module contains additional higher-level assert statements that are ultimately based on junit.Assert primitives.

  4. object BytecodeTesting
  5. object ForDeletion extends java.io.Serializable
  6. object NoTrace
  7. object ReleasablePath
  8. object Releasables
  9. object Runner
  10. object TempDir
  11. object TestDuration

Ungrouped