You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jaroslav Tulach (JIRA)" <ji...@apache.org> on 2019/02/18 04:45:00 UTC

[jira] [Resolved] (NETBEANS-1703) Don't printStackTrace when running HTML/Java tests

     [ https://issues.apache.org/jira/browse/NETBEANS-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jaroslav Tulach resolved NETBEANS-1703.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 11.0

Addressed by capturing and comparing stderr: [https://github.com/apache/incubator-netbeans-html4j/commit/547b8c44c77d7f7557ba1935465ee8f07e2a6aa7]

 

Will be fixed in 1.6.1 version of the HTML/Java library.

> Don't printStackTrace when running HTML/Java tests
> --------------------------------------------------
>
>                 Key: NETBEANS-1703
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1703
>             Project: NetBeans
>          Issue Type: Bug
>          Components: platform - HTML4J
>            Reporter: Jaroslav Tulach
>            Assignee: Jaroslav Tulach
>            Priority: Major
>             Fix For: 11.0
>
>
> > Configuring TestNG with: TestNG652Configurator
> > java.lang.Exception: Error
> > at org.netbeans.html.json.impl.OnReceiveTest.performErrorJSONCallNoHandling(OnReceiveTest.java:64)
> There is a test that tests behavior of a broken connection to a REST end point and logs the problem to System.err. Thus the error is logged, but then it is properly processed.
> Suppress the printing to not scare testers next time.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists