Index: packages/intl/test/date_time_format_test_stub.dart |
diff --git a/packages/intl/test/date_time_format_test_stub.dart b/packages/intl/test/date_time_format_test_stub.dart |
index e8141f65edf7c1d77cb93655139a9b0eec8933b1..b6c3f9da2bfd05df35736456c797b4fdd2e13891 100644 |
--- a/packages/intl/test/date_time_format_test_stub.dart |
+++ b/packages/intl/test/date_time_format_test_stub.dart |
@@ -2,15 +2,13 @@ |
// 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. |
-/** |
- * Test date formatting and parsing using locale data which is available |
- * directly in the program as a constant. |
- */ |
+/// Test date formatting and parsing using locale data which is available |
+/// directly in the program as a constant. |
library date_time_format_test; |
import 'dart:async'; |
-import 'package:unittest/unittest.dart'; |
+import 'package:test/test.dart'; |
import 'package:intl/intl.dart'; |
import 'date_time_format_test_core.dart'; |
@@ -18,26 +16,20 @@ typedef List<String> TestListFunc(); |
typedef Future InitializeDateFormattingFunc(String locale, String filePath); |
-/** |
- * Return only the odd-numbered locales. A simple way to divide the list into |
- * two roughly equal parts. |
- */ |
+/// Return only the odd-numbered locales. A simple way to divide the list into |
+/// two roughly equal parts. |
List<String> oddLocales() { |
int i = 1; |
return allLocales().where((x) => (i++).isOdd).toList(); |
} |
-/** |
- * Return a set of a few locales to run just the tests on a small sample. |
- */ |
-List smallSetOfLocales() { |
+/// Return a set of a few locales to run just the tests on a small sample. |
+List<String> smallSetOfLocales() { |
return allLocales().sublist(0, 10); |
} |
-/** |
- * Return only the even-numbered locales. A simple way to divide the list into |
- * two roughly equal parts. |
- */ |
+/// Return only the even-numbered locales. A simple way to divide the list into |
+/// two roughly equal parts. |
List<String> evenLocales() { |
int i = 1; |
return allLocales().where((x) => !((i++).isOdd)).toList(); |