Author: mareshkau
Date: 2010-11-24 04:45:50 -0500 (Wed, 24 Nov 2010)
New Revision: 26873
Removed:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/DocBookTemplatesTest.java
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
Log:
https://jira.jboss.org/browse/JBIDE-7704, fixing junit tests fails. Removing docbook junit
from jsf test, becouse its not right place.This test exist in docbook tests
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2010-11-24
09:45:05 UTC (rev 26872)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2010-11-24
09:45:50 UTC (rev 26873)
@@ -16,7 +16,6 @@
import org.jboss.tools.jsf.vpe.jsf.test.jbide.ChangeMessageBundleTest_JBIDE5818;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.ContextMenuDoubleInsertionTest_JBIDE3888;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.DnD_JBIDE5042_JBIDE6229_Test;
-import org.jboss.tools.jsf.vpe.jsf.test.jbide.DocBookTemplatesTest;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.EditFontFamilyTest_JBIDE5872;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.ExceptionInVPEComments_JBIDE5143;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.FacetProcessingTest;
@@ -140,7 +139,6 @@
suite.addTestSuite(SourceDomUtilTest.class);
suite.addTestSuite(XulRunnerVpeUtilsTest.class);
suite.addTestSuite(JSF2ValidatorTest.class);
- suite.addTestSuite(DocBookTemplatesTest.class);
// suite.addTestSuite(DnD_JBIDE5042_JBIDE6229_Test.class);
suite.addTestSuite(UnclosedELExpressionTest.class);
suite.addTestSuite(TestContextPathResolution.class);
Deleted:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/DocBookTemplatesTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/DocBookTemplatesTest.java 2010-11-24
09:45:05 UTC (rev 26872)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/DocBookTemplatesTest.java 2010-11-24
09:45:50 UTC (rev 26873)
@@ -1,48 +0,0 @@
-/**
- *
- */
-package org.jboss.tools.jsf.vpe.jsf.test.jbide;
-
-import org.jboss.tools.jsf.vpe.jsf.test.JsfAllTests;
-import org.jboss.tools.vpe.ui.test.ComponentContentTest;
-import org.jboss.tools.vpe.ui.test.VpeTest;
-
-/**
- * Junit test class for
https://jira.jboss.org/browse/JBIDE-6600
- * @author mareshkau
- *
- */
-public class DocBookTemplatesTest extends ComponentContentTest{
-
- private static String VPE_EDITOR_ID=VpeTest.EDITOR_ID;
-
- private static String
DOC_BOOK_EDITOR_ID="org.jboss.tools.jst.jsp.jspeditor.DocBookEditor";
-
- private String activeEditorID;
- public DocBookTemplatesTest(String name) {
- super(name);
- }
-
- public void testCheckHtmlTitle() throws Throwable {
- setActiveEditorID(VPE_EDITOR_ID);
- performInvisibleTagTest("JBIDE/6600/jbide6600.html","title");
- }
-
- public void testCheckDocBookTitle() throws Throwable {
- setActiveEditorID(DOC_BOOK_EDITOR_ID);
- performContentTest("JBIDE/6600/jbide6600.xml");
- }
-
- @Override
- protected String getTestProjectName() {
- return JsfAllTests.IMPORT_PROJECT_NAME;
- }
-
- private void setActiveEditorID(String editorID){
- this.activeEditorID = editorID;
- }
-
- protected String getEditorID(){
- return this.activeEditorID;
- }
-}