]> gitweb.fperrin.net Git - Dictionary.git/blob - jars/icu4j-52_1/main/tests/core/src/com/ibm/icu/dev/test/format/TestAll.java
Upgrade ICU4J.
[Dictionary.git] / jars / icu4j-52_1 / main / tests / core / src / com / ibm / icu / dev / test / format / TestAll.java
1 /*
2  *******************************************************************************
3  * Copyright (c) 2004-2012, International Business Machines
4  * Corporation and others.  All Rights Reserved.
5  * Copyright (C) 2010 , Yahoo! Inc.                                            
6  *******************************************************************************
7  */
8 package com.ibm.icu.dev.test.format;
9
10 import com.ibm.icu.dev.test.TestFmwk.TestGroup;
11
12 /**
13  * Top level test used to run all other tests as a batch.
14  */
15
16 public class TestAll extends TestGroup {
17
18     public static void main(String[] args) {
19         new TestAll().run(args);
20     }
21
22     public TestAll() {
23         super(new String[] {
24                   "TestAll$RBNF",
25                   "TestAll$NumberFormat",
26                   "TestAll$DateFormat",
27                   "TestAll$DateIntervalFormat",
28                   "TestAll$TimeUnitFormat",
29                   "com.ibm.icu.dev.test.format.BigNumberFormatTest",
30                   "DataDrivenFormatTest",
31                   "ListFormatterTest",
32                   "TestAll$PluralFormat",
33                   "TestAll$MessageFormat",
34                   "TestAll$SelectFormat"
35               },
36               "Formatting Tests");
37     }
38
39     public static class RBNF extends TestGroup {
40         public RBNF() {
41             super(new String[] {
42                 "RbnfTest",
43                 "RbnfRoundTripTest",
44                 "RBNFParseTest",
45             });
46         }
47     }
48
49     public static class NumberFormat extends TestGroup {
50         public NumberFormat() {
51             super(new String[] {
52                 "CompactDecimalFormatTest",
53                 "IntlTestNumberFormat",
54                 "IntlTestNumberFormatAPI",
55                 "NumberFormatTest",
56                 "NumberFormatRegistrationTest",
57                 "NumberFormatRoundTripTest",
58                 "NumberRegression",
59                 "NumberFormatRegressionTest",
60                 "IntlTestDecimalFormatAPI",
61                 "IntlTestDecimalFormatAPIC",
62                 "IntlTestDecimalFormatSymbols",
63                 "IntlTestDecimalFormatSymbolsC",
64             });
65         }
66     }
67
68     public static class DateFormat extends TestGroup {
69         public DateFormat() {
70             super(new String[] {
71                 "DateFormatMiscTests",
72                 "DateFormatRegressionTest",
73                 "DateFormatRoundTripTest",
74                 "DateFormatTest",
75                 "IntlTestDateFormat",
76                 "IntlTestDateFormatAPI",
77                 "IntlTestDateFormatAPIC",
78                 "IntlTestDateFormatSymbols",
79                 "DateTimeGeneratorTest",
80                 "IntlTestSimpleDateFormatAPI",
81                 "DateFormatRegressionTestJ",
82                 "TimeZoneFormatTest"
83             });
84         }
85     }
86     
87     public static class DateIntervalFormat extends TestGroup {
88         public DateIntervalFormat() {
89             super(new String[] {
90                 "DateIntervalFormatTest"
91             });
92         }
93     }
94     
95     public static class TimeUnitFormat extends TestGroup {
96         public TimeUnitFormat() {
97             super(new String[] {
98                 "TimeUnitTest"
99             });
100         }
101     }
102     
103     public static class PluralFormat extends TestGroup {
104         public PluralFormat() {
105             super(new String[] {
106                 "PluralFormatUnitTest",
107                 "PluralFormatTest",
108                 "PluralRulesTest",
109             });
110         }
111     }
112
113     public static class SelectFormat extends TestGroup {
114         public SelectFormat() {
115             super(new String[] {
116                 "SelectFormatUnitTest",
117                 "SelectFormatAPITest",
118             });
119         }
120     }
121
122     public static class MessageFormat extends TestGroup {
123         public MessageFormat() {
124             super(new String[] {
125                 "TestMessageFormat",
126                 "MessageRegression",
127                 "MessagePatternUtilTest",
128             });
129         }
130     }
131
132     public static final String CLASS_TARGET_NAME = "Format";
133 }