[jira] (JBEHAVE-806) Jbehave doesn't reformat stack traces on Windows
Alexander Lehmann (JIRA <
jira@...>
2012-07-30 17:59:21 GMT
|
|
|
|
|
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
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