KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > resources > test > TestLocaleConfig


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.services.resources.test;
6
7 import org.exoplatform.services.resources.LocaleConfigService;
8 import org.exoplatform.test.BasicTestCase;
9 import org.exoplatform.container.PortalContainer ;
10
11 /**
12  * Thu, May 15, 2004 @
13  * @author: Tuan Nguyen
14  * @version: $Id: TestUIComponentFactory.java,v 1.4 2004/08/05 14:58:42 tuan08 Exp $
15  * @email: tuan08@yahoo.com
16  */

17 public class TestLocaleConfig extends BasicTestCase {
18   private LocaleConfigService service_ ;
19   
20   public TestLocaleConfig(String JavaDoc name) {
21     super(name);
22   }
23
24   public void setUp() throws Exception JavaDoc {
25     service_ = (LocaleConfigService) PortalContainer.getInstance().
26                                      getComponentInstanceOfType(LocaleConfigService.class) ;
27   }
28   
29   public void tearDown() throws Exception JavaDoc {
30
31   }
32   
33   public void testLocaleConfigManager() throws Exception JavaDoc {
34     System.out.println(service_) ;
35   }
36 }
Popular Tags