| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /// Tests date formatting and parsing using locale data read from the |
| 6 * Tests date formatting and parsing using locale data read from the | 6 /// local file system. This tests one half the locales, since testing all |
| 7 * local file system. This tests one half the locales, since testing all | 7 /// of them takes long enough that it may cause timeouts in the test bots. |
| 8 * of them takes long enough that it may cause timeouts in the test bots. | |
| 9 */ | |
| 10 | 8 |
| 9 @Timeout(const Duration(seconds: 60)) |
| 11 library date_time_format_file_test_1; | 10 library date_time_format_file_test_1; |
| 12 | 11 |
| 13 import 'date_time_format_test_stub.dart'; | 12 import 'date_time_format_test_stub.dart'; |
| 14 import 'data_directory.dart'; | 13 import 'data_directory.dart'; |
| 15 import 'package:intl/date_symbol_data_file.dart'; | 14 import 'package:intl/date_symbol_data_file.dart'; |
| 16 import 'package:unittest/unittest.dart'; | 15 import 'package:test/test.dart'; |
| 17 | 16 |
| 18 main() { | 17 main() { |
| 19 unittestConfiguration.timeout = new Duration(seconds: 60); | |
| 20 runWith(oddLocales, dataDirectory, initializeDateFormatting); | 18 runWith(oddLocales, dataDirectory, initializeDateFormatting); |
| 21 } | 19 } |
| OLD | NEW |