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

Unified Diff: utils/tests/string_encoding/RunTests.dart

Issue 9233041: String encoding utility methods and tests for Unicode, UTF-8, -16 and -32. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: String encoding utility methods and tests for Unicode, UTF-8, -16 and -32. Created 8 years, 11 months 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 side-by-side diff with in-line comments
Download patch
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());
+}

Powered by Google App Engine
This is Rietveld 408576698