Chromium Code Reviews| Index: utils/tests/string_encoding/RunTests.dart |
| diff --git a/utils/tests/string_encoding/RunTests.dart b/utils/tests/string_encoding/RunTests.dart |
| new file mode 100755 |
| index 0000000000000000000000000000000000000000..5809b3900b4a6ff64c3e49ecf9e24a3a410da2b2 |
| --- /dev/null |
| +++ b/utils/tests/string_encoding/RunTests.dart |
| @@ -0,0 +1,26 @@ |
| +#!/usr/bin/env dart |
| +// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| +// for details. All rights reserved. Use of this source code is governed by a |
| +// BSD-style license that can be found in the LICENSE file. |
| + |
| +#library("string_encoding_RunTests"); |
| +#import("DUnit.dart"); |
| +#import("UnicodeTests.dart", prefix: "u"); |
| +#import("UnicodeCoreTests.dart", prefix: "uc"); |
| +#import("Utf16Tests.dart", prefix: "utf16"); |
| +#import("Utf32Tests.dart", prefix: "utf32"); |
| +#import("Utf8Tests.dart", prefix: "utf8"); |
| + |
| +void main() { |
| + TestSuite suite = new TestSuite(); |
| + registerTests(suite); |
| + suite.run(); |
| +} |
| + |
| +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
|
| + suite.registerTestClass(new u.UnicodeTests()); |
| + suite.registerTestClass(new uc.UnicodeCoreTests()); |
| + suite.registerTestClass(new utf16.Utf16Tests()); |
| + suite.registerTestClass(new utf32.Utf32Tests()); |
| + suite.registerTestClass(new utf8.Utf8Tests()); |
| +} |