[logback-dev] svn commit: r1782 - in logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic: html net

noreply.ceki at qos.ch noreply.ceki at qos.ch
Wed Aug 27 20:06:57 CEST 2008


Author: ceki
Date: Wed Aug 27 20:06:57 2008
New Revision: 1782

Modified:
   logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/html/PackageTest.java
   logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SMTPAppender_GreenTest.java

Log:
- minor fixes

Modified: logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/html/PackageTest.java
==============================================================================
--- logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/html/PackageTest.java	(original)
+++ logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/html/PackageTest.java	Wed Aug 27 20:06:57 2008
@@ -1,7 +1,7 @@
 /**
  * Logback: the generic, reliable, fast and flexible logging framework.
  * 
- * Copyright (C) 1999-2006, QOS.ch
+ * Copyright (C) 2000-2008, QOS.ch
  * 
  * This library is free software, you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the Free
@@ -9,13 +9,16 @@
  */
 package ch.qos.logback.classic.html;
 
-import junit.framework.*;
+import junit.framework.JUnit4TestAdapter;
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
 
 public class PackageTest extends TestCase {
 
   public static Test suite() {
     TestSuite suite = new TestSuite();
-    suite.addTestSuite(HTMLLayoutTest.class);
+    suite.addTest(new JUnit4TestAdapter(HTMLLayoutTest.class));
     return suite;
   }
 }
\ No newline at end of file

Modified: logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SMTPAppender_GreenTest.java
==============================================================================
--- logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SMTPAppender_GreenTest.java	(original)
+++ logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SMTPAppender_GreenTest.java	Wed Aug 27 20:06:57 2008
@@ -4,7 +4,6 @@
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
 
-import java.io.FileOutputStream;
 import java.util.Random;
 
 import javax.mail.internet.MimeMessage;
@@ -13,7 +12,6 @@
 import org.dom4j.io.SAXReader;
 import org.junit.After;
 import org.junit.Before;
-import org.junit.Ignore;
 import org.junit.Test;
 
 import ch.qos.logback.classic.Logger;
@@ -24,7 +22,6 @@
 import ch.qos.logback.classic.spi.LoggingEvent;
 import ch.qos.logback.core.CoreGlobal;
 import ch.qos.logback.core.Layout;
-import ch.qos.logback.core.html.HTMLLayoutBase;
 
 import com.icegreen.greenmail.util.GreenMail;
 import com.icegreen.greenmail.util.GreenMailUtil;


More information about the logback-dev mailing list