KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > wcf > convert > ConverterFactoryTest


1 package com.tonbeller.wcf.convert;
2
3 import java.util.Locale JavaDoc;
4
5 import junit.framework.TestCase;
6
7 import com.tonbeller.wcf.format.Formatter;
8 import com.tonbeller.wcf.format.FormatterFactory;
9
10 /**
11  * Created on 05.11.2002
12  *
13  * @author av
14  */

15 public class ConverterFactoryTest extends TestCase {
16
17   /**
18    * Constructor for ConverterFactoryTest.
19    * @param arg0
20    */

21   public ConverterFactoryTest(String JavaDoc arg0) {
22     super(arg0);
23   }
24
25   public static void main(String JavaDoc[] args) {
26     junit.textui.TestRunner.run(ConverterFactoryTest.class);
27   }
28
29   /*
30    * Test for Converter instance()
31    */

32   public void testInstance() throws Exception JavaDoc {
33     Formatter fmt = FormatterFactory.instance(Locale.US);
34     Converter cnv = ConverterFactory.instance(fmt);
35   }
36
37 }
38
Popular Tags