1
0

Bugzilla Defect 10825 [thanks for the patch & the education!]

Added real text & exceptions to tests.. it's harder to read :-(


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138923 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Richard A. Sitze
2002-10-17 23:00:04 +00:00
parent 8c5d183b40
commit 03368dd582
2 changed files with 39 additions and 34 deletions

View File

@@ -86,29 +86,29 @@ public abstract class AbstractLogTest extends TestCase {
assertNotNull(log);
log.debug(null);
log.debug("debug statement");
log.debug(null, null);
log.debug("debug statement w/ null exception", new RuntimeException());
log.error(null);
log.error("error statement");
log.error(null, null);
log.error("error statement w/ null exception", new RuntimeException());
log.fatal(null);
log.fatal("fatal statement");
log.fatal(null, null);
log.fatal("fatal statement w/ null exception", new RuntimeException());
log.info(null);
log.info("info statement");
log.info(null, null);
log.info("info statement w/ null exception", new RuntimeException());
log.trace(null);
log.trace("trace statement");
log.trace(null, null);
log.trace("trace statement w/ null exception", new RuntimeException());
log.warn(null);
log.warn("warn statement");
log.warn(null, null);
log.warn("warn statement w/ null exception", new RuntimeException());
}
}