Package org.infinitest

Examples of org.infinitest.FileCustomJvmArgumentReader


    assertTrue(tempDirectory.exists());
    file = new File(tempDirectory, FILE_NAME);
    file.createNewFile();
    assertTrue("Failed to create arguments file.", file.exists());

    reader = new FileCustomJvmArgumentReader(tempDirectory);
  }
View Full Code Here


    file.delete();
  }

  @Test
  public void shouldReturnEmptyListIfDirectoryDoesNotExists() {
    FileCustomJvmArgumentReader argReader = new FileCustomJvmArgumentReader(new File("fileThatDoesNotExist"));

    List<String> arguments = argReader.readCustomArguments();

    assertNotNull(arguments);
    assertTrue(arguments.isEmpty());
  }
View Full Code Here

TOP

Related Classes of org.infinitest.FileCustomJvmArgumentReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.