KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mdarad > framework > test > AbstractLocalizationTestCase


1 /*
2     Mdarad-Toolobox is a collection of tools for Architected RAD
3     (Rapid Application Development) based on an MDA approach.
4     The toolbox contains frameworks and generators for many environments
5     (JAVA, J2EE, Hibernate, .NET, C++, etc.) which allow to generate
6     applications from a design Model
7     Copyright (C) 2004-2005 Elapse Technologies Inc.
8
9     This library is free software; you can redistribute it and/or
10     modify it under the terms of the GNU General Public
11     License as published by the Free Software Foundation; either
12     version 2.1 of the License, or (at your option) any later version.
13
14     This library is distributed in the hope that it will be useful,
15     but WITHOUT ANY WARRANTY; without even the implied warranty of
16     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17     General Public License for more details.
18
19     You should have received a copy of the GNU General Public
20     License along with this library; if not, write to the Free Software
21     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 */

23
24 package org.mdarad.framework.test;
25
26 import org.dataisland.primitives.bean.LocalizationContext;
27
28 import java.util.ArrayList JavaDoc;
29 import java.util.List JavaDoc;
30 import java.util.Locale JavaDoc;
31
32 /**
33  * Created by IntelliJ IDEA.
34  * User: Fran├žois Eric
35  * Date: 2004-07-12
36  * Time: 11:35:47
37  * To change this template use File | Settings | File Templates.
38  */

39 public class AbstractLocalizationTestCase extends org.mdarad.framework.test.AbstractTestCase {
40     protected static final LocalizationContext localizationContext;
41
42     static {
43         List JavaDoc localeList = new ArrayList JavaDoc();
44         localeList.add(Locale.ENGLISH);
45         localeList.add(Locale.FRENCH);
46
47         localizationContext = new LocalizationContext();
48         localizationContext.setLocales(localeList);
49     }
50     
51     protected void setUp() throws Exception JavaDoc {
52         super.setUp();
53     }
54
55     protected void tearDown() throws Exception JavaDoc {
56         super.tearDown();
57     }
58 }
59
Popular Tags