< prev index next >

test/java/nio/file/FileStore/Basic.java

Print this page
rev 17325 : 8181761: add explicit @build actions for jdk.test.lib classes in all :tier2 tests
Reviewed-by: duke


   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /* @test
  25  * @bug 4313887 6873621 6979526 7006126 7020517
  26  * @summary Unit test for java.nio.file.FileStore
  27  * @key intermittent
  28  * @library .. /test/lib







  29  * @run main Basic
  30  */
  31 
  32 import java.nio.file.*;
  33 import java.nio.file.attribute.*;
  34 import java.io.File;
  35 import java.io.IOException;
  36 
  37 import jdk.test.lib.util.FileUtils;
  38 
  39 
  40 public class Basic {
  41 
  42     static final long G = 1024L * 1024L * 1024L;
  43 
  44     public static void main(String[] args) throws IOException {
  45         Path dir = TestUtil.createTemporaryDirectory();
  46         try {
  47             doTests(dir);
  48         } finally {




   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /* @test
  25  * @bug 4313887 6873621 6979526 7006126 7020517
  26  * @summary Unit test for java.nio.file.FileStore
  27  * @key intermittent
  28  * @library .. /test/lib
  29  * @build jdk.test.lib.util.FileUtils
  30  *        jdk.test.lib.Utils
  31  *        jdk.test.lib.Asserts
  32  *        jdk.test.lib.JDKToolFinder
  33  *        jdk.test.lib.JDKToolLauncher
  34  *        jdk.test.lib.Platform
  35  *        jdk.test.lib.process.*
  36  * @run main Basic
  37  */
  38 
  39 import java.nio.file.*;
  40 import java.nio.file.attribute.*;
  41 import java.io.File;
  42 import java.io.IOException;
  43 
  44 import jdk.test.lib.util.FileUtils;
  45 
  46 
  47 public class Basic {
  48 
  49     static final long G = 1024L * 1024L * 1024L;
  50 
  51     public static void main(String[] args) throws IOException {
  52         Path dir = TestUtil.createTemporaryDirectory();
  53         try {
  54             doTests(dir);
  55         } finally {


< prev index next >