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