Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/usr/bin/env dart | |
| 2 // Copyright (c) 2011, 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_RunTests"); | |
| 7 #import("DUnit.dart"); | |
| 8 #import("UnicodeTests.dart", prefix: "u"); | |
| 9 #import("UnicodeCoreTests.dart", prefix: "uc"); | |
| 10 #import("Utf16Tests.dart", prefix: "utf16"); | |
| 11 #import("Utf32Tests.dart", prefix: "utf32"); | |
| 12 #import("Utf8Tests.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) { | |
|
jat
2012/01/31 15:19:22
Is there really any value in separating this out o
dcarlson
2012/01/31 22:11:38
Perhaps -- the intention was to easily group tests
| |
| 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 |