MovaTestStep.error constructor

const MovaTestStep.error(
  1. Object error, {
  2. Duration after = Duration.zero,
})

在 after 后推送内核 error,返回失败步骤;分类沿用真实播放器规则。 示例:MovaTestStep.error('Failed to open file')。

Implementation

const MovaTestStep.error(Object error, {Duration after = Duration.zero})
  : this._(_Signal.error, after: after, error: error);