OLD | NEW |
| (Empty) |
1 #!/usr/bin/env dart | |
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 | |
4 // BSD-style license that can be found in the LICENSE file. | |
5 | |
6 #library("string_encoding_run_tests"); | |
7 #import("dunit.dart"); | |
8 #import("unicode_tests.dart", prefix: "u"); | |
9 #import("unicode_core_tests.dart", prefix: "uc"); | |
10 #import("utf16_tests.dart", prefix: "utf16"); | |
11 #import("utf32_tests.dart", prefix: "utf32"); | |
12 #import("utf8_tests.dart", prefix: "utf8"); | |
13 | |
14 void main() { | |
15 TestSuite suite = new TestSuite(); | |
16 registerTests(suite); | |
17 suite.run(); | |
18 } | |
19 | |
20 void registerTests(TestSuite suite) { | |
21 suite.registerTestClass(new u.UnicodeTests()); | |
22 suite.registerTestClass(new uc.UnicodeCoreTests()); | |
23 suite.registerTestClass(new utf16.Utf16Tests()); | |
24 suite.registerTestClass(new utf32.Utf32Tests()); | |
25 suite.registerTestClass(new utf8.Utf8Tests()); | |
26 } | |
OLD | NEW |