| org.apache.tools.ant.BuildFileTest org.apache.tools.ant.taskdefs.optional.unix.SymlinkTest
SymlinkTest | public class SymlinkTest extends BuildFileTest (Code) | | Test cases for the Symlink task. Link creation, link deletion, recording
of links in multiple directories, and restoration of links recorded are
all tested. A separate test for the utility method Symlink.deleteSymlink
is not included because action="delete" only prints a message and calls
Symlink.deleteSymlink, making a separate test redundant.
|
setUp | public void setUp()(Code) | | |
tearDown | public void tearDown()(Code) | | |
testDelete | public void testDelete()(Code) | | |
testRecord | public void testRecord()(Code) | | |
testRecreate | public void testRecreate()(Code) | | |
testSingle | public void testSingle()(Code) | | |
Methods inherited from org.apache.tools.ant.BuildFileTest | public void assertDebuglogContaining(String substring)(Code)(Java Doc) public void assertLogContaining(String substring)(Code)(Java Doc) public void assertOutputContaining(String substring)(Code)(Java Doc) public void assertPropertyEquals(String property, String value)(Code)(Java Doc) public void assertPropertySet(String property)(Code)(Java Doc) public void assertPropertyUnset(String property)(Code)(Java Doc) public void configureProject(String filename) throws BuildException(Code)(Java Doc) public void configureProject(String filename, int logLevel) throws BuildException(Code)(Java Doc) public void executeTarget(String targetName)(Code)(Java Doc) public void expectBuildException(String target, String cause)(Code)(Java Doc) public void expectBuildExceptionContaining(String target, String cause, String contains)(Code)(Java Doc) public void expectDebuglog(String target, String log)(Code)(Java Doc) public void expectLog(String target, String log)(Code)(Java Doc) public void expectLogContaining(String target, String log)(Code)(Java Doc) public void expectOutput(String target, String output)(Code)(Java Doc) public void expectOutputAndError(String target, String output, String error)(Code)(Java Doc) public void expectPropertySet(String target, String property, String value)(Code)(Java Doc) public void expectPropertySet(String target, String property)(Code)(Java Doc) public void expectPropertyUnset(String target, String property)(Code)(Java Doc) public void expectSpecificBuildException(String target, String cause, String msg)(Code)(Java Doc) public BuildException getBuildException()(Code)(Java Doc) public String getError()(Code)(Java Doc) public String getFullLog()(Code)(Java Doc) public String getLog()(Code)(Java Doc) public String getOutput()(Code)(Java Doc) public Project getProject()(Code)(Java Doc) public File getProjectDir()(Code)(Java Doc) public URL getResource(String resource)(Code)(Java Doc) protected void tearDown() throws Exception(Code)(Java Doc)
|
|
|