Repository: commons-io
Updated Branches:
  refs/heads/master 4ed92759f -> bfab522d7


Replace custom temporary folder management with JUnit's TemporaryFolder.
This will allow Maven to run tests concurrently.

Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/bfab522d
Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/bfab522d
Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/bfab522d

Branch: refs/heads/master
Commit: bfab522d7bd4e52ff38aeef42314b963e76763df
Parents: 4ed9275
Author: Gary Gregory <ggreg...@apache.org>
Authored: Wed Sep 27 13:16:15 2017 -0600
Committer: Gary Gregory <ggreg...@apache.org>
Committed: Wed Sep 27 13:16:15 2017 -0600

----------------------------------------------------------------------
 .../commons/io/testtools/FileBasedTestCase.java | 42 --------------------
 1 file changed, 42 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-io/blob/bfab522d/src/test/java/org/apache/commons/io/testtools/FileBasedTestCase.java
----------------------------------------------------------------------
diff --git 
a/src/test/java/org/apache/commons/io/testtools/FileBasedTestCase.java 
b/src/test/java/org/apache/commons/io/testtools/FileBasedTestCase.java
deleted file mode 100644
index 5325bc9..0000000
--- a/src/test/java/org/apache/commons/io/testtools/FileBasedTestCase.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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.apache.commons.io.testtools;
-
-import java.io.*;
-import static org.junit.Assert.fail;
-
-/**
- * Base class for testcases doing tests with files.
- */
-public abstract class FileBasedTestCase  {
-
-    private static volatile File testDir;
-
-    @SuppressWarnings("ResultOfMethodCallIgnored")
-    public static File getTestDirectory() {
-        if (testDir == null) {
-            testDir = new File("target/test_io/").getAbsoluteFile();
-        }
-        testDir.mkdirs();
-        if (!testDir.isDirectory()) {
-            fail("Could not create directory " + testDir);
-        }
-        return testDir;
-    }
-
-
-}

Reply via email to