You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2017/10/06 18:25:00 UTC
[jira] [Updated] (SUREFIRE-1432) Add extension interface with three
implementations for trimStackTrace
[ https://issues.apache.org/jira/browse/SUREFIRE-1432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Digana updated SUREFIRE-1432:
-----------------------------------
Description:
Specify {{IStackTraceExtension}} abstract class with constructor parameter {{boolean trim}} and protected getter for {{trim}}.
DefaultStackTraceImpl - current implementation that trimmed trace prints only test class
SmartStackTraceImpl - full trace or the following if trimmed (for error):
java.lang.NullPointerException: msg
o.a.s.m.xyz.ExceptionThrownFromHereClass (three classes here max.)
o.a.s.m.NestedStackTraceInTheSamePackage
o.a.s.m.NestedStackTraceInTheSamePackage
...
o.a.s.m.SomeTestInSamePackageTest
o.a.s.m.SomeTestInSamePackageTest
(for failure - assertion failed - only this: )
SomeAssertionError: msg
o.a.s.m.SomeTestInSamePackageTest
o.a.s.m.SomeTestInSamePackageTest
Here is brief package displayed or full Java package if totally different from package in test.
was:
Specify {{IStackTraceExtension}} abstract class with constructor parameter {{boolean trim}} and protected getter for {{trim}}.
DefaultStackTraceImpl - current implementation that trimmed trace prints only test class
SmartStackTraceImpl - full trace or the following if trimmed (for error):
java.lang.NullPointerException: msg
o.a.s.m.xyz.ExceptionThrownFromHereClass (three classes here max.)
o.a.s.m.NestedStackTraceInTheSamePackage
o.a.s.m.NestedStackTraceInTheSamePackage
...
o.a.s.m.SomeTestInSamePackageTest
o.a.s.m.SomeTestInSamePackageTest
(for failure - assertion failed - only this:)
SomeAssertionError: msg
o.a.s.m.SomeTestInSamePackageTest
o.a.s.m.SomeTestInSamePackageTest
Here is brief package displayed or full Java package if totally different from package in test.
> Add extension interface with three implementations for trimStackTrace
> ----------------------------------------------------------------------
>
> Key: SUREFIRE-1432
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1432
> Project: Maven Surefire
> Issue Type: Bug
> Reporter: Tibor Digana
> Assignee: Tibor Digana
> Fix For: 3.0
>
>
> Specify {{IStackTraceExtension}} abstract class with constructor parameter {{boolean trim}} and protected getter for {{trim}}.
> DefaultStackTraceImpl - current implementation that trimmed trace prints only test class
> SmartStackTraceImpl - full trace or the following if trimmed (for error):
> java.lang.NullPointerException: msg
> o.a.s.m.xyz.ExceptionThrownFromHereClass (three classes here max.)
> o.a.s.m.NestedStackTraceInTheSamePackage
> o.a.s.m.NestedStackTraceInTheSamePackage
> ...
> o.a.s.m.SomeTestInSamePackageTest
> o.a.s.m.SomeTestInSamePackageTest
> (for failure - assertion failed - only this: )
> SomeAssertionError: msg
> o.a.s.m.SomeTestInSamePackageTest
> o.a.s.m.SomeTestInSamePackageTest
> Here is brief package displayed or full Java package if totally different from package in test.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)