[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4345) 3 tests fail in HtmlAllTests (testJBIDE3280, testPre, testXmp)

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Fri May 22 09:03:58 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12468844#action_12468844 ] 

Yahor Radtsevich commented on JBIDE-4345:
-----------------------------------------

The code of the XULRunner loader (packeges org.eclipse.swt.browser and org.eclipse.swt.internal.mozilla) has changed in Eclipse 3.5M7 .
When I run the VPE tests under Еclipse 3.5M7 with the 3.5M6 version of these packages, neither JBIDE3280 nor any other VPE test fails.

Тhus, I see two possible cases:
   1. The behavior of the XULRunner loader has changed in a way that it is correct, but our code needs to be fixed.
   2. A new bug has introduced in the XULRunner loader and it should be reported.

Now I am trying to fix our code...

> 3 tests fail in HtmlAllTests (testJBIDE3280, testPre, testXmp)
> --------------------------------------------------------------
>
>                 Key: JBIDE-4345
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4345
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: Visual Page Editor core
>            Reporter: Max Rydahl Andersen
>            Assignee: Yahor Radtsevich
>            Priority: Blocker
>             Fix For: 3.1.0.M1
>
>
> http://hudson.jboss.org/hudson/view/JBossTools/job/jbosstools-nightly-3.1.0.Alpha1/181/testReport/(root)/HtmlAllTests/testJBIDE3280/
> 1. HtmlAllTests.testJBIDE3280
>    Failing for the past 9 builds (Since #173 ) 
>    Took 11 sec.
>    Error Message
>    Stacktrace
>    java.lang.NullPointerException
> 	at org.jboss.tools.vpe.html.test.jbide.JBIDE3280Test.testJBIDE3280(JBIDE3280Test.java:66)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
>    I tried to run it but i'm getting a IllegalArgument in setup:
>    java.lang.IllegalArgumentException
> 	at org.eclipse.ui.part.FileEditorInput.<init>(FileEditorInput.java:92)
> 	at org.jboss.tools.vpe.html.test.jbide.JBIDE3280Test.testJBIDE3280(JBIDE3280Test.java:49)
>    How do you run this test standalone ?
> 2. Tests HtmlComponentContentTest.testPre and HtmlComponentContentTest.testXmp fail with the following error message:
>    name of tag is "#text"but must be "BR"
>    Stacktrace
>    junit.framework.AssertionFailedError: name of tag is "#text"but must be "BR"
>    at org.jboss.tools.vpe.ui.test.ComponentContentTest.compareElements(ComponentContentTest.java:136) 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the jbosstools-issues mailing list