2 *******************************************************************************
\r
3 * Copyright (c) 2004-2010, International Business Machines
\r
4 * Corporation and others. All Rights Reserved.
\r
5 * Copyright (C) 2010 , Yahoo! Inc.
\r
6 *******************************************************************************
\r
8 package com.ibm.icu.dev.test.format;
\r
10 import com.ibm.icu.dev.test.TestFmwk.TestGroup;
\r
13 * Top level test used to run all other tests as a batch.
\r
16 public class TestAll extends TestGroup {
\r
18 public static void main(String[] args) {
\r
19 new TestAll().run(args);
\r
23 super(new String[] {
\r
25 "TestAll$NumberFormat",
\r
26 "TestAll$DateFormat",
\r
27 "TestAll$DateIntervalFormat",
\r
28 "TestAll$TimeUnitFormat",
\r
29 "com.ibm.icu.dev.test.format.BigNumberFormatTest",
\r
30 "DataDrivenFormatTest",
\r
31 "TestAll$PluralFormat",
\r
32 "TestAll$MessageFormat",
\r
33 "TestAll$SelectFormat"
\r
35 "Formatting Tests");
\r
38 public static class RBNF extends TestGroup {
\r
40 super(new String[] {
\r
42 "RbnfRoundTripTest",
\r
48 public static class NumberFormat extends TestGroup {
\r
49 public NumberFormat() {
\r
50 super(new String[] {
\r
51 "IntlTestNumberFormat",
\r
52 "IntlTestNumberFormatAPI",
\r
54 "NumberFormatRegistrationTest",
\r
55 "NumberFormatRoundTripTest",
\r
57 "NumberFormatRegressionTest",
\r
58 "IntlTestDecimalFormatAPI",
\r
59 "IntlTestDecimalFormatAPIC",
\r
60 "IntlTestDecimalFormatSymbols",
\r
61 "IntlTestDecimalFormatSymbolsC",
\r
66 public static class DateFormat extends TestGroup {
\r
67 public DateFormat() {
\r
68 super(new String[] {
\r
69 "DateFormatMiscTests",
\r
70 "DateFormatRegressionTest",
\r
71 "DateFormatRoundTripTest",
\r
73 "IntlTestDateFormat",
\r
74 "IntlTestDateFormatAPI",
\r
75 "IntlTestDateFormatAPIC",
\r
76 "IntlTestDateFormatSymbols",
\r
77 "DateTimeGeneratorTest",
\r
78 "IntlTestSimpleDateFormatAPI",
\r
79 "DateFormatRegressionTestJ",
\r
80 "TimeZoneFormatTest"
\r
85 public static class DateIntervalFormat extends TestGroup {
\r
86 public DateIntervalFormat() {
\r
87 super(new String[] {
\r
88 "DateIntervalFormatTest"
\r
93 public static class TimeUnitFormat extends TestGroup {
\r
94 public TimeUnitFormat() {
\r
95 super(new String[] {
\r
101 public static class PluralFormat extends TestGroup {
\r
102 public PluralFormat() {
\r
103 super(new String[] {
\r
104 "PluralFormatUnitTest",
\r
105 "PluralFormatTest",
\r
111 public static class SelectFormat extends TestGroup {
\r
112 public SelectFormat() {
\r
113 super(new String[] {
\r
114 "SelectFormatUnitTest",
\r
115 "SelectFormatAPITest",
\r
120 public static class MessageFormat extends TestGroup {
\r
121 public MessageFormat() {
\r
122 super(new String[] {
\r
123 "TestMessageFormat",
\r
124 "MessageRegression",
\r
129 public static final String CLASS_TARGET_NAME = "Format";
\r