Class StackTraceFilter
java.lang.Object
org.mockito.internal.exceptions.stacktrace.StackTraceFilter
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter
(StackTraceElement[] target, boolean keepTop) Example how the filter works (+/- means good/bad): [a+, b+, c-, d+, e+, f-, g+] -> [a+, b+, g+] Basically removes all bad from the middle.
-
Constructor Details
-
StackTraceFilter
public StackTraceFilter()
-
-
Method Details
-
filter
Example how the filter works (+/- means good/bad): [a+, b+, c-, d+, e+, f-, g+] -> [a+, b+, g+] Basically removes all bad from the middle. If any good are in the middle of bad those are also removed.
-