X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=support%2Fgeneral%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fio%2FTestData.java;h=7f72aad524d86c14f6177ce9fc56bd78937949d4;hb=26805fc0810098c4bd8009a35c8719478e74153e;hp=8430b0988407fa76f833d0a9782685d08044d6bf;hpb=f7fc25fbfd96a245bb09e14242107ed633d86dd8;p=utils diff --git a/support/general/src/test/java/org/wamblee/io/TestData.java b/support/general/src/test/java/org/wamblee/io/TestData.java index 8430b098..7f72aad5 100644 --- a/support/general/src/test/java/org/wamblee/io/TestData.java +++ b/support/general/src/test/java/org/wamblee/io/TestData.java @@ -12,21 +12,16 @@ * 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.wamblee.io; -import junit.framework.Assert; - import java.io.ByteArrayInputStream; import java.io.File; -import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; -import java.io.OutputStream; -import java.nio.MappedByteBuffer; -import java.nio.channels.FileChannel; +import junit.framework.Assert; /** * TestData provides a convenient interface for managing test output files. @@ -34,7 +29,6 @@ import java.nio.channels.FileChannel; * @author Erik Brakkee */ public final class TestData { - private Object testcase; private File root; /** @@ -43,7 +37,6 @@ public final class TestData { * test. */ public TestData(Object aTestcase) { - testcase = aTestcase; root = getTestRootDir(aTestcase); FileSystemUtils.createDir(root); }