]> gitweb.fperrin.net Git - Dictionary.git/blob - jars/icu4j-4_2_1-src/src/com/ibm/richtext/test/unit/FmwkTestTextPanel.java
icu4jsrc
[Dictionary.git] / jars / icu4j-4_2_1-src / src / com / ibm / richtext / test / unit / FmwkTestTextPanel.java
1 /*\r
2  * (C) Copyright IBM Corp. 1998-2004.  All Rights Reserved.\r
3  *\r
4  * The program is provided "as is" without any warranty express or\r
5  * implied, including the warranty of non-infringement and the implied\r
6  * warranties of merchantibility and fitness for a particular purpose.\r
7  * IBM will not be liable for any damages suffered by you as a result\r
8  * of using the Program. In no event will IBM be liable for any\r
9  * special, indirect or consequential damages or lost profits even if\r
10  * IBM has been advised of the possibility of their occurrence. IBM\r
11  * will not be liable for any third party claims against you.\r
12  */\r
13 package com.ibm.richtext.test.unit;\r
14 \r
15 import com.ibm.icu.dev.test.TestFmwk;\r
16 import com.ibm.richtext.test.TestTextPanel;\r
17 \r
18 public final class FmwkTestTextPanel extends TestFmwk {\r
19 \r
20     public static void main(String[] args) throws Exception {\r
21     \r
22         new FmwkTestTextPanel().run(args);\r
23     }\r
24     \r
25     private TTP ttp;\r
26     \r
27     public FmwkTestTextPanel() {\r
28     \r
29         ttp = new TTP();\r
30     }\r
31     \r
32     public void test() {\r
33     \r
34         ttp.test();\r
35         // If TestTextPanel gets more tests, add them here\r
36     }\r
37 \r
38     private final class TTP extends TestTextPanel {\r
39     \r
40         protected void reportError(String message) {\r
41         \r
42             errln(message);\r
43         }\r
44         \r
45         protected void logMessage(String message) {\r
46         \r
47             logln(message);\r
48         }\r
49     }\r
50 }