Test constructor

Test(
  1. String name,
  2. int duration,
  3. String? skipReason,
  4. Iterable<Problem> problems,
  5. Iterable<String> prints,
  6. bool isHidden,
)

Creates a Test with the given name, duration, skipReason, problems, prints and isHidden.

Implementation

Test(this.name, this.duration, this.skipReason, Iterable<Problem> problems,
    Iterable<String> prints, this.isHidden)
    : problems = List.unmodifiable(problems),
      prints = List.unmodifiable(prints);