Files
sdk/utils/tests/string_encoding/run_tests.dart
T

27 lines
917 B
Dart
Executable File

#!/usr/bin/env dart
// Copyright (c) 2012, 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_run_tests");
#import("dunit.dart");
#import("unicode_tests.dart", prefix: "u");
#import("unicode_core_tests.dart", prefix: "uc");
#import("utf16_tests.dart", prefix: "utf16");
#import("utf32_tests.dart", prefix: "utf32");
#import("utf8_tests.dart", prefix: "utf8");
void main() {
TestSuite suite = new TestSuite();
registerTests(suite);
suite.run();
}
void registerTests(TestSuite suite) {
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());
}