package nest
- Alphabetic
- By Inheritance
- nest
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class AbstractRunner extends AnyRef
- class CommandLine extends CommandLineConfig
An instance of a command line, parsed according to a Spec.
- trait CommandLineConfig extends AnyRef
- class DelegatingSecurityManager extends SecurityManager
- class DirectCompiler extends AnyRef
- class FileManager extends AnyRef
- abstract class FromString[+T] extends PartialFunction[String, T]
A general mechanism for defining how a command line argument (always a String) is transformed into an arbitrary type.
A general mechanism for defining how a command line argument (always a String) is transformed into an arbitrary type. A few example instances are in the companion object, but in general either IntFromString will suffice or you'll want custom transformers.
- trait Instance extends Spec
The trait mixed into each instance of a specification.
The trait mixed into each instance of a specification.
- See also
Reference
- trait Interpolation extends AnyRef
Interpolation logic for generated files.
Interpolation logic for generated files. The idea is to be able to write in terms of @@THIS@@ and @@THAT@@ and the reference specification knows enough to perform the substitutions. Warrants expansion.
- class LogContext extends AnyRef
- class PartestGlobal extends Global
- class PathSettings extends AnyRef
Get current value for path settings.
Get current value for path settings. Default values are read from system properties
partest.srcdir
andpartest.root
. - trait Reference extends Spec
Mixes in the specification trait and uses the vals therein to side-effect private accumulators.
Mixes in the specification trait and uses the vals therein to side-effect private accumulators. From this emerges formatted help, lists of unary and binary arguments, an apply which can creates instances of the specification, and etc.
- See also
Instance
- class Runner extends AnyRef
Run a single test.
- trait RunnerSpec extends Spec with StdOpts with Interpolation
- trait Spec extends AnyRef
This trait works together with others in scala.tools.cmd to allow declaratively specifying a command line program, with many attendant benefits.
This trait works together with others in scala.tools.cmd to allow declaratively specifying a command line program, with many attendant benefits. See scala.tools.cmd.DemoSpec for an example.
- final class Stopwatch extends AnyRef
Measured elapsed time between between calls to
start
andstop
.Measured elapsed time between between calls to
start
andstop
. May bepause
-ed and re-started
beforestop
is eventually called. - case class TestInfo(testFile: java.io.File) extends Product with Serializable
pos/t1234.scala or pos/t1234 if dir
- class TestSettings extends Settings
- final class TestTranscript extends AnyRef
- case class TimeoutException(duration: Duration) extends RuntimeException with Product with Serializable
- class UnsafeAccess extends AnyRef
- Annotations
- @SuppressWarnings()
Value Members
- def fromOpt(s: String): String
- def runAndExit(body: => Unit): Nothing
- def stripQuotes(s: String): String
- def toOpt(s: String): String
- object ExtConsoleReporter
- object FileManager
- object FromString
- object Interpolation
- object LogContext
- object Meta
Meta-options for command line tools.
Meta-options for command line tools. We could have all kinds of additional goodness here, but for now it's completion and script generation. See Demo for example usage.
- object Opt
Machinery for what amounts to a command line specification DSL.
Machinery for what amounts to a command line specification DSL. It is designed so the same specification trait can be used for two different purposes: generating a singleton specification object (trait Reference) and providing well typed vals for every configurable option in response to any given set of arguments (trait Instance).
- object Output
- object Properties extends PropertiesTrait
Loads
library.properties
from the jar. - object Reference
- object RunnerSpec extends RunnerSpec with Reference
- object Spec
- object StreamCapture
- object TrapExit