/[schmitzm]/branches/2.3.x/src_junit/skrueger/i8n/SwitchLanguageDialogTest.java
ViewVC logotype

Diff of /branches/2.3.x/src_junit/skrueger/i8n/SwitchLanguageDialogTest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/src/junit/skrueger/i8n/SwitchLanguageDialogTest.java revision 244 by alfonx, Wed Jul 29 09:33:33 2009 UTC branches/2.0-RC2/src_junit/skrueger/i8n/SwitchLanguageDialogTest.java revision 621 by alfonx, Thu Jan 28 10:06:05 2010 UTC
# Line 2  Line 2 
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:
# Line 27  Line 27 
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. Krüger - 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);                  new SwitchLanguageDialog(null, langsa);
                 switchLanguageDialog.setVisible(true);  
43          }          }
44  }  }

Legend:
Removed from v.244  
changed lines
  Added in v.621

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26