/** * It should be also possible to use e.g. "${user.home}/.m2/repository" as filename (which is the * path to the local Maven repository). */ @Test public void testTypeWithVariableFilename() { fixture.file = "${user.home}/.m2/repository"; assertEquals("dir", fixture.type()); }
/** Test method for {@link org.openoffice.maven.it.fixture.FileFixture#type()}. */ @Test public void testType() { File tmpDir = FileFixture.getTmpDir(); fixture.file = tmpDir.getAbsolutePath(); assertEquals("dir", fixture.type()); }