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

Side by Side Diff: utils/tests/string_encoding/run_test.dart

Issue 11358145: Update utils to new library syntax. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env dart 1 #!/usr/bin/env dart
2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a 3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file. 4 // BSD-style license that can be found in the LICENSE file.
5 5
6 #library("string_encoding_run_tests"); 6 library string_encoding_run_tests;
7 #import("dunit.dart"); 7 import 'dunit.dart';
8 #import("unicode_test.dart", prefix: "u"); 8 import 'unicode_test.dart' as u;
9 #import("unicode_core_test.dart", prefix: "uc"); 9 import 'unicode_core_test.dart' as uc;
10 #import("utf16_test.dart", prefix: "utf16"); 10 import 'utf16_test.dart' as utf16;
11 #import("utf32_test.dart", prefix: "utf32"); 11 import 'utf32_test.dart' as utf32;
12 #import("utf8_test.dart", prefix: "utf8"); 12 import 'utf8_test.dart' as utf8;
13 13
14 void main() { 14 void main() {
15 TestSuite suite = new TestSuite(); 15 TestSuite suite = new TestSuite();
16 registerTests(suite); 16 registerTests(suite);
17 suite.run(); 17 suite.run();
18 } 18 }
19 19
20 void registerTests(TestSuite suite) { 20 void registerTests(TestSuite suite) {
21 suite.registerTestClass(new u.UnicodeTests()); 21 suite.registerTestClass(new u.UnicodeTests());
22 suite.registerTestClass(new uc.UnicodeCoreTests()); 22 suite.registerTestClass(new uc.UnicodeCoreTests());
23 suite.registerTestClass(new utf16.Utf16Tests()); 23 suite.registerTestClass(new utf16.Utf16Tests());
24 suite.registerTestClass(new utf32.Utf32Tests()); 24 suite.registerTestClass(new utf32.Utf32Tests());
25 suite.registerTestClass(new utf8.Utf8Tests()); 25 suite.registerTestClass(new utf8.Utf8Tests());
26 } 26 }
OLDNEW
« no previous file with comments | « utils/tests/string_encoding/dunit.dart ('k') | utils/tests/string_encoding/unicode_core_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698