Describes a test, or a group of tests, can be arranged in a tree.
no subtypes hierarchy
Constructors | |
TestDescription | Source Codeshared TestDescription(String name, FunctionDeclaration? functionDeclaration = null, ClassDeclaration? classDeclaration = null, TestDescription[] children = []) Default constructor. Parameters:
|
Attributes | |
children | Source Codeshared TestDescription[] children The children of this test, if any. |
classDeclaration | Source Codeshared ClassDeclaration? classDeclaration The class declaration, which is container of this test, if one exists. |
functionDeclaration | Source Codeshared FunctionDeclaration? functionDeclaration The function declaration of this test, if one exists. |
hash | Source Codeshared actual Integer hash The hash value of the value, which allows the value to be an element of a hash-based set or key of a hash-based map. Implementations must respect the constraint that:
Therefore, a class which refines In general, Note that when executing on a Java Virtual Machine, the
64-bit |
name | Source Codeshared String name The user friendly name of this test. |
string | Source Codeshared actual String string A developer-friendly string representing the instance.
Concatenates the name of the concrete class of the
instance with the Refines Object.string |
variant | Source Codeshared String? variant The description of test variant in case, when test is executed multiple times, eg. with different argument values. |
variantIndex | Source Codeshared Integer? variantIndex The index of test variant in case, when test is executed multiple times, eg. with different argument values. |
Inherited Attributes |
Attributes inherited from: Object |
Methods | |
equals | Source Codeshared actual Boolean equals(Object that) Determine if two values are equal. For any two non-null objects x == y Implementations should respect the constraints that:
Furthermore it is recommended that implementations
ensure that if A class which explicitly refines Note that an implementation of |
forVariant | Source Codeshared TestDescription forVariant(String variant, Integer variantIndex) Returns new description, derived from this one with specified variant. |
Inherited Methods |
Methods inherited from: Object |