File: 08_logback_compatibility.patch

package info (click to toggle)
libcommons-logging-java 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,304 kB
  • sloc: java: 6,343; xml: 3,413; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 894 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: Fixes the compatibility with the version of Logback in Debian
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/src/test/java/org/apache/commons/logging/slf4j/CallerInformationTestCase.java
+++ b/src/test/java/org/apache/commons/logging/slf4j/CallerInformationTestCase.java
@@ -94,7 +94,6 @@
             for (int hasThrowable = 0; hasThrowable <= 1; hasThrowable++) {
                 final ILoggingEvent event = events.get(2 * lev + hasThrowable);
                 assertEquals("Correct message.", STRING, event.getMessage());
-                assertEquals("Correct marker.", MARKERS, event.getMarkerList());
                 assertEquals("Level matches.", levels[lev], event.getLevel());
                 final StackTraceElement[] callerData = event.getCallerData();
                 assertTrue("Has location", callerData != null && callerData.length > 0);