]> gitweb.fperrin.net Git - Dictionary.git/blob - jars/icu4j-4_4_2-src/main/tests/core/src/com/ibm/icu/dev/test/format/TestAll.java
go
[Dictionary.git] / jars / icu4j-4_4_2-src / main / tests / core / src / com / ibm / icu / dev / test / format / TestAll.java
1 /*\r
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
7  */\r
8 package com.ibm.icu.dev.test.format;\r
9 \r
10 import com.ibm.icu.dev.test.TestFmwk.TestGroup;\r
11 \r
12 /**\r
13  * Top level test used to run all other tests as a batch.\r
14  */\r
15 \r
16 public class TestAll extends TestGroup {\r
17 \r
18     public static void main(String[] args) {\r
19         new TestAll().run(args);\r
20     }\r
21 \r
22     public TestAll() {\r
23         super(new String[] {\r
24                   "TestAll$RBNF",\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
34               },\r
35               "Formatting Tests");\r
36     }\r
37 \r
38     public static class RBNF extends TestGroup {\r
39         public RBNF() {\r
40             super(new String[] {\r
41                 "RbnfTest",\r
42                 "RbnfRoundTripTest",\r
43                 "RBNFParseTest",\r
44             });\r
45         }\r
46     }\r
47 \r
48     public static class NumberFormat extends TestGroup {\r
49         public NumberFormat() {\r
50             super(new String[] {\r
51                 "IntlTestNumberFormat",\r
52                 "IntlTestNumberFormatAPI",\r
53                 "NumberFormatTest",\r
54                 "NumberFormatRegistrationTest",\r
55                 "NumberFormatRoundTripTest",\r
56                 "NumberRegression",\r
57                 "NumberFormatRegressionTest",\r
58                 "IntlTestDecimalFormatAPI",\r
59                 "IntlTestDecimalFormatAPIC",\r
60                 "IntlTestDecimalFormatSymbols",\r
61                 "IntlTestDecimalFormatSymbolsC",\r
62             });\r
63         }\r
64     }\r
65 \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
72                 "DateFormatTest",\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
81             });\r
82         }\r
83     }\r
84     \r
85     public static class DateIntervalFormat extends TestGroup {\r
86         public DateIntervalFormat() {\r
87             super(new String[] {\r
88                 "DateIntervalFormatTest"\r
89             });\r
90         }\r
91     }\r
92     \r
93     public static class TimeUnitFormat extends TestGroup {\r
94         public TimeUnitFormat() {\r
95             super(new String[] {\r
96                 "TimeUnitTest"\r
97             });\r
98         }\r
99     }\r
100     \r
101     public static class PluralFormat extends TestGroup {\r
102         public PluralFormat() {\r
103             super(new String[] {\r
104                 "PluralFormatUnitTest",\r
105                 "PluralFormatTest",\r
106                 "PluralRulesTest",\r
107             });\r
108         }\r
109     }\r
110 \r
111     public static class SelectFormat extends TestGroup {\r
112         public SelectFormat() {\r
113             super(new String[] {\r
114                 "SelectFormatUnitTest",\r
115                 "SelectFormatAPITest",\r
116             });\r
117         }\r
118     }\r
119 \r
120     public static class MessageFormat extends TestGroup {\r
121         public MessageFormat() {\r
122             super(new String[] {\r
123                 "TestMessageFormat",\r
124                 "MessageRegression",\r
125             });\r
126         }\r
127     }\r
128 \r
129     public static final String CLASS_TARGET_NAME = "Format";\r
130 }\r