p

scala.tools

testkit

package testkit

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

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. final class InMemorySourcefile extends SimpleJavaFileObject
  8. class NoTrace[A] extends Runnable

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

  9. trait Resource extends Annotation
  10. trait RunTesting extends ClearAfterClass
  11. class Runner extends AnyRef
  12. 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.

  13. 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 NoTrace
  6. object Runner
  7. object TempDir
  8. object TestDuration

Ungrouped