Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Unified Diff: pkg/intl/test/date_time_format_file_test_stub.dart

Issue 13684003: pkg/intl test cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 80 Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/intl/test/date_time_format_file_test_stub.dart
diff --git a/pkg/intl/test/date_time_format_file_test_stub.dart b/pkg/intl/test/date_time_format_file_test_stub.dart
deleted file mode 100644
index e3868c833d4d7dab46da2b5fd5ba643e5015cf38..0000000000000000000000000000000000000000
--- a/pkg/intl/test/date_time_format_file_test_stub.dart
+++ /dev/null
@@ -1,37 +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.
-
-/**
- * Tests date formatting and parsing using locale data read from the
- * local file system.
- */
-library date_time_format_file_test;
-
-import 'dart:async';
-import 'package:intl/intl.dart';
-import 'package:intl/date_symbol_data_file.dart';
-import 'dart:io';
-import 'date_time_format_test_core.dart';
-import 'data_directory.dart';
-import 'package:unittest/unittest.dart';
-
-runWith([Function getSubset]) {
- // Initialize one locale just so we know what the list is.
- test('Run all date formatting tests with locales from files', () {
- initializeDateFormatting("en_US", dataDirectory).then(
- expectAsync1((_) => runEverything(getSubset)));
- });
-}
-
-void runEverything(Function getSubset) {
- // Initialize all locales sequentially before running tests. Be sure not
- // to do it in parallel or we can run into ulimit problems on fast machines.
- var futureList = Future.forEach(DateFormat.allLocalesWithSymbols(),
- (locale) => initializeDateFormatting(locale, dataDirectory));
-
- test('Run all date formatting tests nested test', () {
- futureList.then(
- expectAsync1((results) => runDateTests(getSubset())));
- });
-}
« no previous file with comments | « pkg/intl/test/date_time_format_file_odd_test.dart ('k') | pkg/intl/test/date_time_format_http_request_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698