TestGroup class
A group containing test cases. The group's ID is unique in the context of this test run. It's used elsewhere in the protocol to refer to this group without including its full representation.
- Annotations
-
- @JsonSerializable()
Constructors
- TestGroup({required int id, required String name, required int suiteID, int? parentID, required int testCount, int? line, int? column, String? url, required TestMetadata metadata})
-
A group containing test cases.
The group's ID is unique in the context of this test run.
It's used elsewhere in the protocol to refer to this group
without including its full representation.
const
-
TestGroup.fromJson(Map<
String, dynamic> json) -
A group containing test cases.
The group's ID is unique in the context of this test run.
It's used elsewhere in the protocol to refer to this group
without including its full representation.
factory
Properties
- column → int?
-
The (1-based) column on which the group was defined, or
null
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
An opaque ID for the group.
final
- line → int?
-
The (1-based) line on which the group was defined, or
null
.final - metadata → TestMetadata
-
This field is deprecated and should not be used.
final
- name → String
-
The name of the group, including prefixes from any containing groups.
final
- parentID → int?
-
The ID of the group's parent group, unless it's the root group.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suiteID → int
-
The ID of the suite containing this group.
final
- testCount → int
-
The number of tests (recursively) within this group.
final
- url → String?
-
The URL for the file in which the group was defined, or
null
.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited