directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r124641 - in incubator/directory/apseda/trunk/src/test/org/apache: apseda apseda/buffer apseda/decoder apseda/event apseda/examples apseda/listener seda
Date Sat, 08 Jan 2005 06:48:07 GMT
Author: akarasulu
Date: Fri Jan  7 22:48:06 2005
New Revision: 124641

URL: http://svn.apache.org/viewcvs?view=rev&rev=124641
Log:
moving tests from seda to apseda package
Added:
   incubator/directory/apseda/trunk/src/test/org/apache/apseda/
      - copied from r124636, incubator/directory/apseda/trunk/src/test/org/apache/seda/
Removed:
   incubator/directory/apseda/trunk/src/test/org/apache/seda/
Modified:
   incubator/directory/apseda/trunk/src/test/org/apache/apseda/DefaultFrontendFactoryTest.java
   incubator/directory/apseda/trunk/src/test/org/apache/apseda/HexDumpTest.java
   incubator/directory/apseda/trunk/src/test/org/apache/apseda/ProtocolTestCase.java
   incubator/directory/apseda/trunk/src/test/org/apache/apseda/buffer/DefaultBufferPoolTest.java
   incubator/directory/apseda/trunk/src/test/org/apache/apseda/decoder/DefaultDecoderManagerTest.java
   incubator/directory/apseda/trunk/src/test/org/apache/apseda/event/AbstractSubscriberTest.java
   incubator/directory/apseda/trunk/src/test/org/apache/apseda/event/DefaultStageTest.java
   incubator/directory/apseda/trunk/src/test/org/apache/apseda/examples/DiscardProtocolProviderTest.java
   incubator/directory/apseda/trunk/src/test/org/apache/apseda/examples/EchoProtocolProviderTest.java
   incubator/directory/apseda/trunk/src/test/org/apache/apseda/listener/AvailablePortFinderTest.java
   incubator/directory/apseda/trunk/src/test/org/apache/apseda/listener/TCPListenerManagerTest.java

Modified: incubator/directory/apseda/trunk/src/test/org/apache/apseda/DefaultFrontendFactoryTest.java
Url: http://svn.apache.org/viewcvs/incubator/directory/apseda/trunk/src/test/org/apache/apseda/DefaultFrontendFactoryTest.java?view=diff&rev=124641&p1=incubator/directory/apseda/trunk/src/test/org/apache/seda/DefaultFrontendFactoryTest.java&r1=124636&p2=incubator/directory/apseda/trunk/src/test/org/apache/apseda/DefaultFrontendFactoryTest.java&r2=124641
==============================================================================
--- incubator/directory/apseda/trunk/src/test/org/apache/seda/DefaultFrontendFactoryTest.java
(original)
+++ incubator/directory/apseda/trunk/src/test/org/apache/apseda/DefaultFrontendFactoryTest.java
Fri Jan  7 22:48:06 2005
@@ -15,19 +15,24 @@
  *
  */
 
-package org.apache.seda;
+package org.apache.apseda;
 
 import java.io.IOException;
 
 import java.net.InetAddress;
 
 import org.apache.commons.net.EchoTCPClient;
-import org.apache.seda.examples.EchoProtocolProvider;
-import org.apache.seda.listener.AvailablePortFinder;
-import org.apache.seda.listener.ListenerConfig;
-import org.apache.seda.listener.TCPListenerConfig;
-import org.apache.seda.protocol.DefaultInetServicesDatabase;
-import org.apache.seda.protocol.InetServiceEntry;
+import org.apache.apseda.examples.EchoProtocolProvider;
+import org.apache.apseda.listener.ListenerConfig;
+import org.apache.apseda.protocol.DefaultInetServicesDatabase;
+import org.apache.apseda.protocol.InetServiceEntry;
+import org.apache.apseda.protocol.InetServiceEntry;
+import org.apache.apseda.examples.EchoProtocolProvider;
+import org.apache.apseda.listener.AvailablePortFinder;
+import org.apache.apseda.listener.TCPListenerConfig;
+import org.apache.apseda.listener.*;
+import org.apache.apseda.DefaultFrontendFactory;
+import org.apache.apseda.DefaultFrontend;
 
 import junit.framework.TestCase;
 

Modified: incubator/directory/apseda/trunk/src/test/org/apache/apseda/HexDumpTest.java
Url: http://svn.apache.org/viewcvs/incubator/directory/apseda/trunk/src/test/org/apache/apseda/HexDumpTest.java?view=diff&rev=124641&p1=incubator/directory/apseda/trunk/src/test/org/apache/seda/HexDumpTest.java&r1=124636&p2=incubator/directory/apseda/trunk/src/test/org/apache/apseda/HexDumpTest.java&r2=124641
==============================================================================
--- incubator/directory/apseda/trunk/src/test/org/apache/seda/HexDumpTest.java	(original)
+++ incubator/directory/apseda/trunk/src/test/org/apache/apseda/HexDumpTest.java	Fri Jan 
7 22:48:06 2005
@@ -14,12 +14,13 @@
  *   limitations under the License.
  *
  */
-package org.apache.seda;
+package org.apache.apseda;
 
 
 import java.nio.ByteBuffer;
 
 import junit.framework.TestCase;
+import org.apache.apseda.HexDump;
 
 
 /**

Modified: incubator/directory/apseda/trunk/src/test/org/apache/apseda/ProtocolTestCase.java
Url: http://svn.apache.org/viewcvs/incubator/directory/apseda/trunk/src/test/org/apache/apseda/ProtocolTestCase.java?view=diff&rev=124641&p1=incubator/directory/apseda/trunk/src/test/org/apache/seda/ProtocolTestCase.java&r1=124636&p2=incubator/directory/apseda/trunk/src/test/org/apache/apseda/ProtocolTestCase.java&r2=124641
==============================================================================
--- incubator/directory/apseda/trunk/src/test/org/apache/seda/ProtocolTestCase.java	(original)
+++ incubator/directory/apseda/trunk/src/test/org/apache/apseda/ProtocolTestCase.java	Fri
Jan  7 22:48:06 2005
@@ -15,18 +15,21 @@
  *
  */
 
-package org.apache.seda;
+package org.apache.apseda;
 
 import junit.framework.TestCase;
 
-import org.apache.seda.listener.AvailablePortFinder;
-import org.apache.seda.listener.ListenerConfig;
-import org.apache.seda.listener.TCPListenerConfig;
-import org.apache.seda.listener.UDPListenerConfig;
-import org.apache.seda.protocol.DefaultInetServicesDatabase;
-import org.apache.seda.protocol.InetServiceEntry;
-import org.apache.seda.protocol.ProtocolProvider;
-import org.apache.seda.protocol.TransportTypeEnum;
+import org.apache.apseda.listener.ListenerConfig;
+import org.apache.apseda.listener.TCPListenerConfig;
+import org.apache.apseda.protocol.InetServiceEntry;
+import org.apache.apseda.protocol.ProtocolProvider;
+import org.apache.apseda.protocol.*;
+import org.apache.apseda.protocol.TransportTypeEnum;
+import org.apache.apseda.listener.UDPListenerConfig;
+import org.apache.apseda.listener.AvailablePortFinder;
+import org.apache.apseda.listener.*;
+import org.apache.apseda.DefaultFrontendFactory;
+import org.apache.apseda.DefaultFrontend;
 
 
 /**

Modified: incubator/directory/apseda/trunk/src/test/org/apache/apseda/buffer/DefaultBufferPoolTest.java
Url: http://svn.apache.org/viewcvs/incubator/directory/apseda/trunk/src/test/org/apache/apseda/buffer/DefaultBufferPoolTest.java?view=diff&rev=124641&p1=incubator/directory/apseda/trunk/src/test/org/apache/seda/buffer/DefaultBufferPoolTest.java&r1=124636&p2=incubator/directory/apseda/trunk/src/test/org/apache/apseda/buffer/DefaultBufferPoolTest.java&r2=124641
==============================================================================
--- incubator/directory/apseda/trunk/src/test/org/apache/seda/buffer/DefaultBufferPoolTest.java
(original)
+++ incubator/directory/apseda/trunk/src/test/org/apache/apseda/buffer/DefaultBufferPoolTest.java
Fri Jan  7 22:48:06 2005
@@ -15,11 +15,15 @@
  *
  */
 
-package org.apache.seda.buffer;
+package org.apache.apseda.buffer;
 
 import java.nio.ByteBuffer;
 
-import org.apache.seda.ResourceException;
+import org.apache.apseda.ResourceException;
+import org.apache.apseda.buffer.LoggingBufferMonitor;
+import org.apache.apseda.buffer.BufferPoolConfig;
+import org.apache.apseda.buffer.DefaultBufferPoolConfig;
+import org.apache.apseda.buffer.DefaultBufferPool;
 
 import junit.framework.TestCase;
 

Modified: incubator/directory/apseda/trunk/src/test/org/apache/apseda/decoder/DefaultDecoderManagerTest.java
Url: http://svn.apache.org/viewcvs/incubator/directory/apseda/trunk/src/test/org/apache/apseda/decoder/DefaultDecoderManagerTest.java?view=diff&rev=124641&p1=incubator/directory/apseda/trunk/src/test/org/apache/seda/decoder/DefaultDecoderManagerTest.java&r1=124636&p2=incubator/directory/apseda/trunk/src/test/org/apache/apseda/decoder/DefaultDecoderManagerTest.java&r2=124641
==============================================================================
--- incubator/directory/apseda/trunk/src/test/org/apache/seda/decoder/DefaultDecoderManagerTest.java
(original)
+++ incubator/directory/apseda/trunk/src/test/org/apache/apseda/decoder/DefaultDecoderManagerTest.java
Fri Jan  7 22:48:06 2005
@@ -15,23 +15,28 @@
  *
  */
 
-package org.apache.seda.decoder;
+package org.apache.apseda.decoder;
 
 import java.util.EventObject;
 import java.util.Iterator;
 
 import junit.framework.TestCase;
 
-import org.apache.seda.event.AbstractSubscriber;
-import org.apache.seda.event.DefaultEventRouter;
-import org.apache.seda.event.EventRouter;
-import org.apache.seda.event.RequestEvent;
-import org.apache.seda.event.RequestSubscriber;
+import org.apache.apseda.event.AbstractSubscriber;
+import org.apache.apseda.event.DefaultEventRouter;
 import org.apache.seda.event.filter.EventTypeFilter;
-import org.apache.seda.protocol.InetServiceEntry;
-import org.apache.seda.protocol.InetServicesDatabase;
-import org.apache.seda.stage.DefaultStageConfig;
-import org.apache.seda.thread.ThreadPool;
+import org.apache.apseda.protocol.InetServiceEntry;
+import org.apache.apseda.protocol.InetServicesDatabase;
+import org.apache.apseda.stage.DefaultStageConfig;
+import org.apache.apseda.thread.ThreadPool;
+import org.apache.apseda.decoder.DecodeStageHandler;
+import org.apache.apseda.decoder.DefaultDecoderManager;
+import org.apache.apseda.event.RequestEvent;
+import org.apache.apseda.event.RequestSubscriber;
+import org.apache.apseda.event.*;
+import org.apache.apseda.protocol.InetServiceEntry;
+import org.apache.apseda.protocol.InetServicesDatabase;
+import org.apache.apseda.thread.ThreadPool;
 
 
 /**
@@ -75,7 +80,7 @@
             new ThreadPool()
                 {
                     /* (non-Javadoc)
-                     * @see org.apache.seda.thread.ThreadPool#execute(java.lang.Runnable)
+                     * @see org.apache.apseda.thread.ThreadPool#execute(java.lang.Runnable)
                      */
                     public void execute(Runnable runnable, Object hint)
                     {
@@ -138,7 +143,7 @@
     }
 
     /* (non-Javadoc)
-     * @see org.apache.seda.event.Subscriber#inform(java.util.EventObject)
+     * @see org.apache.apseda.event.Subscriber#inform(java.util.EventObject)
      */
     public void inform(EventObject event)
     {

Modified: incubator/directory/apseda/trunk/src/test/org/apache/apseda/event/AbstractSubscriberTest.java
Url: http://svn.apache.org/viewcvs/incubator/directory/apseda/trunk/src/test/org/apache/apseda/event/AbstractSubscriberTest.java?view=diff&rev=124641&p1=incubator/directory/apseda/trunk/src/test/org/apache/seda/event/AbstractSubscriberTest.java&r1=124636&p2=incubator/directory/apseda/trunk/src/test/org/apache/apseda/event/AbstractSubscriberTest.java&r2=124641
==============================================================================
--- incubator/directory/apseda/trunk/src/test/org/apache/seda/event/AbstractSubscriberTest.java
(original)
+++ incubator/directory/apseda/trunk/src/test/org/apache/apseda/event/AbstractSubscriberTest.java
Fri Jan  7 22:48:06 2005
@@ -15,13 +15,15 @@
  *
  */
 
-package org.apache.seda.event;
+package org.apache.apseda.event;
 
 import java.nio.ByteBuffer;
 
 import java.util.EventObject;
 
-import org.apache.seda.listener.ClientKey;
+import org.apache.apseda.listener.ClientKey;
+import org.apache.apseda.event.InputEvent;
+import org.apache.apseda.event.AbstractSubscriber;
 
 import junit.framework.TestCase;
 
@@ -95,7 +97,7 @@
         }
 
         /* (non-Javadoc)
-         * @see org.apache.seda.event.InputEvent#claimInterest(java.lang.Object)
+         * @see org.apache.apseda.event.InputEvent#claimInterest(java.lang.Object)
          */
         public ByteBuffer claimInterest(Object party)
         {
@@ -103,7 +105,7 @@
         }
 
         /* (non-Javadoc)
-         * @see org.apache.seda.event.InputEvent#releaseInterest(java.lang.Object)
+         * @see org.apache.apseda.event.InputEvent#releaseInterest(java.lang.Object)
          */
         public void releaseInterest(Object party)
         {

Modified: incubator/directory/apseda/trunk/src/test/org/apache/apseda/event/DefaultStageTest.java
Url: http://svn.apache.org/viewcvs/incubator/directory/apseda/trunk/src/test/org/apache/apseda/event/DefaultStageTest.java?view=diff&rev=124641&p1=incubator/directory/apseda/trunk/src/test/org/apache/seda/event/DefaultStageTest.java&r1=124636&p2=incubator/directory/apseda/trunk/src/test/org/apache/apseda/event/DefaultStageTest.java&r2=124641
==============================================================================
--- incubator/directory/apseda/trunk/src/test/org/apache/seda/event/DefaultStageTest.java
(original)
+++ incubator/directory/apseda/trunk/src/test/org/apache/apseda/event/DefaultStageTest.java
Fri Jan  7 22:48:06 2005
@@ -15,13 +15,15 @@
  *
  */
 
-package org.apache.seda.event;
+package org.apache.apseda.event;
 
 import java.util.ArrayList;
 import java.util.EventObject;
 
 import org.apache.seda.stage.*;
-import org.apache.seda.thread.ThreadPool;
+import org.apache.apseda.thread.ThreadPool;
+import org.apache.apseda.stage.*;
+import org.apache.apseda.thread.ThreadPool;
 
 import junit.framework.TestCase;
 
@@ -67,7 +69,7 @@
             new ThreadPool()
                 {
                     /* (non-Javadoc)
-                     * @see org.apache.seda.thread.ThreadPool#execute(java.lang.Runnable)
+                     * @see org.apache.apseda.thread.ThreadPool#execute(java.lang.Runnable)
                      */
                     public void execute(Runnable runnable, Object hint)
                     {

Modified: incubator/directory/apseda/trunk/src/test/org/apache/apseda/examples/DiscardProtocolProviderTest.java
Url: http://svn.apache.org/viewcvs/incubator/directory/apseda/trunk/src/test/org/apache/apseda/examples/DiscardProtocolProviderTest.java?view=diff&rev=124641&p1=incubator/directory/apseda/trunk/src/test/org/apache/seda/examples/DiscardProtocolProviderTest.java&r1=124636&p2=incubator/directory/apseda/trunk/src/test/org/apache/apseda/examples/DiscardProtocolProviderTest.java&r2=124641
==============================================================================
--- incubator/directory/apseda/trunk/src/test/org/apache/seda/examples/DiscardProtocolProviderTest.java
(original)
+++ incubator/directory/apseda/trunk/src/test/org/apache/apseda/examples/DiscardProtocolProviderTest.java
Fri Jan  7 22:48:06 2005
@@ -15,7 +15,7 @@
  *
  */
 
-package org.apache.seda.examples;
+package org.apache.apseda.examples;
 
 import java.io.InputStream;
 import java.io.OutputStream;
@@ -26,7 +26,9 @@
 import java.net.Socket;
 import java.net.SocketTimeoutException;
 
-import org.apache.seda.ProtocolTestCase;
+import org.apache.apseda.ProtocolTestCase;
+import org.apache.apseda.examples.DiscardProtocolProvider;
+import org.apache.apseda.ProtocolTestCase;
 
 
 /**

Modified: incubator/directory/apseda/trunk/src/test/org/apache/apseda/examples/EchoProtocolProviderTest.java
Url: http://svn.apache.org/viewcvs/incubator/directory/apseda/trunk/src/test/org/apache/apseda/examples/EchoProtocolProviderTest.java?view=diff&rev=124641&p1=incubator/directory/apseda/trunk/src/test/org/apache/seda/examples/EchoProtocolProviderTest.java&r1=124636&p2=incubator/directory/apseda/trunk/src/test/org/apache/apseda/examples/EchoProtocolProviderTest.java&r2=124641
==============================================================================
--- incubator/directory/apseda/trunk/src/test/org/apache/seda/examples/EchoProtocolProviderTest.java
(original)
+++ incubator/directory/apseda/trunk/src/test/org/apache/apseda/examples/EchoProtocolProviderTest.java
Fri Jan  7 22:48:06 2005
@@ -15,14 +15,16 @@
  *
  */
 
-package org.apache.seda.examples;
+package org.apache.apseda.examples;
 
 import java.net.InetAddress;
 import java.net.SocketTimeoutException;
 
 import org.apache.commons.net.EchoTCPClient;
 import org.apache.commons.net.EchoUDPClient;
-import org.apache.seda.ProtocolTestCase;
+import org.apache.apseda.ProtocolTestCase;
+import org.apache.apseda.examples.EchoProtocolProvider;
+import org.apache.apseda.ProtocolTestCase;
 
 
 /**

Modified: incubator/directory/apseda/trunk/src/test/org/apache/apseda/listener/AvailablePortFinderTest.java
Url: http://svn.apache.org/viewcvs/incubator/directory/apseda/trunk/src/test/org/apache/apseda/listener/AvailablePortFinderTest.java?view=diff&rev=124641&p1=incubator/directory/apseda/trunk/src/test/org/apache/seda/listener/AvailablePortFinderTest.java&r1=124636&p2=incubator/directory/apseda/trunk/src/test/org/apache/apseda/listener/AvailablePortFinderTest.java&r2=124641
==============================================================================
--- incubator/directory/apseda/trunk/src/test/org/apache/seda/listener/AvailablePortFinderTest.java
(original)
+++ incubator/directory/apseda/trunk/src/test/org/apache/apseda/listener/AvailablePortFinderTest.java
Fri Jan  7 22:48:06 2005
@@ -15,10 +15,11 @@
  *
  */
 
-package org.apache.seda.listener;
+package org.apache.apseda.listener;
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
+import org.apache.apseda.listener.AvailablePortFinder;
 
 
 /**

Modified: incubator/directory/apseda/trunk/src/test/org/apache/apseda/listener/TCPListenerManagerTest.java
Url: http://svn.apache.org/viewcvs/incubator/directory/apseda/trunk/src/test/org/apache/apseda/listener/TCPListenerManagerTest.java?view=diff&rev=124641&p1=incubator/directory/apseda/trunk/src/test/org/apache/seda/listener/TCPListenerManagerTest.java&r1=124636&p2=incubator/directory/apseda/trunk/src/test/org/apache/apseda/listener/TCPListenerManagerTest.java&r2=124641
==============================================================================
--- incubator/directory/apseda/trunk/src/test/org/apache/seda/listener/TCPListenerManagerTest.java
(original)
+++ incubator/directory/apseda/trunk/src/test/org/apache/apseda/listener/TCPListenerManagerTest.java
Fri Jan  7 22:48:06 2005
@@ -15,13 +15,18 @@
  *
  */
 
-package org.apache.seda.listener;
+package org.apache.apseda.listener;
 
 import java.net.InetAddress;
 
-import org.apache.seda.event.DefaultEventRouter;
-import org.apache.seda.event.EventRouter;
-import org.apache.seda.protocol.InetServiceEntry;
+import org.apache.apseda.event.DefaultEventRouter;
+import org.apache.apseda.event.EventRouter;
+import org.apache.apseda.listener.TCPListenerManager;
+import org.apache.apseda.listener.AvailablePortFinder;
+import org.apache.apseda.listener.TCPListenerConfig;
+import org.apache.apseda.listener.ListenerConfig;
+import org.apache.apseda.protocol.InetServiceEntry;
+import org.apache.apseda.protocol.InetServiceEntry;
 
 import junit.framework.TestCase;
 

Mime
View raw message