package testkit
- Alphabetic
- Public
- All
Type Members
- case class AllocationExecution(executionCount: Int = 1000, warmupCount: Int = 1000) extends Product with Serializable
- case class AllocationInfo[T](result: T, allocations: Array[Long]) extends Product with Serializable
- trait AllocationTest extends AnyRef
- trait BytecodeTesting extends ClearAfterClass
- 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 - class Compiler extends AnyRef
- final class InMemorySourcefile extends SimpleJavaFileObject
- class NoTrace[A] extends Runnable
Run a thunk, collecting uncaught exceptions from any spawned threads.
- trait Resource extends Annotation
- trait RunTesting extends ClearAfterClass
- class Runner extends AnyRef
- 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.
- final class VirtualFileManager extends ForwardingJavaFileManager[StandardJavaFileManager]
Value Members
- 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.
- object AllocationTest
- object AssertUtil
This module contains additional higher-level assert statements that are ultimately based on junit.Assert primitives.
- object BytecodeTesting
- object NoTrace
- object Runner
- object TempDir
- object TestDuration