[logback-dev] svn commit: r1619 - in logback/trunk/logback-access/src/test/java/ch/qos/logback/access: db net

noreply.ceki at qos.ch noreply.ceki at qos.ch
Mon Feb 4 17:57:35 CET 2008


Author: ceki
Date: Mon Feb  4 17:57:35 2008
New Revision: 1619

Modified:
   logback/trunk/logback-access/src/test/java/ch/qos/logback/access/db/DBAppenderTest.java
   logback/trunk/logback-access/src/test/java/ch/qos/logback/access/net/SocketAppenderTest.java

Log:
- renamed BasicContext as AccessContext for extra clarity

Modified: logback/trunk/logback-access/src/test/java/ch/qos/logback/access/db/DBAppenderTest.java
==============================================================================
--- logback/trunk/logback-access/src/test/java/ch/qos/logback/access/db/DBAppenderTest.java	(original)
+++ logback/trunk/logback-access/src/test/java/ch/qos/logback/access/db/DBAppenderTest.java	Mon Feb  4 17:57:35 2008
@@ -8,13 +8,13 @@
 import ch.qos.logback.access.dummy.DummyResponse;
 import ch.qos.logback.access.dummy.DummyServerAdapter;
 import ch.qos.logback.access.spi.AccessEvent;
-import ch.qos.logback.access.spi.BasicContext;
+import ch.qos.logback.access.spi.AccessContext;
 import ch.qos.logback.core.db.DriverManagerConnectionSource;
 import ch.qos.logback.core.util.StatusPrinter;
 
 public class DBAppenderTest extends DBAppenderTestBase {
 
-  BasicContext context;
+  AccessContext context;
   DBAppender appender;
   DriverManagerConnectionSource connectionSource;
 
@@ -24,7 +24,7 @@
 
   public void setUp() throws SQLException {
     super.setUp();
-    context = new BasicContext();
+    context = new AccessContext();
     context.setName("default");
     appender = new DBAppender();
     appender.setName("DB");

Modified: logback/trunk/logback-access/src/test/java/ch/qos/logback/access/net/SocketAppenderTest.java
==============================================================================
--- logback/trunk/logback-access/src/test/java/ch/qos/logback/access/net/SocketAppenderTest.java	(original)
+++ logback/trunk/logback-access/src/test/java/ch/qos/logback/access/net/SocketAppenderTest.java	Mon Feb  4 17:57:35 2008
@@ -14,16 +14,16 @@
 import ch.qos.logback.access.dummy.DummyResponse;
 import ch.qos.logback.access.dummy.DummyServerAdapter;
 import ch.qos.logback.access.spi.AccessEvent;
-import ch.qos.logback.access.spi.BasicContext;
+import ch.qos.logback.access.spi.AccessContext;
 
 
 public class SocketAppenderTest extends TestCase {
 
-  private BasicContext context;
+  private AccessContext context;
   private MockSocketServer mockSocketServer;
 
   public void testStartFailNoRemoteHost() {
-    context = new BasicContext();
+    context = new AccessContext();
     SocketAppender appender = new SocketAppender();
     appender.setContext(context);
     appender.setPort(123);
@@ -57,7 +57,7 @@
   }
 
   private void configureClient() {
-    context = new BasicContext();
+    context = new AccessContext();
     context.setName("test");
     SocketAppender socketAppender = new SocketAppender();
     socketAppender.setContext(context);



More information about the logback-dev mailing list