Author: yradtsevich
Date: 2010-11-12 14:00:05 -0500 (Fri, 12 Nov 2010)
New Revision: 26529
Added:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1791Test/WebContent/pages/newSideBySideEditorTest.txt
Modified:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/NewEditorSideBySideCommandTest.java
Log:
https://jira.jboss.org/browse/JBIDE-7489 :
org.jboss.tools.jst.jsp.test.ca.ExternalizeCommandTest and .NewEditorSideBySideCommandTest
failures
- created missing file for NewEditorSideBySideCommandTest
- added org.jboss.tools.neweditor.sidebyside dependency to org.jboss.tools.jst.jsp.test
- changed the method name:
NewEditorSideBySideCommandTest.testExternalizeCommand->testNewEditorSideBySideCommand
Modified: trunk/jst/tests/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF 2010-11-12 18:42:50
UTC (rev 26528)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF 2010-11-12 19:00:05
UTC (rev 26529)
@@ -17,7 +17,8 @@
org.jboss.tools.jst.web,
org.jboss.tools.common.text.xml,
org.jboss.tools.jst.web.kb,
- org.eclipse.jst.standard.schemas
+ org.eclipse.jst.standard.schemas,
+ org.jboss.tools.neweditor.sidebyside
Export-Package:
org.jboss.tools.jst.jsp.test,
org.jboss.tools.jst.jsp.test.ca
Added:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1791Test/WebContent/pages/newSideBySideEditorTest.txt
===================================================================
---
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1791Test/WebContent/pages/newSideBySideEditorTest.txt
(rev 0)
+++
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1791Test/WebContent/pages/newSideBySideEditorTest.txt 2010-11-12
19:00:05 UTC (rev 26529)
@@ -0,0 +1 @@
+test content
Modified:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/NewEditorSideBySideCommandTest.java
===================================================================
---
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/NewEditorSideBySideCommandTest.java 2010-11-12
18:42:50 UTC (rev 26528)
+++
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/NewEditorSideBySideCommandTest.java 2010-11-12
19:00:05 UTC (rev 26529)
@@ -56,7 +56,7 @@
* @throws NotEnabledException
* @throws ExecutionException
*/
- public void testExternalizeCommand() throws NotDefinedException, ExecutionException,
NotEnabledException, NotHandledException{
+ public void testNewEditorSideBySideCommand() throws Exception {
assertEquals(newEditorSideBySideCmd.getName()+ " should be disabled without
opened editor",false,newEditorSideBySideCmd.isEnabled()); //$NON-NLS-1$
WorkbenchUtils.openEditor(project.getName()+"/WebContent/pages/newSideBySideEditorTest.txt");
//$NON-NLS-1$
assertEquals(newEditorSideBySideCmd.getName()+ " should be enabled when editor
opened",true,newEditorSideBySideCmd.isEnabled()); //$NON-NLS-1$