Author: mareshkau
Date: 2010-04-16 04:47:06 -0400 (Fri, 16 Apr 2010)
New Revision: 21518
Removed:
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/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-6189, old xhml wizard junit test has been
removed, because i have added new wizard and swt bot tests
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2010-04-16
08:42:54 UTC (rev 21517)
+++
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2010-04-16
08:47:06 UTC (rev 21518)
@@ -29,7 +29,6 @@
suite.addTestSuite(JsFileNewWizardTest.class);
suite.addTestSuite(JspFileNewWizardTest.class);
suite.addTestSuite(PropertiesNewWizardTest.class);
- suite.addTestSuite(XhtmlFileNewWizardTest.class);
suite.addTestSuite(JsfUiPreferencesPagesTest.class);
suite.addTest(new ProjectImportTestSetup(new TestSuite(
ELReferencesRenameTest.class), "org.jboss.tools.jsf.ui.test",
//$NON-NLS-1$
Deleted:
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 2010-04-16
08:42:54 UTC (rev 21517)
+++
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/XhtmlFileNewWizardTest.java 2010-04-16
08:47:06 UTC (rev 21518)
@@ -1,45 +0,0 @@
-package org.jboss.tools.jsf.ui.test;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.jface.wizard.IWizard;
-import org.jboss.tools.test.util.JobUtils;
-
-
-public class XhtmlFileNewWizardTest extends WizardTest {
- public XhtmlFileNewWizardTest(){
- super("org.jboss.tools.common.model.ui.wizard.newfile.NewXHTMLFileWizard");
- }
-
- public void testXhtmlFileNewWizardTestIsCreated() {
- wizardIsCreated();
- }
-
- public void testXhtmlFileNewWizardValidation() {
- IWizard wizard = getWizard();
-
- boolean canFinish = wizard.canFinish();
-
- assertFalse("Finish button is enabled at first wizard page.", canFinish);
- }
-
- public void testXhtmlFileNewWizardValidation2() {
- validateFolderAndName();
- }
-
- public void testXhtmlFileNewWizardResults() {
- // Assert file with name from Name field created in folder with name form Folder field
- IWizard wizard = getWizardOnProject("aaa");
-
- boolean canFinish = wizard.canFinish();
-
- assertTrue("Finish button is disabled.", canFinish);
-
- wizard.performFinish();
-
- JobUtils.waitForIdle();
-
- IResource res = project.findMember("aaa.xhtml");
-
- assertNotNull(res);
- }
-}
\ No newline at end of file