Alexander Lehmann (JIRA | 30 Jul 2012 19:59

[jira] (JBEHAVE-806) Jbehave doesn't reformat stack traces on Windows

Issue Type: Bug
Affects Versions: 3.6.8
Assignee: Unassigned
Components: Core
Created: 30/Jul/12 12:57 PM
Description:

When formatting stack traces, the function uses a PrintStream and toString to get the text for the stack trace, this is converted according to the platform line endings, in Windows, the cr-lf line endings cause the patterns to fail.
This means for example that the unit test for TemplatableOutput fails in Windows.
I have added a unit test to check if it an Exception is converted correctly, however this test will fail under Windows only.

Environment: java 1.6.0-33, windows 7
Project: JBehave
Priority: Minor
Reporter: Alexander Lehmann
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Alexander Lehmann (JIRA | 30 Jul 2012 23:09

[jira] (JBEHAVE-806) Jbehave doesn't reformat stack traces on Windows

https://github.com/alexlehm/jbehave-core/commit/3a938a32bffaddf055d418f791d69d06a91dc820

JBEHAVE-806: Jbehave doesn't reformat stack traces on Windows
added cr/lf conversion to StackTraceFormatter, added unit test for an Exception

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Mauro Talevi (JIRA | 31 Jul 2012 01:35

[jira] (JBEHAVE-806) Stack traces not properly formatted on Windows

Change By: Mauro Talevi (30/Jul/12 6:34 PM)
Summary: Jbehave doesn't reformat stack Stack  traces  not properly formatted  on Windows
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Mauro Talevi (JIRA | 31 Jul 2012 01:35

[jira] (JBEHAVE-806) Jbehave doesn't reformat stack traces on Windows

Mauro Talevi resolved JBEHAVE-806 as Fixed
Change By: Mauro Talevi (30/Jul/12 6:33 PM)
Resolution: Fixed
Fix Version/s: 3.6.9
Status: Open Resolved
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Gmane