TestRun constructor
TestRun({
- String? name,
- CancellationToken? token,
- bool? isPersisted,
- void enqueued()?,
- void started()?,
- void skipped()?,
- void failed(])?,
- void errored(])?,
- void passed(])?,
- void appendOutput(])?,
- void end()?,
Implementation
factory TestRun({
_i2.String? name,
_i3.CancellationToken? token,
_i2.bool? isPersisted,
void Function(_i3.TestItem)? enqueued,
void Function(_i3.TestItem)? started,
void Function(_i3.TestItem)? skipped,
void Function(
_i3.TestItem,
_i2.Object, [
_i2.num?,
])? failed,
void Function(
_i3.TestItem,
_i2.Object, [
_i2.num?,
])? errored,
void Function(
_i3.TestItem, [
_i2.num?,
])? passed,
void Function(
_i2.String, [
_i3.Location?,
_i3.TestItem?,
])? appendOutput,
void Function()? end,
}) =>
TestRun._(
name: name ?? _i6.undefined,
token: token ?? _i6.undefined,
isPersisted: isPersisted,
enqueued: enqueued == null ? null : _i5.allowInterop(enqueued),
started: started == null ? null : _i5.allowInterop(started),
skipped: skipped == null ? null : _i5.allowInterop(skipped),
failed: failed == null ? null : _i5.allowInterop(failed),
errored: errored == null ? null : _i5.allowInterop(errored),
passed: passed == null ? null : _i5.allowInterop(passed),
appendOutput:
appendOutput == null ? null : _i5.allowInterop(appendOutput),
end: end == null ? null : _i5.allowInterop(end),
);