Index: pkg/intl/test/date_time_format_local_test_stub.dart |
diff --git a/pkg/intl/test/date_time_format_local_test_stub.dart b/pkg/intl/test/date_time_format_local_test_stub.dart |
deleted file mode 100644 |
index 1b9bfc26e1714d51a343996190e63f6b397316ec..0000000000000000000000000000000000000000 |
--- a/pkg/intl/test/date_time_format_local_test_stub.dart |
+++ /dev/null |
@@ -1,32 +0,0 @@ |
-// Copyright (c) 2012, 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. |
- |
-/** |
- * 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:intl/intl.dart'; |
-import 'package:intl/date_time_patterns.dart'; |
-import 'package:intl/date_symbol_data_local.dart'; |
-import 'date_time_format_test_core.dart'; |
- |
-runWith([Function getSubset]) { |
- // Initialize one locale just so we know what the list is. |
- // Also, note that we take the list of locales as a function so that we don't |
- // evaluate it until after we know that all the locales are available. |
- initializeDateFormatting("en_US",null).then( |
- (_) => runEverything(getSubset)); |
-} |
- |
-void runEverything(Function getSubset) { |
- // Initialize all locales and wait for them to finish before running tests. |
- var futures = DateFormat.allLocalesWithSymbols() |
- .map((locale) => initializeDateFormatting(locale, null)) |
- .toList(); |
- Future.wait(futures).then((results) => runDateTests(getSubset())); |
-} |