Upgrade to the new test runner.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//1236933005 .
diff --git a/pkgs/yaml/.gitignore b/pkgs/yaml/.gitignore
index 388eff0..7dbf035 100644
--- a/pkgs/yaml/.gitignore
+++ b/pkgs/yaml/.gitignore
@@ -3,6 +3,7 @@
.pub/
build/
packages
+.packages
# Or the files created by dart2js.
*.dart.js
diff --git a/pkgs/yaml/.status b/pkgs/yaml/.status
deleted file mode 100644
index e9f2b00..0000000
--- a/pkgs/yaml/.status
+++ /dev/null
@@ -1,3 +0,0 @@
-# Copyright (c) 2014, 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.
diff --git a/pkgs/yaml/.test_config b/pkgs/yaml/.test_config
new file mode 100644
index 0000000..412fc5c
--- /dev/null
+++ b/pkgs/yaml/.test_config
@@ -0,0 +1,3 @@
+{
+ "test_package": true
+}
\ No newline at end of file
diff --git a/pkgs/yaml/pubspec.yaml b/pkgs/yaml/pubspec.yaml
index d00d31f..a25faa6 100644
--- a/pkgs/yaml/pubspec.yaml
+++ b/pkgs/yaml/pubspec.yaml
@@ -1,5 +1,5 @@
name: yaml
-version: 2.1.3
+version: 2.1.4-dev
author: "Dart Team <misc@dartlang.org>"
homepage: https://github.com/dart-lang/yaml
description: A parser for YAML.
@@ -9,6 +9,6 @@
string_scanner: ">=0.1.3 <0.2.0"
source_span: ">=1.0.0 <2.0.0"
dev_dependencies:
- unittest: ">=0.9.0 <0.12.0"
+ test: ">=0.12.0 <0.13.0"
environment:
sdk: '>=1.5.0 <2.0.0'
diff --git a/pkgs/yaml/test/utils.dart b/pkgs/yaml/test/utils.dart
index 9c96ec1..a2d2019 100644
--- a/pkgs/yaml/test/utils.dart
+++ b/pkgs/yaml/test/utils.dart
@@ -4,7 +4,7 @@
library yaml.test.utils;
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
import 'package:yaml/src/equality.dart' as equality;
import 'package:yaml/yaml.dart';
diff --git a/pkgs/yaml/test/yaml_node_wrapper_test.dart b/pkgs/yaml/test/yaml_node_wrapper_test.dart
index 2c41a6a..b76a73b 100644
--- a/pkgs/yaml/test/yaml_node_wrapper_test.dart
+++ b/pkgs/yaml/test/yaml_node_wrapper_test.dart
@@ -5,7 +5,7 @@
library yaml.node_wrapper_test;
import 'package:source_span/source_span.dart';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
import 'package:yaml/yaml.dart';
main() {
diff --git a/pkgs/yaml/test/yaml_test.dart b/pkgs/yaml/test/yaml_test.dart
index 2d9a0e8..8091dc5 100644
--- a/pkgs/yaml/test/yaml_test.dart
+++ b/pkgs/yaml/test/yaml_test.dart
@@ -4,7 +4,7 @@
library yaml.test;
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
import 'package:yaml/yaml.dart';
import 'utils.dart';