TestRunProfile constructor
TestRunProfile({})
Implementation
factory TestRunProfile({
_i2.String? label,
_i3.TestRunProfileKind? kind,
_i2.bool? isDefault,
_i2.bool? supportsContinuousRun,
_i3.TestTag? tag,
void Function()? configureHandler,
_i4.FutureOr<void> Function(
_i3.TestRunRequest,
_i3.CancellationToken,
)? runHandler,
void Function()? dispose,
}) =>
TestRunProfile._(
label: label,
kind: kind?.name,
isDefault: isDefault,
supportsContinuousRun: supportsContinuousRun,
tag: tag ?? _i6.undefined,
configureHandler: configureHandler == null
? _i6.undefined
: _i5.allowInterop(configureHandler),
runHandler: runHandler == null
? null
: _i5.allowInterop((
p0,
p1,
) =>
_i6.Promise.futureOr(() => runHandler(
p0,
p1,
))),
dispose: dispose == null ? null : _i5.allowInterop(dispose),
);