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

Maxim Areshkau (JIRA) jira-events at lists.jboss.org
Wed May 20 12:51:06 EDT 2009


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

Maxim Areshkau commented on JBIDE-4345:
---------------------------------------

Yes, import test project per test very slow.
For know i see two possible decisions of problem running test
1) in run arguments for test suite set testClassParameter  and then in test suite check if such parameter has been intered, then add to suite only test class. 
2)  in junit test overide setUp& tearDown methods and check if project has been imported, then not import project, in other case import and in tearDown method delete it.
Any other proposals how to make possibility run each test individually? 

> 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