/[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 trunk/src_junit/skrueger/i8n/SwitchLanguageDialogTest.java revision 755 by alfonx, Fri Mar 5 16:14:29 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    
 import junit.framework.TestCase;  
   
34  import org.junit.Test;  import org.junit.Test;
35    
36  import skrueger.i8n.SwitchLanguageDialog;  import junit.framework.TestCase;
37    
38  public class SwitchLanguageDialogTest extends TestCase {  public class SwitchLanguageDialogTest extends TestCase {
39          @Test  
40          public void  testDialog() {          public void testDialog() {
41                  ArrayList<String> langsa = new ArrayList<String>();                  ArrayList<String> langsa = new ArrayList<String>();
42                  langsa.add("fr");                  langsa.add("fr");
43                  langsa.add("tr");                  langsa.add("tr");
44                  SwitchLanguageDialog switchLanguageDialog = new SwitchLanguageDialog(null, langsa);                  // INteractive test diabled
45                  switchLanguageDialog.setVisible(true);                  // new SwitchLanguageDialog(null, langsa).setModal(false);
46          }          }
47  }  }

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26