You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vladimir Vlasov (JIRA)" <ji...@codehaus.org> on 2011/11/11 13:45:51 UTC
[jira] Issue Comment Edited: (SUREFIRE-787) Test fail cause message
is badly displayed if exception message conatins line feeds
[ https://jira.codehaus.org/browse/SUREFIRE-787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=283276#comment-283276 ]
Vladimir Vlasov edited comment on SUREFIRE-787 at 11/11/11 6:44 AM:
--------------------------------------------------------------------
Oh, accidentally clicked Enter... I'll finish description here.
While error message is formatted by the following sequence:
throw new ClientException(
"Timeout while waiting for system to be complied to expected condition:\r\nFlags:"
+ expectedClientState.flagsToString()
+ "\r\nRoster:"
+ expectedClientState.rosterToString()
+ "\r\n"
+ expectedClientState.incomingStanzasToString()
+ "\nCurrent set of states:\r\nFlags:"
+ getState().flagsToString()
+ "\r\nRoster:"
+ expectedClientState.rosterToString());
This does not happen if I run tests simply using testng.jar lib.
was (Author: endarkened):
Oh, accidentally clicked Enter... I'll finish description here.
While error message is formatted by the following sequence:
throw new ClientException(
"Timeout while waiting for system to be complied to expected condition:\r\nFlags:"
+ expectedClientState.flagsToString()
+ "\r\nRoster:"
+ expectedClientState.rosterToString()
+ "\r\n"
+ expectedClientState.incomingStanzasToString()
+ "\nCurrent set of states:\r\nFlags:"
+ getState().flagsToString()
+ "\r\nRoster:"
+ expectedClientState.rosterToString());
> Test fail cause message is badly displayed if exception message conatins line feeds
> -----------------------------------------------------------------------------------
>
> Key: SUREFIRE-787
> URL: https://jira.codehaus.org/browse/SUREFIRE-787
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Surefire Plugin
> Affects Versions: 2.10
> Environment: Win XP SP3, Java 1.6.0_27, assembly executed with Maven 3.0.3
> Reporter: Vladimir Vlasov
>
> I receive th following message when my test fail
> Results :
> Failed tests: subscribeTo(gateway.unregistered.SendMessageToContact): Timeout while waiting for system to be complied to expected condition:
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira