@@ -45,7 +45,9 @@ public class TarFileSetTest extends AbstractFileSetTest {
tfs = (TarFileSet) getInstance();
tfs = (TarFileSet) getInstance();
}
}
//check that dir and src are incompatible
/**
* check that dir and src are incompatible
*/
@Test
@Test
public final void testSrcDirAttributes() {
public final void testSrcDirAttributes() {
thrown.expect(BuildException.class);
thrown.expect(BuildException.class);
@@ -54,7 +56,9 @@ public class TarFileSetTest extends AbstractFileSetTest {
tfs.setDir(new File("examples"));
tfs.setDir(new File("examples"));
}
}
//check that dir and src are incompatible
/**
* check that dir and src are incompatible
*/
@Test
@Test
public final void testDirSrcAttributes() {
public final void testDirSrcAttributes() {
thrown.expect(BuildException.class);
thrown.expect(BuildException.class);
@@ -63,7 +67,9 @@ public class TarFileSetTest extends AbstractFileSetTest {
tfs.setSrc(new File("example.tar"));
tfs.setSrc(new File("example.tar"));
}
}
//check that fullpath and prefix are incompatible
/**
* check that fullpath and prefix are incompatible
*/
@Test
@Test
public final void testPrefixFullpathAttributes() {
public final void testPrefixFullpathAttributes() {
thrown.expect(BuildException.class);
thrown.expect(BuildException.class);
@@ -82,7 +88,9 @@ public class TarFileSetTest extends AbstractFileSetTest {
tfs.setPrefix("/examples");
tfs.setPrefix("/examples");
}
}
// check that reference tarfilesets cannot have specific attributes
/**
* check that reference tarfilesets cannot have specific attributes
*/
@Test
@Test
public final void testRefidSrcAttributes() {
public final void testRefidSrcAttributes() {
thrown.expect(BuildException.class);
thrown.expect(BuildException.class);
@@ -91,7 +99,9 @@ public class TarFileSetTest extends AbstractFileSetTest {
tfs.setSrc(new File("example.tar"));
tfs.setSrc(new File("example.tar"));
}
}
// check that a reference tarfileset gets the same attributes as the original
/**
* check that a reference tarfileset gets the same attributes as the original
*/
@Test
@Test
public final void testAttributes() {
public final void testAttributes() {
tfs.setSrc(new File("example.tar"));
tfs.setSrc(new File("example.tar"));