Groovy Documentation
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

ACKNOWLEDGED_NEGATIVE - Enum Constant in Advice
ACKNOWLEDGED_NEGATIVE - Enum Constant in Modification
ACKNOWLEDGED_POSITIVE - Enum Constant in Advice
ACKNOWLEDGED_POSITIVE - Enum Constant in Modification
automatic comparison: copied an USER_ACKNOWLEDGED from previous result
additionalData - Property in TztReport
used for reporting anything
Advice - Enum in lsst.gruth.grutils
A simple value to store the result of a human being's analysis of the RawDiagnostic (result) of a TztReport (report).
Advice(String) - Constructor in Advice
advice - Property in AnnotatedReport
advice addded by user (or by automatic comprison tool)
AnnotatedReport - Class in lsst.gruth.grutils
used to store TztReport with notes about modification and handling of the corresponding report
AnnotatedReport.Origin - Enum in lsst.gruth.grutils
AnnotatedReport(Modification, Advice, String, int, AnnotatedReport, TztReport) - Constructor in AnnotatedReport
use this constructor for test purposes only
args - Property in PossibleConstructorOrSetterProblem
AssertionReport - Class in lsst.gruth.grutils
Generated by assertion methods.
AssertionReport(boolean, String, RawDiagnostic) - Constructor in AssertionReport
AUTO - Enum Constant in AnnotatedReport.Origin
modification operated by automatic comparison tool
automaticModification(AnnotatedReport, int, int) - Method in AnnotatedReport
/ if (beenThroughAutomaticComparison) { beenThroughAutomaticComparison = false; //TODO: think!

B

base - Property in Gruse
beenThroughAutomaticComparison - Property in AnnotatedReport
this report has been through automatic comparison
begin() - Method in ObjectFileResultReporter
begin() - Method in ResultReporter
begin() - Method in SimpleResultReporter
BEING_INVESTIGATED - Enum Constant in Advice
bitPosition - Property in Tracer
each enum member has a corresponding bit in a bit pattern.
body(AnnotatedReport) - Method in ResultFormatter
body(AnnotatedReport) - Method in SimpleResultFormatter
bufr - Property in GruGen
bufw - Property in GruGen
build() - Method in ComponentFactory
buildCalls(IndirectMap, ComponentNode) - Method in ComponentFactory
buildFrom(IndirectMap, ComponentNode) - Method in ComponentFactory
BuildGroupSpec - Class in lsst.gruth.grutils
A GrouSpec that specifies tests that build objects (constructor; static factories)
BuildGroupSpec(String, Binding) - Constructor in BuildGroupSpec
buildObjectTreeFrom(ComponentNode) - Method in ComponentFactory

C

caught - Property in TztReport
className - Property in GroupSpec
name of Class: may be null if objects of different types are tested
className - Property in PossibleConstructorOrSetterProblem
className - Property in TztReport
clazz - Property in GroupSpec
the Class: may be null if objects of different types are tested
clone() - Method in AnnotatedReport
clone() - Method in TztReport
clone() - Method in TztRun
close() - Method in ObjectFileResultReporter
close() - Method in SimpleResultReporter
compareTo(AnnotatedReport) - Method in AnnotatedReport
compareTo(TztReport) - Method in TztReport
COMPARISON_REGRESSION - Enum Constant in Modification
automatic comparison: regression spotted
ComponentFactory - Class in lsst.gruth.nodes
@author bamade
ComponentFactory() - Constructor in ComponentFactory
confused(AnnotatedReport, int, int) - Method in AnnotatedReport
the comparison looks incoherent: user advice is requested
CONFUSING_COMPARISON - Enum Constant in Modification
automatic comparison : incoherent advices and result : does not know which advice to issue
conversionText - Property in GArray
copy(AnnotatedReport, int, int) - Method in AnnotatedReport
automatic comparison copies a previous user's advice.
COPY - Enum Constant in AnnotatedReport.Origin
automatic comparison tool copied previous advice from use
createStreamFromName(String) - Method in ObjectFileResultReporter
Cst - Class in lsst.gruth.grutils
@author bamade
Cst() - Constructor in Cst
CTOR - Enum Constant in SpecType
currentBatchSpec - Property in GruScript
currentStream - Property in ObjectFileResultReporter

D

data - Property in TztReport
Object produced by test ... if not serializable will be dumped at Serialization.
deliver(String) - Method in ResultHandlers
explicitly ask each ResultReporter to get reports and bundle them under a common name.
details - Field in Advice
details - Property in Modification
diagEqualsResultsDiffer(AnnotatedReport, int, int) - Method in AnnotatedReport
two versions of the test get same diagnostic with differing results
dir - Property in ObjectFileResultReporter
dontReport - Property in TztReport
used to declare this run not to be included in final report

E

end() - Method in ObjectFileResultReporter
end() - Method in ResultReporter
end() - Method in SimpleResultReporter
equals(Object) - Method in AnnotatedReport
equals(def) - Method in TaggedObject
ERROR - Enum Constant in Modification.Importance
exceptionFired - Property in TztReport
exceptionFired - Property in TztRun
execCode - Property in GroupSpec
for constructors or static methods only (may differ if there are many objects).
execException - Property in FreeReport
expectations - Property in RawTestSpec
code to be run after executing this specific test and before tearDown.
expectations - Property in TztRun

F

FAILED - Enum Constant in RawDiagnostic
the test failed
FlatMap - Class in lsst.gruth.grutils
A TaggedsMap that flattens every build argument.
FlatMap(Object) - Constructor in FlatMap
force - Property in AssertionReport
FORCE_ERROR - Enum Constant in Advice
FORCE_SUCCESS - Enum Constant in Advice
formatter - Property in ResultReporter
FREE_CODE - Enum Constant in SpecType
FreeGroupSpec - Class in lsst.gruth.grutils
A groupSpec of "free" code : NOT IMPLEMENTED
FreeGroupSpec(Binding) - Constructor in FreeGroupSpec
FreeReport - Class in lsst.gruth.grutils
@author bamade
FreeReport(String, String) - Constructor in FreeReport
fromRawArgsToRawRuns(Map, TztReport, Binding) - Method in GroupSpec
each element of the Map looks like KEY: arg1,ar2, arg3 KEY2: argn, argm KEY will become the "rootName" of a test run then each arg will be exploded:

G

GArray - Class in lsst.gruth.types
utility class with just a valueOf method to evaluate groovy Arrays
GArray() - Constructor in GArray
gatherResult() - Method in TztReport
get_args() - Method in GruScript
get_argsNames() - Method in GruScript
get_className() - Method in GruScript
normally not to be called but who knows?
get_it() - Method in GruScript
get_methodName() - Method in GruScript
get_rawTestName() - Method in GruScript
get_result() - Method in GruScript
get_thisL() - Method in GruScript
getAdvice() - Method in AnnotatedReport
getDetails() - Method in Modification
getImportance() - Method in Modification
getKey() - Method in TaggedObject
getKey() - Method in TztReport
getKey() - Method in WithStringKey
getModification() - Method in AnnotatedReport
getModificationOrigin() - Method in AnnotatedReport
getReport() - Method in AnnotatedReport
getSimplifiedNotation() - Method in Modification
getSupportingObjectString() - Method in TztReport
getUniqueKey() - Method in TztReport
getUserComment() - Method in AnnotatedReport
getValue(def) - Method in TaggedsMap
GList - Class in lsst.gruth.types
@author bamade
GList() - Constructor in GList
GMap - Class in lsst.gruth.types
@author bamade
GMap(Map) - Constructor in GMap
GROOVY_LOG - Field in Cst
groupName - Property in GroupRun
groupName - Property in GroupSpec
Name for group (either explicit or generated)
groupReportsUnderName(String) - Method in ObjectFileResultReporter
groupReportsUnderName(String) - Method in ResultReporter
report objects in the same test batch can be grouped in different places (files for instance).
groupReportsUnderName(String) - Method in SimpleResultReporter
GroupRun - Class in lsst.gruth.grutils
@author bamade
GroupRun() - Constructor in GroupRun
GroupSpec - Class in lsst.gruth.grutils
Created initially by a call to _with**, it deals with a group of test specification.
GroupSpec.Combiner - Class in lsst.gruth.grutils
A utility class tom help build combinations of tests.
GroupSpec.Combiner(Combiner, TaggedsMap) - Constructor in GroupSpec.Combiner
GroupSpec(SpecType, Binding) - Constructor in GroupSpec
gru - Class in lsstth.gru
gru() - Constructor in gru
gruClass - Property in GruGen
gruCodePath - Property in GruGen
GruException - Class in lsst.gruth.grutils
superclass of Exceptions in GRU.
GruException(String, Throwable) - Constructor in GruException
GruGen - Class in lsst.gruth
@author bamade
GruGen() - Constructor in GruGen
gruPackageName - Property in GruGen
GruScript - Class in lsst.gruth.grutils
Base script class for Gru DSL.
GruScript(Binding) - Constructor in GruScript
Gruse - Class in lsst.gruth.grutils
@author bamade
Gruse(Object) - Constructor in Gruse

H

handleReport(String, TztReport) - Method in ResultHandlers
handleReports(String, List) - Method in ResultHandlers
Explicitly called to report a list of TztReport under a common bundelName
hasBeenReported - Property in GroupRun
hasBeenRun - Property in GroupRun
hashCode() - Method in TaggedObject

I

importance - Property in Modification
initThis() - Method in GruScript
INSTANCE_FACTORY - Enum Constant in SpecType
INSTANCE_METHOD - Enum Constant in SpecType
instances - Property in GroupSpec
specific to tests with instances.
InvokeGroupSpec - Class in lsst.gruth.grutils
A GroupSpec for testing instance methods.
InvokeGroupSpec(Binding, Object) - Constructor in InvokeGroupSpec
@param bind

J

javaClass - Property in GruGen
javaPackageName - Property in GruGen

K

keep - Property in TaggedObject
key - Property in MissingDataException
key - Property in TaggedObject
KNOWN_TO_BE_UNSUCCESSFUL - Enum Constant in Advice
WARNINGS

L

leftShift(Object) - Method in TaggedsMap
list - Property in GroupRun
listAssertions - Property in TztReport
listReporters - Property in ResultHandlers
the list of code that are able to deliver results (ResultReporters).
listReports - Property in ResultHandlers
List of TztReport instance that will be handled by the ResultReporters
logger - Property in Tracer
loop(List, Closure) - Method in NodeUtils
loopList(List, Closure) - Method in NodeUtils
loopMap(List, Closure) - Method in NodeUtils
lostResults(AnnotatedReport, int, int) - Method in AnnotatedReport
happens when suddenly a test becomes NOT-YET-IMPLEMENTED or NOT-EVALUATED (but was not before!)

M

main(String) - Method in GruGen
map - Property in GroupSpec.Combiner
message - Property in AssertionReport
messages - Property in TztReport
method - Property in ObjAndMethodPair
methodName - Property in GroupSpec
name of method
methodName - Property in TztReport
methodSpecified - Property in InvokeGroupSpec
MISSING_DATA - Enum Constant in RawDiagnostic
the test failed because some needed data could not be evaluated (usually because a previous test failed and did not produced this data).
MissingDataException - Class in lsst.gruth.grutils
@author bamade
MissingDataException() - Constructor in MissingDataException
Modification - Enum in lsst.gruth.grutils
a when an advice is issued what are the modification by user and automatic comparisons?
Modification.Importance - Enum in lsst.gruth.grutils
modification - Property in AnnotatedReport
nature of modification of the annotation
Modification(Modification.Importance, String, String) - Constructor in Modification
modificationOrigin - Property in AnnotatedReport
who modified
MODIFIED_NEGATIVELY_BY_USER - Enum Constant in Modification
automatic comparison: copied an USER_REGRESSION advice
MODIFIED_POSITIVELY_BY_USER - Enum Constant in Modification
user forced a positive result: copied by automatic comparison

N

neededPreviousReport - Property in AnnotatedReport
in case of regression last correct annotated report.
neededPreviousVersion - Property in AnnotatedReport
in case of regression last correct version (-1 means no prvious correct version kept)
NEUTRAL - Enum Constant in RawDiagnostic
no advice on fail or succeed, just a trace.
next - Property in GroupSpec.Combiner
NODE_BUILD - Enum Constant in Tracer
NODE_CALLS - Enum Constant in Tracer
NODE_EVAL - Enum Constant in Tracer
NODE_MODIF - Enum Constant in Tracer
NodeUtils - Class in lsst.gruth.nodes
@author bamade
NodeUtils() - Constructor in NodeUtils
noEqualsForResult - Property in TztReport
the result object does not have an "equals" method that can be used after serialization/deserialisation
normalizeName() - Method in TztRun
NOT_EVALUATED - Enum Constant in RawDiagnostic
the test was not evaluated .
NOT_YET_IMPLEMENTED - Enum Constant in RawDiagnostic
the resquested class or method is not yet implemented
NULL_PATTERN - Property in GroupSpec

O

obj - Property in UnTaggedObjectException
ObjAndMethodPair - Class in lsst.gruth.grutils
Class for internal use:
ObjAndMethodPair(TaggedObject, def) - Constructor in ObjAndMethodPair
object - Property in TaggedObject
beware if not Serializable this object will dumped on serialization
ObjectFileResultReporter - Class in lsst.gruth.grutils
stores TztReport objects in a file: these objects are in fact encapsulated in serialized AnnotatedReport objects.
ObjectFileResultReporter() - Constructor in ObjectFileResultReporter
OK_DONE_MARK - Enum Constant in RawDiagnostic
not use this is a programmatic mark: values superior to this are considered executed and not failed
OK_MARK - Enum Constant in RawDiagnostic
not used: this is a programmatic mark, values superior to this one are considered to mark a test that did not fail.
OK - Enum Constant in Modification.Importance
ON_HOLD - Enum Constant in Modification
automatic comparison : copied an USER_ON_HOLD advice
ooStreams - Property in ObjectFileResultReporter
OutOfContextException - Class in lsst.gruth.grutils
@author bamade
OutOfContextException(String) - Constructor in OutOfContextException

P

plus(Object) - Method in TaggedsMap
populate(List, int, TztRun) - Method in GroupSpec.Combiner
PossibleConstructorOrSetterProblem - Class in lsst.gruth.grutils
@author bamade
PossibleConstructorOrSetterProblem(String, Throwable, String) - Constructor in PossibleConstructorOrSetterProblem
post(AnnotatedReport) - Method in ResultFormatter
post(AnnotatedReport) - Method in SimpleResultFormatter
POST - Enum Constant in Tracer
postCode - Property in TztRun
pre(AnnotatedReport) - Method in ResultFormatter
pre(AnnotatedReport) - Method in SimpleResultFormatter
PRE - Enum Constant in Tracer
preCode - Property in TztRun
printResultFile - Class in lsst.gruth
printResultFile() - Constructor in printResultFile
progress(AnnotatedReport, int, int) - Method in AnnotatedReport
marks a progress ... in fact does nothing for the moment
put(Object) - Method in TaggedsMap
putAll(Map) - Method in TaggedsMap
to be verified

Q


R

rawArgs - Property in RawTestSpec
RawDiagnostic - Enum in lsst.gruth.grutils
A simple value that summarizes the result of an execution.
rawDiagnostic - Property in TztReport
rawSpecs - Property in GroupSpec
the list of tests specification to be populated
RawTestSpec - Class in lsst.gruth.grutils
this data is created by _test method and modified by its own methods.
RawTestSpec() - Constructor in RawTestSpec
readingCode() - Method in GruGen
readingComment() - Method in GruGen
readObject(ObjectInputStream) - Method in TaggedObject
readObject(ObjectInputStream) - Method in TztReport
registerAssertion(String, boolean, boolean, RawDiagnostic) - Method in TztReport
regression(AnnotatedReport, int, int) - Method in AnnotatedReport
automatic comparison detected a Major regression
report - Property in AnnotatedReport
the original report as created by the test run
report(AnnotatedReport) - Method in ObjectFileResultReporter
report(AnnotatedReport) - Method in ResultReporter
report(AnnotatedReport) - Method in SimpleResultReporter
reportBufferSize - Property in ResultHandlers
no longer used ...
reportBundleName - Property in ResultHandlers
reportException(Throwable, RawDiagnostic) - Method in TztReport
reportException(Throwable, RawDiagnostic) - Method in TztRun
reportTemplate - Property in GroupSpec
a template for the TztReport that will be generated.
result - Property in AssertionReport
RESULT_INDEPENDENT_FORCE_ERROR - Enum Constant in Advice
ERRORS
RESULT_INDEPENDENT_FORCE_SUCCESS - Enum Constant in Advice
Force success
RESULT_INDEPENDENT_POSITIVE - Enum Constant in Advice
OK
ResultFormatter - Interface in lsst.gruth.grutils
@author bamade
ResultHandlers - Class in lsst.gruth.grutils
The handling of reports.
ResultHandlers() - Constructor in ResultHandlers
ResultReporter - Class in lsst.gruth.grutils
@author bamade
ResultReporter() - Constructor in ResultReporter
run() - Method in GroupRun
run() - Method in TztRun
runs the test
running - Property in GruScript
runReportFromGroupMap(String) - Method in GroupRun

S

serialVersionUID - Field in TaggedObject
setAdvice(Advice) - Method in AnnotatedReport
setModification(Modification) - Method in AnnotatedReport
setModificationOrigin(AnnotatedReport.Origin) - Method in AnnotatedReport
setUp - Property in RawTestSpec
code to be run before executing this specific test.
setUpCode - Property in GroupRun
setUpCode - Property in GroupSpec
code to be executed before running all tests in this group
setUserComment(String) - Method in AnnotatedReport
SimpleResultFormatter - Class in lsst.gruth.grutils
@author bamade
SimpleResultFormatter() - Constructor in SimpleResultFormatter
SimpleResultReporter - Class in lsst.gruth.grutils
@author bamade
SimpleResultReporter() - Constructor in SimpleResultReporter
simplifiedNotation - Property in Modification
smallRegression(AnnotatedReport, int, int) - Method in AnnotatedReport
automatic comparison detected a minor regression a "minor regression" happens when diagnostic skips from SUCCESS to NEUTRAL or WARNINGS or from NEUTRAL to WARNINGS
SpecType - Enum in lsst.gruth.grutils
@author bamade
specType - Property in GroupRun
specType - Property in GroupSpec
type of specification. see SpecType.
STATIC_FACTORY - Enum Constant in SpecType
STATIC_METHOD - Enum Constant in SpecType
SUCCESS - Enum Constant in RawDiagnostic
success: expectations met
supportingObject - Property in TztReport
this Object may not be serialised: TaggedObject takes care of that

T

tag(Object) - Method in TaggedObject
tagged - Property in ObjAndMethodPair
TaggedObject - Class in lsst.gruth.grutils
An Object linked to its key.
TaggedObject(Entry) - Constructor in TaggedObject
TaggedsMap - Class in lsst.gruth.grutils
This class is used to store test objects (descriptions, results).
TaggedsMap(Object) - Constructor in TaggedsMap
tearDown - Property in RawTestSpec
code to be run after executing this specific test.
tearDownCode - Property in GroupRun
tearDownCode - Property in GroupSpec
code to be executed after the tests have been run
TEST_BUILD - Enum Constant in Tracer
TEST_EVAL - Enum Constant in Tracer
testName - Property in TztReport
name of test : see _rootName in TztRun
thatClazz - Property in TztRun
the current class
thatExecCode - Property in TztRun
Code to be executed (method, constructor) ( a methodClosure)
tmap - Property in InvokeGroupSpec
TO_BE_CORRECTED_LATER - Enum Constant in Advice
toMyString() - Method in TaggedsMap
TOOL_OR_CODE_ERROR - Enum Constant in RawDiagnostic
the tests specification may be erroneous (or the testing tool itself failed)
topNode - Property in ComponentFactory
toString() - Method in AssertionReport
toString() - Method in MissingDataException
toString() - Method in PossibleConstructorOrSetterProblem
toString() - Method in TaggedObject
toString() - Method in TaggedsMap
toString() - Method in TztReport
toString() - Method in UnTaggedObjectException
TRACE - Property in SimpleResultFormatter
trace(Tracer, Object) - Method in Tracer
traceMask - Property in Tracer
according to the value of 'gruth.traces' this mask is use to pick up the corresponding calls to trace
Tracer - Enum in lsst.gruth.grutils
used to trace execution of gru.
Tracer() - Constructor in Tracer
TztReport - Class in lsst.gruth.grutils
Reports about the execution of a test.
TztReport(String, RawDiagnostic, Object, List) - Constructor in TztReport
TztRun - Class in lsst.gruth.grutils
The final structure describing a test and allowing to run a test.
TztRun(TztReport, Binding, Binding) - Constructor in TztRun

U

UnTaggedObjectException - Class in lsst.gruth.grutils
@author bamade
UnTaggedObjectException(Object) - Constructor in UnTaggedObjectException
USER - Enum Constant in AnnotatedReport.Origin
user modified the annotation
userComment - Property in AnnotatedReport
user added a comment on this test
userModification(Advice) - Method in AnnotatedReport
a user may modify an uncommented Report or a previously commented report (modified automatically) By adding/modifying and advice he/she changes the modification status that is considered no longer automatic
useRootNameOnly - Property in TztRun

V

valueOf(String) - Method in Advice
Returns the enum constant of this type with the specified name.
valueOf(String) - Method in AnnotatedReport
Returns the enum constant of this type with the specified name.
valueOf(String, String) - Method in GArray
valueOf(String) - Method in GList
valueOf(String) - Method in GMap
valueOf(String) - Method in Modification
Returns the enum constant of this type with the specified name.
valueOf(String) - Method in RawDiagnostic
Returns the enum constant of this type with the specified name.
valueOf(String) - Method in SpecType
Returns the enum constant of this type with the specified name.
valueOf(String) - Method in Tracer
Returns the enum constant of this type with the specified name.
values() - Method in Advice
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in AnnotatedReport
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in Modification
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in RawDiagnostic
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in SpecType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in Tracer
Returns an array containing the constants of this enum type, in the order they are declared.

W

WARNING - Enum Constant in Modification.Importance
WARNINGS - Enum Constant in RawDiagnostic
the test succeeded but with warnings
WithStringKey - Interface in lsst.gruth.grutils
Any object that has a String Key can implements this interface
writeObject(ObjectOutputStream) - Method in TaggedObject
writeObject(ObjectOutputStream) - Method in TztReport

X

XPECT - Enum Constant in Tracer

Y


Z


_

_args - Property in TztRun
the arguments to the tests
_argsNames - Property in TztRun
the names of the arguments passed to the test (remember those are tagged)
_className - Property in TztRun
Name of class (duplicated in _report)
_defaultBundle(String) - Method in GruScript
Helps resultReporters to determin a default bundle name for reports (example: a base name for files containing the report)
_doNotReport() - Method in TztReport
_doNotReport() - Method in TztRun
_env - Property in GruScript
the calling environment (not used for the moment)
_export() - Method in GroupRun
_factory(String) - Method in BuildGroupSpec
NOT IMPLEMENTED: specification of test for a static factory
_failIf(String, boolean) - Method in GruScript
Adds an AssertionReport to the current TztRun object: the result is FAILED if the evaluation of the expression is true (the report also contains the message)
_failIf(String, boolean) - Method in TztReport
Adds an AssertionReport to the current object: the result is FAILED if the evaluation of the expression is true (the report also contains the message)
_failIf(String, boolean) - Method in TztRun
Adds an AssertionReport to the current TztReport object: the result is FAILED if the evaluation of the expression is true (the report also contains the message)
_failIfNot(String, boolean) - Method in GruScript
same specs as failIf but fails if false
_failIfNot(String, boolean) - Method in TztReport
same specs as failIf but fails if false
_failIfNot(String, boolean) - Method in TztRun
same specs as failIf but fails if false
_fill(TaggedsMap) - Method in GroupRun
_fill(TaggedsMap) - Method in TztReport
_group(String, Closure) - Method in BuildGroupSpec
prepares a set of test (GroupRun) (for constructors only for the moment)
_group(Closure) - Method in GroupSpec
This method should be abstract : seed docs in subclasses.
_group(String, Closure) - Method in InvokeGroupSpec
prepares a set of test (GroupRun) (for instances method only for the moment -no instance factories-)
_it - Property in TztRun
the current object on which we operate (for methods only)
_LOGGER - Field in Cst
_message(String) - Method in GruScript
adds a message to the report @return
_message(String) - Method in TztReport
_message(String) - Method in TztRun
_method(String, Closure) - Method in InvokeGroupSpec
Enables a simplified syntax: so instead of having _method 'methodName' _group { /test group /} one can specify _method 'methodName' { /test group /}
_methodName - Property in TztRun
name of method ( special name "<build>" for constructors
_monitor(Map) - Method in Gruse
_neutral(String, Closure) - Method in GruScript
Adds an AssertionReport to the current TztRun object: the result is NEUTRAL if the evaluation of the expression is true (the report also contains the message)
_neutral(String, Closure) - Method in TztReport
_neutral(String, Closure) - Method in TztRun
_okIfCaught(Class) - Method in GruScript
Adds an AssertionReport to the current TztRun object: forces the report to be ok if exception of this type is fires.
_okIfCaught(Class) - Method in TztReport
_okIfCaught(Class) - Method in TztRun
_post(Closure) - Method in GroupSpec
code to be run once the tests of a group have been run (kind of teartDown code)
_post(Closure) - Method in RawTestSpec
Code to be executed after each test run in this combination of test described by _test method.
_pre(Closure) - Method in RawTestSpec
Code to be executed before each test run in this combination of test described by _test method.
_prepare() - Method in GroupSpec
Once the _group information has been collected, each _group code should end by calling this method.
_report(String) - Method in GroupRun
_report - Property in TztRun
_reportData(Serializable) - Method in GruScript
used to add some data to the report (does not change the result of the test)
_reportData(Serializable) - Method in TztReport
used to add some data to the report (does not change the result of the test)
_reportData(Serializable) - Method in TztRun
used to add some data to the report (does not change the result of the test)
_result - Property in TztRun
data generated by the call to method or constructor (if any)
_resultHasNoEquals() - Method in TztReport
_rootName - Property in TztRun
This is the root String from which the name ot the test (and of the variable built by constructors and factories) will be tagged.
_run(boolean) - Method in GroupRun
_run(BuildGroupSpec) - Method in GruScript
NOT IMPLEMENTED
_runAll() - Method in GruScript
run all the test still registered in the global "groups" variable and run the reports.
_runReport(String) - Method in GroupRun
_test(Map, Closure) - Method in GroupSpec
Enables a simplified syntax instead of _test map _xpect { / expectations/ } one can write _test map { / expectations/ }
_this - Property in GroupRun
_this - Property in GroupSpec
a copy of the _this global Binding
_this - Property in GruScript
A current binding for all the script.
_this - Property in TztReport
_this - Property in TztRun
_thisG - Property in GroupSpec
A binding specific to this group.
_thisG - Property in TztRun
_thisL - Property in TztRun
local context shared by preCode, postCode and expectations
_vars() - Method in GruScript
_warnIf(String, boolean) - Method in GruScript
Adds an AssertionReport to the current TztRun object: the result is WARNINGS if the evaluation of the expression is true (the report also contains the message)
_warnIf(String, boolean) - Method in TztReport
Adds an AssertionReport to the current object: the result is WARNINGS if the evaluation of the expression is true (the report also contains the message)
_warnIf(String, boolean) - Method in TztRun
Adds an AssertionReport to the current TztReport object: the result is WARNINGS if the evaluation of the expression is true (the report also contains the message)
_warnIfNot(String, boolean) - Method in GruScript
same specs as warnIf but warns if false
_warnIfNot(String, boolean) - Method in TztReport
same specs as warnIf but warns if false
_warnIfNot(String, boolean) - Method in TztRun
same specs as warnIf but warns if false
_withClass(String, Closure) - Method in GruScript
_withObjects(Object) - Method in GruScript
Starts registering tests on tagged objects (instance methods are going to be tested)
_xpect(boolean, Closure) - Method in FreeReport
_xpect(Closure) - Method in RawTestSpec
code that analyses the properties of the calls described by the _test method.
_xport(String, TaggedsMap) - Method in GruScript
same as _vars but these are going to be exported to other tests batch
NOT IMPLEMENTED
TODO: with .gruh files?

Groovy Documentation