[jbosstools-commits] JBoss Tools SVN: r12913 - in trunk/jsf/tests/org.jboss.tools.jsf.ui.test: META-INF and 7 other directories.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Jan 6 20:04:12 EST 2009


Author: dgolovin
Date: 2009-01-06 20:04:11 -0500 (Tue, 06 Jan 2009)
New Revision: 12913

Added:
   trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/
   trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/
   trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/
   trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/
   trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/
   trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/
   trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/
   trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/CssFileNewWizardTest.java
   trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java
   trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FasesConfigEditorTest.java
   trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsFileNewWizardTest.java
   trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JspFileNewWizardTest.java
   trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/PropertiesNewWizardTest.java
   trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/XhtmlFileNewWizardTest.java
Modified:
   trunk/jsf/tests/org.jboss.tools.jsf.ui.test/META-INF/MANIFEST.MF
Log:
https://jira.jboss.org/jira/browse/JBIDE-3500 template tests for New Wizards

Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/META-INF/MANIFEST.MF	2009-01-07 00:52:58 UTC (rev 12912)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/META-INF/MANIFEST.MF	2009-01-07 01:04:11 UTC (rev 12913)
@@ -4,3 +4,4 @@
 Bundle-SymbolicName: org.jboss.tools.jsf.ui.test
 Bundle-Version: 1.0.0
 Bundle-Vendor: JBoss, a division of Red Hat
+Require-Bundle: org.junit

Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/CssFileNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/CssFileNewWizardTest.java	                        (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/CssFileNewWizardTest.java	2009-01-07 01:04:11 UTC (rev 12913)
@@ -0,0 +1,7 @@
+package org.jboss.tools.jsf.ui.test;
+
+import junit.framework.TestCase;
+
+public class CssFileNewWizardTest extends TestCase {
+	// FIXME See FacesConfigNewWizardTest as example
+}


Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/CssFileNewWizardTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java	                        (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java	2009-01-07 01:04:11 UTC (rev 12913)
@@ -0,0 +1,39 @@
+package org.jboss.tools.jsf.ui.test;
+
+import junit.framework.TestCase;
+
+public class FacesConfigNewWizardTest extends TestCase {
+	
+	public void testNewFacesConfigNewWizardIsCreated() {
+		// Assert wizard is created
+		// Assert it is an instance of right class 
+		fail("Not implemented yet");
+	}
+	
+	public void testFacesConfigNewWizardValidation() {
+		// Assert Finish button is enabled by default if wizard is called on Project
+		// Assert Finish button is disabled and error is present if 
+		// 		Folder field is empty
+		// 		All other fields are correct
+		// Assert Finish button is disabled and error is present if 
+		// 		Folder field points to folder that doesn't exist
+		// 		All other fields are correct
+		// Assert Finish button is disabled and error is present if
+		//		Folder field is correct
+		//		Name field is empty
+		// Assert Finish button is disabled and error is present if
+		//		Folder field is correct
+		//		Name field contains forbidden characters
+		// Assert Finish button is disabled and error is present if
+		//		Folder field is correct
+		//		Name field contains file name that already exists
+		fail("Not implemented yet");
+	}
+	
+	public void testFacesConfigNewWizardResults() {
+		// Assert file with name from Name field created in folder with name form Folder field
+		// Assert that new file was not registered in web.xml if 'Register in web.xml' is not set
+		// Assert that new file was registered in web.xml if 'Register in web.xml is set'
+		fail("Not implemented yet");
+	}
+}


Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FasesConfigEditorTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FasesConfigEditorTest.java	                        (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FasesConfigEditorTest.java	2009-01-07 01:04:11 UTC (rev 12913)
@@ -0,0 +1,16 @@
+package org.jboss.tools.jsf.ui.test;
+
+import junit.framework.TestCase;
+
+public class FasesConfigEditorTest extends TestCase {
+	
+	/**
+	 * Opens faces config editor on imported project and checks
+	 * that it is opened and have three tabs in it
+	 */
+	public void testFacesConfigEditorIsOpened() {
+		// assert editor is opened 
+		// assert it is FacesConfigEditor instance
+		fail("Not implemented yet");
+	}
+}


Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FasesConfigEditorTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsFileNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsFileNewWizardTest.java	                        (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsFileNewWizardTest.java	2009-01-07 01:04:11 UTC (rev 12913)
@@ -0,0 +1,7 @@
+package org.jboss.tools.jsf.ui.test;
+
+import junit.framework.TestCase;
+
+public class JsFileNewWizardTest extends TestCase {
+	// FIXME See FacesConfigNewWizardTest as example
+}


Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsFileNewWizardTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JspFileNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JspFileNewWizardTest.java	                        (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JspFileNewWizardTest.java	2009-01-07 01:04:11 UTC (rev 12913)
@@ -0,0 +1,7 @@
+package org.jboss.tools.jsf.ui.test;
+
+import junit.framework.TestCase;
+
+public class JspFileNewWizardTest extends TestCase {
+	// FIXME See FacesConfigNewWizardTest as example
+}


Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JspFileNewWizardTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/PropertiesNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/PropertiesNewWizardTest.java	                        (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/PropertiesNewWizardTest.java	2009-01-07 01:04:11 UTC (rev 12913)
@@ -0,0 +1,7 @@
+package org.jboss.tools.jsf.ui.test;
+
+import junit.framework.TestCase;
+
+public class PropertiesNewWizardTest extends TestCase {
+	// FIXME See FacesConfigNewWizardTest as example
+}


Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/PropertiesNewWizardTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/XhtmlFileNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/XhtmlFileNewWizardTest.java	                        (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/XhtmlFileNewWizardTest.java	2009-01-07 01:04:11 UTC (rev 12913)
@@ -0,0 +1,7 @@
+package org.jboss.tools.jsf.ui.test;
+
+import junit.framework.TestCase;
+
+public class XhtmlFileNewWizardTest extends TestCase {
+	// FIXME See FacesConfigNewWizardTest as example
+}


Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/XhtmlFileNewWizardTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain




More information about the jbosstools-commits mailing list