| OLD | NEW | 
|---|
| 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_tests.dart", prefix: "u"); | 8 #import("unicode_test.dart", prefix: "u"); | 
| 9 #import("unicode_core_tests.dart", prefix: "uc"); | 9 #import("unicode_core_test.dart", prefix: "uc"); | 
| 10 #import("utf16_tests.dart", prefix: "utf16"); | 10 #import("utf16_test.dart", prefix: "utf16"); | 
| 11 #import("utf32_tests.dart", prefix: "utf32"); | 11 #import("utf32_test.dart", prefix: "utf32"); | 
| 12 #import("utf8_tests.dart", prefix: "utf8"); | 12 #import("utf8_test.dart", prefix: "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 } | 
| OLD | NEW | 
|---|