Title: [2656] branches/v2_1/openejb2/modules/core/src/test/org/openejb/client: Moving to the correct location
- Revision
- 2656
- Author
- dblevins
- Date
- 2006-05-12 21:10:24 -0400 (Fri, 12 May 2006)
Log Message
Moving to the correct location
Added Paths
Removed Paths
Diff
Deleted: branches/v2_1/openejb2/modules/core/src/java/org/openejb/client/AbstractProtocolTest.java (2655 => 2656)
--- branches/v2_1/openejb2/modules/core/src/java/org/openejb/client/AbstractProtocolTest.java 2006-05-12 23:27:07 UTC (rev 2655)
+++ branches/v2_1/openejb2/modules/core/src/java/org/openejb/client/AbstractProtocolTest.java 2006-05-13 01:10:24 UTC (rev 2656)
@@ -1,44 +0,0 @@
-/**
- *
- * Copyright 2006 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.openejb.client;
-
-import junit.framework.TestCase;
-
-import java.io.Externalizable;
-import java.io.IOException;
-import java.io.ByteArrayOutputStream;
-import java.io.ObjectOutputStream;
-import java.io.ByteArrayInputStream;
-import java.io.ObjectInputStream;
-
-/**
- * @version $Revision$ $Date$
- */
-public class AbstractProtocolTest extends TestCase {
- protected void externalize(Externalizable original, Externalizable copy) throws IOException, ClassNotFoundException {
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- ObjectOutputStream out = new ObjectOutputStream(baos);
-
- original.writeExternal(out);
- out.close();
-
- ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
- ObjectInputStream in = new ObjectInputStream(bais);
-
- copy.readExternal(in);
- }
-}
Copied: branches/v2_1/openejb2/modules/core/src/test/org/openejb/client/AbstractProtocolTest.java (from rev 2655, branches/v2_1/openejb2/modules/core/src/java/org/openejb/client/AbstractProtocolTest.java) (0 => 2656)
--- branches/v2_1/openejb2/modules/core/src/test/org/openejb/client/AbstractProtocolTest.java (rev 0)
+++ branches/v2_1/openejb2/modules/core/src/test/org/openejb/client/AbstractProtocolTest.java 2006-05-13 01:10:24 UTC (rev 2656)
@@ -0,0 +1,44 @@
+/**
+ *
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.openejb.client;
+
+import junit.framework.TestCase;
+
+import java.io.Externalizable;
+import java.io.IOException;
+import java.io.ByteArrayOutputStream;
+import java.io.ObjectOutputStream;
+import java.io.ByteArrayInputStream;
+import java.io.ObjectInputStream;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public class AbstractProtocolTest extends TestCase {
+ protected void externalize(Externalizable original, Externalizable copy) throws IOException, ClassNotFoundException {
+ ByteArrayOutputStream baos = new ByteArrayOutputStream();
+ ObjectOutputStream out = new ObjectOutputStream(baos);
+
+ original.writeExternal(out);
+ out.close();
+
+ ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
+ ObjectInputStream in = new ObjectInputStream(bais);
+
+ copy.readExternal(in);
+ }
+}