[
https://jira.jboss.org/jira/browse/JBIDE-4345?page=com.atlassian.jira.plu...
]
Yahor Radtsevich commented on JBIDE-4345:
-----------------------------------------
Method org.eclipse.swt.browser.Mozilla.setText(String) works in an incorrect way since
Eclipse 3.5M7 .
I have applied a workaround to our code in which calls of setText(initialHtmlCode) are
replaced by setURL(pathToTemporaryInitialHtmlFile).
There is no JUnit fail in JsfAllTests and HtmlAllTests on my local build after this fix.
The bug with setText() will be posted to Eclipse's Bugzilla soon.
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...
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