Upgrade to the new test runner.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//1230713003 .
diff --git a/.gitignore b/.gitignore
index 388eff0..7dbf035 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
.pub/
build/
packages
+.packages
# Or the files created by dart2js.
*.dart.js
diff --git a/.status b/.status
deleted file mode 100644
index e9f2b00..0000000
--- a/.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/.test_config b/.test_config
new file mode 100644
index 0000000..412fc5c
--- /dev/null
+++ b/.test_config
@@ -0,0 +1,3 @@
+{
+ "test_package": true
+}
\ No newline at end of file
diff --git a/pubspec.yaml b/pubspec.yaml
index bedc1e3..31c0b50 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: oauth2
-version: 0.9.3
+version: 0.9.4-dev
author: Dart Team <misc@dartlang.org>
homepage: http://github.com/dart-lang/oauth2
description: >
@@ -12,4 +12,4 @@
http: '>=0.11.0 <0.12.0'
http_parser: '>=0.0.0 <0.1.0'
dev_dependencies:
- unittest: '>=0.9.0 <0.11.0'
+ test: '>=0.12.0 <0.13.0'
diff --git a/test/authorization_code_grant_test.dart b/test/authorization_code_grant_test.dart
index 2c3265e..24ff59c 100644
--- a/test/authorization_code_grant_test.dart
+++ b/test/authorization_code_grant_test.dart
@@ -7,7 +7,7 @@
import 'dart:async';
import 'dart:convert';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
import 'package:http/http.dart' as http;
import 'package:oauth2/oauth2.dart' as oauth2;
diff --git a/test/client_test.dart b/test/client_test.dart
index ad552c0..11a3bf8 100644
--- a/test/client_test.dart
+++ b/test/client_test.dart
@@ -9,7 +9,7 @@
import 'package:http/http.dart' as http;
import 'package:oauth2/oauth2.dart' as oauth2;
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
import 'utils.dart';
diff --git a/test/credentials_test.dart b/test/credentials_test.dart
index 2ce9ec4..94b5445 100644
--- a/test/credentials_test.dart
+++ b/test/credentials_test.dart
@@ -9,7 +9,7 @@
import 'package:http/http.dart' as http;
import 'package:oauth2/oauth2.dart' as oauth2;
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
import 'utils.dart';
diff --git a/test/handle_access_token_response_test.dart b/test/handle_access_token_response_test.dart
index d97ef38..4d82262 100644
--- a/test/handle_access_token_response_test.dart
+++ b/test/handle_access_token_response_test.dart
@@ -9,7 +9,7 @@
import 'package:http/http.dart' as http;
import 'package:oauth2/oauth2.dart' as oauth2;
import 'package:oauth2/src/handle_access_token_response.dart';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
import 'utils.dart';
diff --git a/test/utils.dart b/test/utils.dart
index fddcd37..bee6bf3 100644
--- a/test/utils.dart
+++ b/test/utils.dart
@@ -10,7 +10,7 @@
import 'package:http/http.dart' as http;
import 'package:http/testing.dart';
import 'package:oauth2/oauth2.dart' as oauth2;
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
class ExpectClient extends MockClient {
final Queue<MockClientHandler> _handlers;
diff --git a/test/utils_test.dart b/test/utils_test.dart
index 145e99b..0dd0348 100644
--- a/test/utils_test.dart
+++ b/test/utils_test.dart
@@ -5,7 +5,7 @@
library utils_test;
import 'package:oauth2/src/utils.dart';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
void main() {
group('AuthenticateHeader', () {