TestRun class
Constructors
-
TestRun({int? assignedtoId, int? blockedCount, DateTime? completedOn, String? config, List<
int> ? configIds, int? createdBy, DateTime? createdOn, int? customStatus1Count, int? customStatus2Count, int? customStatus3Count, int? customStatus4Count, int? customStatus5Count, int? customStatus6Count, int? customStatus7Count, String? description, int? failedCount, required int id, bool? includeAll, bool? isCompleted, int? milestoneId, String? name, int? passedCount, int? planId, int? projectId, String? refs, int? retestCount, int? suiteId, int? untestedCount, DateTime? updatedOn, String? url}) -
TestRun.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
asJson
→ Map<
String, dynamic> -
no setter
- assignedtoId → int?
-
final
- blockedCount → int?
-
final
- completedOn → DateTime?
-
final
- config → String?
-
final
-
configIds
→ List<
int> ? -
final
- createdBy → int?
-
final
- createdOn → DateTime?
-
final
- customStatus1Count → int?
-
final
- customStatus2Count → int?
-
final
- customStatus3Count → int?
-
final
- customStatus4Count → int?
-
final
- customStatus5Count → int?
-
final
- customStatus6Count → int?
-
final
- customStatus7Count → int?
-
final
- description → String?
-
final
- failedCount → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- includeAll → bool?
-
final
- isCompleted → bool?
-
final
- milestoneId → int?
-
final
- name → String?
-
final
- passedCount → int?
-
final
- planId → int?
-
final
- projectId → int?
-
final
- refs → String?
-
final
- retestCount → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suiteId → int?
-
final
- untestedCount → int?
-
final
- updatedOn → DateTime?
-
final
- url → String?
-
final
Methods
-
addResultForCase(
int caseId, {String? comment, String? elapsed, required int statusId}) → Future< TestResult> -
addResultsForCases(
List< TestStatus> testStatusResults) → Future<void> -
close(
) → Future< TestRun> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
{required Iterable< int> caseIds, bool includeAll = false}) → Future<TestRun>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
{Iterable< int> ? caseIds, String? description, bool includeAll = false, required String name, required int projectId}) → Future<TestRun> -
get(
int runId) → Future< TestRun> -
getAll(
{required int projectId, DateTime? createdAfter, DateTime? createdBefore, Iterable< int> ? createdBy, bool? isCompleted, int? limit, int? offset, Iterable<int> ? milestoneId, String? refsFilter, Iterable<int> ? suiteId}) → Future<TestRuns>