You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by sc...@apache.org on 2009/01/30 00:10:20 UTC

svn commit: r739074 [2/2] - in /incubator/etch/trunk: binding-java/runtime/src/main/java/org/apache/etch/bindings/java/support/ binding-java/runtime/src/test/java/org/apache/etch/bindings/java/msg/ binding-java/runtime/src/test/java/org/apache/etch/bin...

Modified: incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestRemoteTest1DotJava.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestRemoteTest1DotJava.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestRemoteTest1DotJava.java (original)
+++ incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestRemoteTest1DotJava.java Thu Jan 29 23:10:17 2009
@@ -31,9 +31,6 @@
 import org.apache.etch.bindings.java.support.DeliveryService;
 import org.apache.etch.bindings.java.support.Mailbox;
 import org.apache.etch.bindings.java.transport.SessionMessage;
-import org.apache.etch.tests.RemoteTest1;
-import org.apache.etch.tests.Test1;
-import org.apache.etch.tests.ValueFactoryTest1;
 import org.apache.etch.tests.Test1.E1;
 import org.apache.etch.tests.Test1.Excp1;
 import org.apache.etch.tests.Test1.Excp3;

Modified: incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestStubTest1DotJava.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestStubTest1DotJava.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestStubTest1DotJava.java (original)
+++ incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestStubTest1DotJava.java Thu Jan 29 23:10:17 2009
@@ -29,9 +29,6 @@
 import org.apache.etch.bindings.java.support.Pool;
 import org.apache.etch.bindings.java.support._Etch_AuthException;
 import org.apache.etch.bindings.java.transport.SessionMessage;
-import org.apache.etch.tests.StubTest1;
-import org.apache.etch.tests.Test1;
-import org.apache.etch.tests.ValueFactoryTest1;
 import org.apache.etch.util.core.Who;
 
 

Modified: incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestTest1DotJava.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestTest1DotJava.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestTest1DotJava.java (original)
+++ incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestTest1DotJava.java Thu Jan 29 23:10:17 2009
@@ -25,8 +25,6 @@
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.fail;
 
-import org.apache.etch.tests.Test1;
-
 /** Test of Test1 */
 public class TestTest1DotJava
 {

Modified: incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestTest1Helper.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestTest1Helper.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestTest1Helper.java (original)
+++ incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestTest1Helper.java Thu Jan 29 23:10:17 2009
@@ -20,10 +20,6 @@
 import org.apache.etch.bindings.java.support.ServerFactory;
 import org.apache.etch.bindings.java.support.TransportFactory;
 import org.apache.etch.bindings.java.transport.TcpTransportFactory;
-import org.apache.etch.tests.MainTest1Client;
-import org.apache.etch.tests.MainTest1Listener;
-import org.apache.etch.tests.RemoteTest1Server;
-import org.apache.etch.tests.Test1Helper;
 import org.apache.etch.util.core.io.Transport;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;

Modified: incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestValueFactoryTest1DotJava.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestValueFactoryTest1DotJava.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestValueFactoryTest1DotJava.java (original)
+++ incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestValueFactoryTest1DotJava.java Thu Jan 29 23:10:17 2009
@@ -28,8 +28,6 @@
 import org.apache.etch.bindings.java.msg.Field;
 import org.apache.etch.bindings.java.msg.StructValue;
 import org.apache.etch.bindings.java.msg.Type;
-import org.apache.etch.tests.Test1;
-import org.apache.etch.tests.ValueFactoryTest1;
 import org.apache.etch.tests.Test1.E1;
 import org.apache.etch.tests.Test1.Excp1;
 import org.apache.etch.tests.Test1.Excp2;

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/PerfBasics.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/PerfBasics.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/PerfBasics.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/PerfBasics.java Thu Jan 29 23:10:17 2009
@@ -20,8 +20,6 @@
 import java.util.HashMap;
 import java.util.Map;
 
-import org.apache.etch.util.PerfTest;
-
 /**
  * Basic perf tests.
  */

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestAlarmManager.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestAlarmManager.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestAlarmManager.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestAlarmManager.java Thu Jan 29 23:10:17 2009
@@ -18,12 +18,14 @@
 
 package org.apache.etch.util;
 
-import org.apache.etch.util.AlarmListener;
-import org.apache.etch.util.AlarmManager;
-import org.apache.etch.util.Monitor;
-import org.apache.etch.util.TimeoutException;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertNull;
+import static org.junit.Assert.assertSame;
+import static org.junit.Assert.assertTrue;
+
 import org.junit.Test;
-import static org.junit.Assert.*;
 
 /** Test of AlarmManager */
 public class TestAlarmManager

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestCircularQueue.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestCircularQueue.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestCircularQueue.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestCircularQueue.java Thu Jan 29 23:10:17 2009
@@ -23,9 +23,6 @@
 import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertTrue;
 
-import org.apache.etch.util.CircularQueue;
-import org.apache.etch.util.TimeoutException;
-import org.apache.etch.util.Timer;
 import org.junit.Test;
 
 /** Test of CircularQueue */

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestFlexBuffer.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestFlexBuffer.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestFlexBuffer.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestFlexBuffer.java Thu Jan 29 23:10:17 2009
@@ -22,7 +22,6 @@
 import java.io.EOFException;
 import java.io.IOException;
 
-import org.apache.etch.util.FlexBuffer;
 import org.junit.Test;
 
 /**

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestMonitor.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestMonitor.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestMonitor.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestMonitor.java Thu Jan 29 23:10:17 2009
@@ -21,8 +21,6 @@
 import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertTrue;
 
-import org.apache.etch.util.Monitor;
-import org.apache.etch.util.TimeoutException;
 import org.junit.Test;
 
 /** Test of Monitor */

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestUrl1.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestUrl1.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestUrl1.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/TestUrl1.java Thu Jan 29 23:10:17 2009
@@ -27,7 +27,6 @@
 import java.util.Map;
 import java.util.Set;
 
-import org.apache.etch.util.URL;
 import org.junit.Test;
 
 /**

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/cmd/TestCommandParser.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/cmd/TestCommandParser.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/cmd/TestCommandParser.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/cmd/TestCommandParser.java Thu Jan 29 23:10:17 2009
@@ -25,9 +25,6 @@
 import java.util.ArrayList;
 import java.util.List;
 
-import org.apache.etch.util.cmd.CommandParser;
-import org.apache.etch.util.cmd.Option;
-import org.apache.etch.util.cmd.Parameter;
 import org.junit.Test;
 
 /**

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestPacketizer.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestPacketizer.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestPacketizer.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestPacketizer.java Thu Jan 29 23:10:17 2009
@@ -27,10 +27,6 @@
 
 import org.apache.etch.util.FlexBuffer;
 import org.apache.etch.util.core.Who;
-import org.apache.etch.util.core.io.Packetizer;
-import org.apache.etch.util.core.io.SessionData;
-import org.apache.etch.util.core.io.SessionPacket;
-import org.apache.etch.util.core.io.TransportData;
 import org.junit.Before;
 import org.junit.Test;
 

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestTcpConnection.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestTcpConnection.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestTcpConnection.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestTcpConnection.java Thu Jan 29 23:10:17 2009
@@ -32,12 +32,6 @@
 import org.apache.etch.util.Log;
 import org.apache.etch.util.Monitor;
 import org.apache.etch.util.core.Who;
-import org.apache.etch.util.core.io.Session;
-import org.apache.etch.util.core.io.SessionData;
-import org.apache.etch.util.core.io.SessionListener;
-import org.apache.etch.util.core.io.TcpConnection;
-import org.apache.etch.util.core.io.TcpListener;
-import org.apache.etch.util.core.io.TcpTransport;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
 import org.junit.Test;

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestTcpListener.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestTcpListener.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestTcpListener.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestTcpListener.java Thu Jan 29 23:10:17 2009
@@ -29,9 +29,6 @@
 
 import org.apache.etch.util.Monitor;
 import org.apache.etch.util.TimeoutException;
-import org.apache.etch.util.core.io.Session;
-import org.apache.etch.util.core.io.SessionListener;
-import org.apache.etch.util.core.io.TcpListener;
 import org.junit.Test;
 
 

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestUdpConnection.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestUdpConnection.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestUdpConnection.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/io/TestUdpConnection.java Thu Jan 29 23:10:17 2009
@@ -25,9 +25,6 @@
 
 import org.apache.etch.util.FlexBuffer;
 import org.apache.etch.util.core.Who;
-import org.apache.etch.util.core.io.Session;
-import org.apache.etch.util.core.io.SessionPacket;
-import org.apache.etch.util.core.io.UdpConnection;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Ignore;

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestByteBufferPool.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestByteBufferPool.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestByteBufferPool.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestByteBufferPool.java Thu Jan 29 23:10:17 2009
@@ -26,7 +26,6 @@
 import java.io.IOException;
 import java.nio.ByteBuffer;
 
-import org.apache.etch.util.core.nio.ByteBufferPool;
 import org.apache.etch.util.core.nio.ByteBufferPool.Notify;
 import org.junit.Test;
 

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestHistory.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestHistory.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestHistory.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestHistory.java Thu Jan 29 23:10:17 2009
@@ -22,7 +22,6 @@
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.fail;
 
-import org.apache.etch.util.core.nio.History;
 import org.junit.Test;
 
 

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestTcp2Connection.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestTcp2Connection.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestTcp2Connection.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestTcp2Connection.java Thu Jan 29 23:10:17 2009
@@ -37,10 +37,6 @@
 import org.apache.etch.util.core.io.Session;
 import org.apache.etch.util.core.io.SessionData;
 import org.apache.etch.util.core.io.SessionListener;
-import org.apache.etch.util.core.nio.ByteBufferPool;
-import org.apache.etch.util.core.nio.SuperSelector;
-import org.apache.etch.util.core.nio.Tcp2Connection;
-import org.apache.etch.util.core.nio.Tcp2Listener;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
 import org.junit.Test;

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestTcp2Listener.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestTcp2Listener.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestTcp2Listener.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/nio/TestTcp2Listener.java Thu Jan 29 23:10:17 2009
@@ -35,8 +35,6 @@
 import org.apache.etch.util.Resources;
 import org.apache.etch.util.core.io.Session;
 import org.apache.etch.util.core.io.SessionListener;
-import org.apache.etch.util.core.nio.SuperSelector;
-import org.apache.etch.util.core.nio.Tcp2Listener;
 import org.junit.Test;
 
 

Modified: incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/xml/testXmlParser.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/xml/testXmlParser.java?rev=739074&r1=739073&r2=739074&view=diff
==============================================================================
--- incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/xml/testXmlParser.java (original)
+++ incubator/etch/trunk/util/src/test/java/org/apache/etch/util/core/xml/testXmlParser.java Thu Jan 29 23:10:17 2009
@@ -25,8 +25,6 @@
 import java.util.Vector;
 
 import org.apache.etch.util.Timer;
-import org.apache.etch.util.core.xml.ParseException;
-import org.apache.etch.util.core.xml.XmlParser;