[logback-dev] [qos-ch/logback] dcfb0a: Fix ThrowableProxy unit tests

Tony Trinh tony19 at gmail.com
Fri Sep 13 07:08:19 CEST 2013


  Branch: refs/heads/master
  Home:   https://github.com/qos-ch/logback
  Commit: dcfb0a056f3e084d8395b33f4d4acdb5d7ea7dba
      https://github.com/qos-ch/logback/commit/dcfb0a056f3e084d8395b33f4d4acdb5d7ea7dba
  Author: Tony Trinh <tony19 at gmail.com>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M logback-classic/src/test/java/ch/qos/logback/classic/pattern/ExtendedThrowableProxyConverterTest.java
    M logback-classic/src/test/java/ch/qos/logback/classic/pattern/RootCauseFirstThrowableProxyConverterTest.java

  Log Message:
  -----------
  Fix ThrowableProxy unit tests

Modified the regex patterns in RootCauseFirstThrowableProxyTest and
ExtendedThrowableProxyTest to find any packaging info in the throwable's
stack trace, including inexact matches.

On Cloudbees Jenkins, these tests were failing because they were looking
for an exact match of the JUnit package but only found an inexact one.





More information about the logback-dev mailing list