[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2444) Fix errors in JBIDE-788 Test

Denis Golovin (JIRA) jira-events at lists.jboss.org
Mon Jun 30 14:44:31 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-2444?page=comments#action_12419409 ] 
            
Denis Golovin commented on JBIDE-2444:
--------------------------------------

Use line and character parameters to define position in a file to allow anybody verify this test manually. Now The only way to understand where is offcet 536 either open editor and press -> 536 times or write java code that uses IDocument interface to transform 536 in something meaningful.

I'd prefer that test calculates expected proposals and then compare it with returned from CA (optional)

> Fix errors in JBIDE-788 Test
> ----------------------------
>
>                 Key: JBIDE-2444
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-2444
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor, XML Structured Editor
>    Affects Versions: 2.1.2
>         Environment: JBIDE788Test is broken and doesn't cover all functionality 
>            Reporter: Maxim Areshkau
>         Assigned To: Maxim Areshkau
>             Fix For: 3.0.0.alpha
>
>
> 1) remove magic numbers from call of function  baseCheckofCA(CA_NAME, "JBIDE/788/TestChangeUriInInnerNodes.xhtml",395, 185);, 
> 2) repair testCAPathProposals, now CA doesn't show path proposals(JBIDE-2437), but tests not failing

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

        



More information about the jbosstools-issues mailing list