trphoenix
2018-11-12 29fbfc5dd1d55d189f23eb6d32f000252f92985f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2018, the Dart project authors.  Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
 
class ShouldThrow {
  final String errorMessage;
  final String todo;
  const ShouldThrow(this.errorMessage, [this.todo]);
}
 
class ShouldGenerate {
  final String expectedOutput;
  final String expectedWrappedOutput;
  final bool contains;
  final List<String> expectedLogItems;
  final bool checked;
  const ShouldGenerate(this.expectedOutput,
      {this.expectedWrappedOutput,
      this.contains = false,
      this.expectedLogItems = const [],
      this.checked = false});
}