2 |
* Copyright (c) 2009 Martin O. J. Schmitz. |
* Copyright (c) 2009 Martin O. J. Schmitz. |
3 |
* |
* |
4 |
* This file is part of the SCHMITZM library - a collection of utility |
* This file is part of the SCHMITZM library - a collection of utility |
5 |
* classes based on Java 1.6, focussing (not only) on Java Swing |
* classes based on Java 1.6, focusing (not only) on Java Swing |
6 |
* and the Geotools library. |
* and the Geotools library. |
7 |
* |
* |
8 |
* The SCHMITZM project is hosted at: |
* The SCHMITZM project is hosted at: |
25 |
* |
* |
26 |
* Contributors: |
* Contributors: |
27 |
* Martin O. J. Schmitz - initial API and implementation |
* Martin O. J. Schmitz - initial API and implementation |
28 |
* Stefan A. Krüger - additional utility classes |
* Stefan A. Tzeggai - additional utility classes |
29 |
******************************************************************************/ |
******************************************************************************/ |
30 |
package junit.skrueger.i8n; |
package skrueger.i8n; |
31 |
|
|
32 |
import java.util.ArrayList; |
import java.util.ArrayList; |
33 |
|
|
34 |
import junit.framework.TestCase; |
import junit.framework.TestCase; |
35 |
|
|
|
import org.junit.Test; |
|
|
|
|
|
import skrueger.i8n.SwitchLanguageDialog; |
|
|
|
|
36 |
public class SwitchLanguageDialogTest extends TestCase { |
public class SwitchLanguageDialogTest extends TestCase { |
37 |
@Test |
|
38 |
public void testDialog() { |
public void testDialog() { |
39 |
ArrayList<String> langsa = new ArrayList<String>(); |
ArrayList<String> langsa = new ArrayList<String>(); |
40 |
langsa.add("fr"); |
langsa.add("fr"); |
41 |
langsa.add("tr"); |
langsa.add("tr"); |
42 |
SwitchLanguageDialog switchLanguageDialog = new SwitchLanguageDialog(null, langsa); |
// INteractive test diabled |
43 |
switchLanguageDialog.setVisible(true); |
// new SwitchLanguageDialog(null, langsa).setModal(false); |
44 |
} |
} |
45 |
} |
} |