Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AnnotatedFingerprint - Interface in org.scalatools.testing
-
Identifies a test by a class or its methods having a specific annotation.
- AnnotatedFingerprint - Interface in sbt.testing
-
Indicates that classes or modules with a specific annotation, either on at least one top level method or on the class or module itself, should be discovered as test classes.
- annotationName() - Method in interface org.scalatools.testing.AnnotatedFingerprint
-
The name of the annotation that identifies it as a test.
- annotationName() - Method in interface sbt.testing.AnnotatedFingerprint
-
The fully qualified name of the annotation that identifies classes or modules as test classes or modules to be discovered.
- ansiCodesSupported() - Method in interface org.scalatools.testing.Logger
-
True if ANSI color codes are understood by this instance.
- ansiCodesSupported() - Method in interface sbt.testing.Logger
-
True if ANSI color codes are understood by this instance.
- args() - Method in interface sbt.testing.Runner
-
Returns thge arguments that were used to create this
Runner
.
C
D
- debug(String) - Method in interface org.scalatools.testing.Logger
- debug(String) - Method in interface sbt.testing.Logger
-
Provide a debug message.
- description() - Method in interface org.scalatools.testing.Event
- done() - Method in interface sbt.testing.Runner
-
Indicates the client is done with this
Runner
instance. - duration() - Method in interface sbt.testing.Event
-
An amount of time, in milliseconds, that was required to complete the action reported by this event, or -1, if no duration was available.
E
- equals(Object) - Method in class sbt.testing.NestedSuiteSelector
- equals(Object) - Method in class sbt.testing.NestedTestSelector
- equals(Object) - Method in class sbt.testing.OptionalThrowable
- equals(Object) - Method in class sbt.testing.SuiteSelector
- equals(Object) - Method in class sbt.testing.TaskDef
- equals(Object) - Method in class sbt.testing.TestSelector
- equals(Object) - Method in class sbt.testing.TestWildcardSelector
- error() - Method in interface org.scalatools.testing.Event
- error(String) - Method in interface org.scalatools.testing.Logger
- error(String) - Method in interface sbt.testing.Logger
-
Provide an error message.
- Error - Enum constant in enum org.scalatools.testing.Result
- Error - Enum constant in enum sbt.testing.Status
-
Indicates an "error" occurred.
- Event - Interface in org.scalatools.testing
- Event - Interface in sbt.testing
-
An event fired by the test framework during a run.
- EventHandler - Interface in org.scalatools.testing
- EventHandler - Interface in sbt.testing
-
Interface implemented by clients that handle events fired by the test framework during a run.
- execute(EventHandler, Logger[]) - Method in interface sbt.testing.Task
-
Executes this task, possibly returning to the client new tasks to execute.
- explicitlySpecified() - Method in class sbt.testing.TaskDef
-
Indicates whether or not the test class requested by this
TaskDef
was "explicitly specified."
F
- Failure - Enum constant in enum org.scalatools.testing.Result
- Failure - Enum constant in enum sbt.testing.Status
-
Indicates a "failure" occurred.
- fingerprint() - Method in interface sbt.testing.Event
-
The fingerprint of the test class whose fully qualifed name is returned by the
fullyQualifiedName
method on thisEvent
. - fingerprint() - Method in class sbt.testing.TaskDef
-
The fingerprint that the test class requested by this
TaskDef
matches. - Fingerprint - Interface in org.scalatools.testing
-
A way to identify a test.
- Fingerprint - Interface in sbt.testing
-
A way to identify test classes and/or modules that should be discovered when the client performs discovery.
- fingerprints() - Method in interface sbt.testing.Framework
-
An array of
Fingerprint
s that specify how to identify test classes during discovery. - Framework - Interface in org.scalatools.testing
- Framework - Interface in sbt.testing
-
Interface implemented by test frameworks.
- fullyQualifiedName() - Method in interface sbt.testing.Event
-
The fully qualified name of a class that can rerun the suite or test about which an event was fired.
- fullyQualifiedName() - Method in class sbt.testing.TaskDef
-
The fully qualified name of the test class requested by this
TaskDef
.
G
- get() - Method in class sbt.testing.OptionalThrowable
-
Returns the
Throwable
contained in thisOptionalThrowable
if defined, else throwsIllegalStateException
.
H
- handle(Event) - Method in interface org.scalatools.testing.EventHandler
- handle(Event) - Method in interface sbt.testing.EventHandler
-
Handle an event.
- hashCode() - Method in class sbt.testing.NestedSuiteSelector
- hashCode() - Method in class sbt.testing.NestedTestSelector
- hashCode() - Method in class sbt.testing.OptionalThrowable
- hashCode() - Method in class sbt.testing.SuiteSelector
- hashCode() - Method in class sbt.testing.TaskDef
- hashCode() - Method in class sbt.testing.TestSelector
- hashCode() - Method in class sbt.testing.TestWildcardSelector
I
- Ignored - Enum constant in enum sbt.testing.Status
-
Indicates a test was ignored.
- info(String) - Method in interface org.scalatools.testing.Logger
- info(String) - Method in interface sbt.testing.Logger
-
Provide an info message.
- isDefined() - Method in class sbt.testing.OptionalThrowable
-
Indicates whether this
OptionalThrowable
is "defined," i.e., contains aThrowable
. - isEmpty() - Method in class sbt.testing.OptionalThrowable
-
Indicates whether this
OptionalThrowable
is "empty," i.e., contains noThrowable
. - isModule() - Method in interface org.scalatools.testing.AnnotatedFingerprint
-
Whether a test is a module or a class
- isModule() - Method in interface org.scalatools.testing.SubclassFingerprint
-
Whether a test is a module or a class
- isModule() - Method in interface sbt.testing.AnnotatedFingerprint
-
Indicates whether modules with the annotation should be considered during discovery, or just classes.
- isModule() - Method in interface sbt.testing.SubclassFingerprint
-
Indicates whether modules (singleton objects) that extend the superclass or supertrait should be considered during discovery, or just classes.
L
- Logger - Interface in org.scalatools.testing
-
A basic interface to provide feedback.
- Logger - Interface in sbt.testing
-
A logger through which to provide feedback to the user about a run.
N
- name() - Method in interface org.scalatools.testing.Framework
-
The name of the test framework that this object represents.
- name() - Method in interface sbt.testing.Framework
-
A human-friendly name of the test framework that this object represents.
- NestedSuiteSelector - Class in sbt.testing
-
Information in addition to a test class name that identifies a nested suite about which an event was fired.
- NestedSuiteSelector(String) - Constructor for class sbt.testing.NestedSuiteSelector
-
Constructs a new
NestedSuiteSelector
with givensuiteId
. - NestedTestSelector - Class in sbt.testing
-
Information in addition to a test class name that identifies a test in a nested suite about which an event was fired.
- NestedTestSelector(String, String) - Constructor for class sbt.testing.NestedTestSelector
-
Constructs a new
NestedSuiteSelector
with givensuiteId
andtestName
.
O
- OptionalThrowable - Class in sbt.testing
-
An optional
Throwable
. - OptionalThrowable() - Constructor for class sbt.testing.OptionalThrowable
-
Constructs an
OptionalThrowable
containing noThrowable
. - OptionalThrowable(Throwable) - Constructor for class sbt.testing.OptionalThrowable
-
Constructs an
OptionalThrowable
containing aThrowable
. - org.scalatools.testing - package org.scalatools.testing
P
R
- remoteArgs() - Method in interface sbt.testing.Runner
-
Remote args that will be passed to
Runner
in a sub-process as remoteArgs. - requireNoArgConstructor() - Method in interface sbt.testing.SubclassFingerprint
-
Indicates whether discovered classes must have a no-arg constructor.
- result() - Method in interface org.scalatools.testing.Event
- Result - Enum in org.scalatools.testing
- run(String, Fingerprint, EventHandler, String[]) - Method in class org.scalatools.testing.Runner2
-
Runs the test suite with class name 'testClassName' and returns the results of executing each test contained in the suite.
- run(String, TestFingerprint, EventHandler, String[]) - Method in interface org.scalatools.testing.Runner
-
Runs the test suite with class name 'testClassName' and returns the results of executing each test contained in the suite.
- run(String, TestFingerprint, EventHandler, String[]) - Method in class org.scalatools.testing.Runner2
- runner(String[], String[], ClassLoader) - Method in interface sbt.testing.Framework
-
Initiates a run.
- Runner - Interface in org.scalatools.testing
- Runner - Interface in sbt.testing
-
Represents one run of a suite of tests.
- Runner2 - Class in org.scalatools.testing
-
New Runner that can handle more types of Fingerprints.
- Runner2() - Constructor for class org.scalatools.testing.Runner2
S
- sbt.testing - package sbt.testing
- selector() - Method in interface sbt.testing.Event
-
Additional information identifying the suite or test about which an event was fired.
- Selector - Class in sbt.testing
-
Information in addition to a test class name that identifies the suite or test about which an event was fired.
- Selector() - Constructor for class sbt.testing.Selector
- selectors() - Method in class sbt.testing.TaskDef
-
One to many selectors describing the nature of the
Task
requested by thisTaskDef
. - Skipped - Enum constant in enum org.scalatools.testing.Result
- Skipped - Enum constant in enum sbt.testing.Status
-
Indicates a test was skipped.
- status() - Method in interface sbt.testing.Event
-
Indicates whether the event represents a test success, failure, error, skipped, ignored, canceled, pending.
- Status - Enum in sbt.testing
-
Represents the status of running a test.
- SubclassFingerprint - Interface in org.scalatools.testing
-
Identifies a test as a class that has a specific type as an ancestor.
- SubclassFingerprint - Interface in sbt.testing
-
Indicates that classes (and possibly modules) that extend a particular superclass, or mix in a particular supertrait, should be discovered as test classes.
- Success - Enum constant in enum org.scalatools.testing.Result
- Success - Enum constant in enum sbt.testing.Status
-
Indicates a test succeeded.
- suiteId() - Method in class sbt.testing.NestedSuiteSelector
-
An id that, in addition to a test class name, identifies a nested suite about which an event was fired.
- suiteId() - Method in class sbt.testing.NestedTestSelector
-
An id that, in addition to a test class name, identifies a nested suite that contains a test about which an event was fired.
- SuiteSelector - Class in sbt.testing
-
Indicates an event was about the entire suite whose class had the fully qualified name specified as the
fullyQualifiedName
attribute the event. - SuiteSelector() - Constructor for class sbt.testing.SuiteSelector
- superclassName() - Method in interface sbt.testing.SubclassFingerprint
-
The name of the superclass or supertrait that identifies classes (and possibly modules) as test classes to be discovered.
- superClassName() - Method in interface org.scalatools.testing.SubclassFingerprint
-
The name of the type that designates a test.
T
- tags() - Method in interface sbt.testing.Task
-
A possibly zero-length array of string tags associated with this task.
- Task - Interface in sbt.testing
-
A task to execute.
- taskDef() - Method in interface sbt.testing.Task
-
Returns the
TaskDef
that was used to request thisTask
. - TaskDef - Class in sbt.testing
-
A bundle of information used to request a
Task
from a test framework. - TaskDef(String, Fingerprint, boolean, Selector[]) - Constructor for class sbt.testing.TaskDef
-
Constructs a new
TaskDef
with the given fully qualified name, fingerprint, "explicitly specified" fag, and array of selectors. - tasks(TaskDef[]) - Method in interface sbt.testing.Runner
-
Returns an array of tasks that when executed will run tests and suites determined by the passed
TaskDef
s. - TestFingerprint - Interface in org.scalatools.testing
-
For backwards compatibility.
- testName() - Method in interface org.scalatools.testing.Event
- testName() - Method in class sbt.testing.NestedTestSelector
-
The name of the test in a nested suite about which an event was fired.
- testName() - Method in class sbt.testing.TestSelector
-
The name of a test about which an event was fired.
- testRunner(ClassLoader, Logger[]) - Method in interface org.scalatools.testing.Framework
-
Provide a runner for tests that will load test classes from 'testClassLoader' and direct all logging output from the framework to 'loggers'.
- tests() - Method in interface org.scalatools.testing.Framework
-
Specifies how to identify classes that are tests.
- TestSelector - Class in sbt.testing
-
Information in addition to a test class name that identifies a test directly contained in the suite whose class had the fully qualified name specified as the
fullyQualifiedName
attribute passed to the event. - TestSelector(String) - Constructor for class sbt.testing.TestSelector
-
Constructs a new
TestSelector
with passedtestName
. - testWildcard() - Method in class sbt.testing.TestWildcardSelector
-
A test wildcard string used to select tests.
- TestWildcardSelector - Class in sbt.testing
-
Information that identifies zero to many tests directly contained in a test class.
- TestWildcardSelector(String) - Constructor for class sbt.testing.TestWildcardSelector
-
Constructs a new
TestWildcardSelector
with passedtestWildcard
. - throwable() - Method in interface sbt.testing.Event
-
An
OptionalThrowable
associated with thisEvent
. - toString() - Method in class sbt.testing.NestedSuiteSelector
- toString() - Method in class sbt.testing.NestedTestSelector
- toString() - Method in class sbt.testing.OptionalThrowable
- toString() - Method in class sbt.testing.SuiteSelector
- toString() - Method in class sbt.testing.TaskDef
- toString() - Method in class sbt.testing.TestSelector
- toString() - Method in class sbt.testing.TestWildcardSelector
- trace(Throwable) - Method in interface org.scalatools.testing.Logger
- trace(Throwable) - Method in interface sbt.testing.Logger
-
Provide a stack trace
V
- valueOf(String) - Static method in enum org.scalatools.testing.Result
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum sbt.testing.Status
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.scalatools.testing.Result
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum sbt.testing.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- warn(String) - Method in interface org.scalatools.testing.Logger
- warn(String) - Method in interface sbt.testing.Logger
-
Provide an warning message.
All Classes and Interfaces|All Packages|Serialized Form