Author: nextgens
Date: 2008-08-18 10:01:44 +0000 (Mon, 18 Aug 2008)
New Revision: 21995
Added:
trunk/freenet/test/freenet/support/io/MockInputStream.java
Removed:
trunk/freenet/src/freenet/support/io/MockInputStream.java
Modified:
trunk/freenet/build.xml
Log:
Move the MockInputStream from src/ to test/ as sdiz suggested
Modified: trunk/freenet/build.xml
===================================================================
--- trunk/freenet/build.xml 2008-08-18 09:59:24 UTC (rev 21994)
+++ trunk/freenet/build.xml 2008-08-18 10:01:44 UTC (rev 21995)
@@ -157,7 +157,7 @@
<batchtest fork="yes">
<fileset dir="${build-test}">
- <include name="**/*.class"/>
+ <include name="**/*Test.class"/>
</fileset>
</batchtest>
<sysproperty key="benchmark" value="${benchmark}" />
Deleted: trunk/freenet/src/freenet/support/io/MockInputStream.java
===================================================================
--- trunk/freenet/src/freenet/support/io/MockInputStream.java 2008-08-18
09:59:24 UTC (rev 21994)
+++ trunk/freenet/src/freenet/support/io/MockInputStream.java 2008-08-18
10:01:44 UTC (rev 21995)
@@ -1,20 +0,0 @@
-/* This code is part of Freenet. It is distributed under the GNU General
- * Public License, version 2 (or at your option any later version). See
- * http://www.gnu.org/ for further details of the GPL. */
-package freenet.support.io;
-
-import java.io.InputStream;
-
-public class MockInputStream extends InputStream {
-
- public MockInputStream() {
- }
-
- public int read() {
- return -1;
- }
-
- public int read(byte[] data, int offset, int len) {
- return len;
- }
-}
\ No newline at end of file
Copied: trunk/freenet/test/freenet/support/io/MockInputStream.java (from rev
21986, trunk/freenet/src/freenet/support/io/MockInputStream.java)
===================================================================
--- trunk/freenet/test/freenet/support/io/MockInputStream.java
(rev 0)
+++ trunk/freenet/test/freenet/support/io/MockInputStream.java 2008-08-18
10:01:44 UTC (rev 21995)
@@ -0,0 +1,20 @@
+/* This code is part of Freenet. It is distributed under the GNU General
+ * Public License, version 2 (or at your option any later version). See
+ * http://www.gnu.org/ for further details of the GPL. */
+package freenet.support.io;
+
+import java.io.InputStream;
+
+public class MockInputStream extends InputStream {
+
+ public MockInputStream() {
+ }
+
+ public int read() {
+ return -1;
+ }
+
+ public int read(byte[] data, int offset, int len) {
+ return len;
+ }
+}
\ No newline at end of file
Property changes on: trunk/freenet/test/freenet/support/io/MockInputStream.java
___________________________________________________________________
Name: svn:mergeinfo
+