mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-09-01 10:07:56 +00:00
Make the test-file directory when running tests
This commit is contained in:
@@ -30,6 +30,7 @@ public class FilesystemMountTest
|
|||||||
public static void before() throws IOException
|
public static void before() throws IOException
|
||||||
{
|
{
|
||||||
if( ZIP_FILE.exists() ) return;
|
if( ZIP_FILE.exists() ) return;
|
||||||
|
ZIP_FILE.getParentFile().mkdirs();
|
||||||
|
|
||||||
try( ZipOutputStream stream = new ZipOutputStream( new FileOutputStream( ZIP_FILE ) ) )
|
try( ZipOutputStream stream = new ZipOutputStream( new FileOutputStream( ZIP_FILE ) ) )
|
||||||
{
|
{
|
||||||
|
@@ -29,6 +29,7 @@ public class JarMountTest
|
|||||||
public static void before() throws IOException
|
public static void before() throws IOException
|
||||||
{
|
{
|
||||||
if( ZIP_FILE.exists() ) return;
|
if( ZIP_FILE.exists() ) return;
|
||||||
|
ZIP_FILE.getParentFile().mkdirs();
|
||||||
|
|
||||||
try( ZipOutputStream stream = new ZipOutputStream( new FileOutputStream( ZIP_FILE ) ) )
|
try( ZipOutputStream stream = new ZipOutputStream( new FileOutputStream( ZIP_FILE ) ) )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user