[JBoss JIRA] Created: (JBIDE-7760) Fix failing JUnit: org.jboss.tools.vpe.spring.test.SpringComponentContentTest.testHasBindErrors()
by Yahor Radtsevich (JIRA)
Fix failing JUnit: org.jboss.tools.vpe.spring.test.SpringComponentContentTest.testHasBindErrors()
-------------------------------------------------------------------------------------------------
Key: JBIDE-7760
URL: https://jira.jboss.org/browse/JBIDE-7760
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: Visual Page Editor Templates
Affects Versions: 3.2.0.CR1
Reporter: Yahor Radtsevich
Assignee: Yahor Radtsevich
Fix For: 3.2.0.CR1
JUnit org.jboss.tools.vpe.spring.test.SpringComponentContentTest.testHasBindErrors() fails. Its stack trace follows:
testHasBindErrors(org.jboss.tools.vpe.spring.test.SpringComponentContentTest)
junit.framework.AssertionFailedError: D:\doc\prj\jboss\wrksps\junit-workspace\SpringTest\src\main\webapp\WEB-INF\jsp\hasBindErrors.jsp.xml[/tests/test[1]/DIV/DIV/DIV/UL/SPAN]:
name of tag is "DIV"but must be "SPAN"
at junit.framework.Assert.fail(Assert.java:47)
at org.jboss.tools.vpe.ui.test.ComponentContentTest.compareContent(ComponentContentTest.java:117)
at org.jboss.tools.vpe.ui.test.ComponentContentTest.performContentTestByFullPath(ComponentContentTest.java:97)
at org.jboss.tools.vpe.spring.test.SpringComponentContentTest.testHasBindErrors(SpringComponentContentTest.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:62)
at org.eclipse.pde.internal.junit.runtime.UITestApplication$1.run(UITestApplication.java:116)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.pde.internal.junit.runtime.UITestApplication.start(UITestApplication.java:47)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBIDE-7754) RSE Server Startup - Host Not found
by Dominik Pospisil (JIRA)
RSE Server Startup - Host Not found
-----------------------------------
Key: JBIDE-7754
URL: https://jira.jboss.org/browse/JBIDE-7754
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.2.0.Beta2
Reporter: Dominik Pospisil
Assignee: Rob Stryker
Attachments: rse.jpg
After JBoss Tools is restarted, an error window is displayed when RSE Server is started for the first time. However, the remote server is started correctly. Also, the error does not occur if an connection to remote system is initiated before server startup attempt.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBIDE-7705) org.jboss.tools.jsf.vpe.richfaces.test.RichFacesComponentContentTest failure.
by Alexey Kazakov (JIRA)
org.jboss.tools.jsf.vpe.richfaces.test.RichFacesComponentContentTest failure.
-----------------------------------------------------------------------------
Key: JBIDE-7705
URL: https://jira.jboss.org/browse/JBIDE-7705
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.2.0.Beta1
Reporter: Alexey Kazakov
Assignee: Maxim Areshkau
Fix For: 3.2.0.CR1
Failed tests:
testFileUpload(org.jboss.tools.jsf.vpe.richfaces.test.RichFacesComponentContentTest)
testFileUpload(org.jboss.tools.jsf.vpe.richfaces.test.RichFacesComponentContentTest) Time elapsed: 0.324 sec <<< FAILURE!
junit.framework.AssertionFailedError: /home/igels/Projects/trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/target/work/data/richFacesTest/WebContent/pages/components/fileUpload.xhtml.xml[/tests/test[2]/DIV/DIV[2]/FORM]:
Child of node "DIV" is "null", but should be "FORM"
at junit.framework.Assert.fail(Assert.java:47)
at org.jboss.tools.vpe.ui.test.ComponentContentTest.compareContent(ComponentContentTest.java:117)
at org.jboss.tools.vpe.ui.test.ComponentContentTest.performContentTestByFullPath(ComponentContentTest.java:97)
at org.jboss.tools.vpe.ui.test.ComponentContentTest.performContentTest(ComponentContentTest.java:68)
at org.jboss.tools.jsf.vpe.richfaces.test.RichFacesComponentContentTest.testFileUpload(RichFacesComponentContentTest.java:180)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBIDE-7704) org.jboss.tools.jsf.vpe.jsf.test.JsfAllTests failures.
by Alexey Kazakov (JIRA)
org.jboss.tools.jsf.vpe.jsf.test.JsfAllTests failures.
------------------------------------------------------
Key: JBIDE-7704
URL: https://jira.jboss.org/browse/JBIDE-7704
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.2.0.Beta2
Reporter: Alexey Kazakov
Assignee: Maxim Areshkau
Fix For: 3.2.0.CR1
Failed tests:
testCheckDocBookTitle(org.jboss.tools.jsf.vpe.jsf.test.jbide.DocBookTemplatesTest)
testCheckContetnForDefaultNamespace(org.jboss.tools.jsf.vpe.jsf.test.jbide.TestForUsingComponentsLibrariesWithDefaultNamespace)
testJBIDE_1484(org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1484Test)
Tests in error:
testCorrectCustomElements(org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE4373Test)
testIncorrectCustomElements(org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE4373Test)
testOpenOnForSDecorate(org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE4373Test)
testJBIDE4635OpenOn(org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE4509Test)
testTaglibXMLUnformatedDTD(org.jboss.tools.jsf.vpe.jsf.test.jbide.TaglibXMLUnformatedDTD_JBIDE5642)
testCheckDocBookTitle(org.jboss.tools.jsf.vpe.jsf.test.jbide.DocBookTemplatesTest) Time elapsed: 0.326 sec <<< FAILURE!
junit.framework.AssertionFailedError: Cann't find element with id=title
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNotNull(Assert.java:214)
at org.jboss.tools.vpe.ui.test.ComponentContentTest.compareElements(ComponentContentTest.java:136)
at org.jboss.tools.vpe.ui.test.ComponentContentTest.compareContent(ComponentContentTest.java:112)
at org.jboss.tools.vpe.ui.test.ComponentContentTest.performContentTestByFullPath(ComponentContentTest.java:97)
at org.jboss.tools.vpe.ui.test.ComponentContentTest.performContentTest(ComponentContentTest.java:68)
at org.jboss.tools.jsf.vpe.jsf.test.jbide.DocBookTemplatesTest.testCheckDocBookTitle(DocBookTemplatesTest.java:33)
testCheckContetnForDefaultNamespace(org.jboss.tools.jsf.vpe.jsf.test.jbide.TestForUsingComponentsLibrariesWithDefaultNamespace) Time elapsed: 0.479 sec <<< FAILURE!
junit.framework.AssertionFailedError: /home/igels/Projects/trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/target/work/data/jsf2test/WebContent/pages/JBIDE/5352/table.xhtml.xml[/tests/test/DIV/@STYLE]:
Style parameter [margin] is missing in the VPE element
at junit.framework.Assert.fail(Assert.java:47)
at org.jboss.tools.vpe.ui.test.ComponentContentTest.compareContent(ComponentContentTest.java:117)
at org.jboss.tools.vpe.ui.test.ComponentContentTest.performContentTestByFullPath(ComponentContentTest.java:97)
at org.jboss.tools.vpe.ui.test.ComponentContentTest.performContentTest(ComponentContentTest.java:68)
at org.jboss.tools.jsf.vpe.jsf.test.jbide.TestForUsingComponentsLibrariesWithDefaultNamespace.testCheckContetnForDefaultNamespace(TestForUsingComponentsLibrariesWithDefaultNamespace.java:27)
testJBIDE_1484(org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1484Test) Time elapsed: 0.362 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<3> but was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:283)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:195)
at junit.framework.Assert.assertEquals(Assert.java:201)
at org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1484Test.testJBIDE_1484(JBIDE1484Test.java:79)
testCorrectCustomElements(org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE4373Test) Time elapsed: 0.542 sec <<< ERROR!
java.lang.ClassCastException: org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider$StructuredTextSelection cannot be cast to org.eclipse.jface.viewers.StructuredSelection
at org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE4373Test.testCorrectCustomElements(JBIDE4373Test.java:56)
testIncorrectCustomElements(org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE4373Test) Time elapsed: 0.409 sec <<< ERROR!
java.lang.ClassCastException: org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider$StructuredTextSelection cannot be cast to org.eclipse.jface.viewers.StructuredSelection
at org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE4373Test.testIncorrectCustomElements(JBIDE4373Test.java:77)
testOpenOnForSDecorate(org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE4373Test) Time elapsed: 0.34 sec <<< ERROR!
java.lang.NullPointerException
at org.jboss.tools.common.text.ext.hyperlink.xpl.BaseHyperlinkDetector.getHyperlinks(BaseHyperlinkDetector.java:38)
at org.jboss.tools.common.text.ext.hyperlink.xpl.BaseHyperlinkDetector.detectHyperlinks(BaseHyperlinkDetector.java:118)
at org.jboss.tools.vpe.editor.VpeSourceDomBuilder.openOnOnVisualNode(VpeSourceDomBuilder.java:170)
at org.jboss.tools.vpe.editor.VpeSourceDomBuilder.openOn(VpeSourceDomBuilder.java:135)
at org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE4373Test.testOpenOnForSDecorate(JBIDE4373Test.java:194)
testJBIDE4635OpenOn(org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE4509Test) Time elapsed: 0.366 sec <<< ERROR!
java.lang.ClassCastException: org.jboss.tools.common.model.ui.texteditors.XMLTextEditorStandAlone cannot be cast to org.eclipse.ui.part.MultiPageEditorPart
at org.jboss.tools.vpe.ui.test.OpenOnUtil.checkOpenOnInEditor(OpenOnUtil.java:93)
at org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE4509Test.testJBIDE4635OpenOn(JBIDE4509Test.java:109)
testTaglibXMLUnformatedDTD(org.jboss.tools.jsf.vpe.jsf.test.jbide.TaglibXMLUnformatedDTD_JBIDE5642) Time elapsed: 2.416 sec <<< ERROR!
java.lang.Exception: java.lang.Exception: Model feature org.jboss.tools.jsf.ui.action.ImportProjectAction is not registered with extension point org.jboss.tools.common.model.classes
at org.jboss.tools.vpe.ui.test.VpeTest.tearDown(VpeTest.java:142)
at org.jboss.tools.jsf.vpe.jsf.test.jbide.TaglibXMLUnformatedDTD_JBIDE5642.tearDown(TaglibXMLUnformatedDTD_JBIDE5642.java:115)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months