| Index: lib/src/suite.dart
|
| diff --git a/lib/src/suite.dart b/lib/src/suite.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..14b576a8c5268c4d7c4c9e045b65f7decf316c57
|
| --- /dev/null
|
| +++ b/lib/src/suite.dart
|
| @@ -0,0 +1,24 @@
|
| +// Copyright (c) 2015, 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.
|
| +
|
| +library unittest.suite;
|
| +
|
| +import 'dart:collection';
|
| +
|
| +import 'test.dart';
|
| +
|
| +/// A test suite.
|
| +///
|
| +/// A test suite is a set of tests that are intended to be run together and that
|
| +/// share default configuration.
|
| +class Suite {
|
| + /// The name of the test suite.
|
| + final String name;
|
| +
|
| + /// The tests in the test suite.
|
| + final List<Test> tests;
|
| +
|
| + Suite(this.name, Iterable<Test> tests)
|
| + : tests = new UnmodifiableListView<Test>(tests.toList());
|
| +}
|
|
|