| org.apache.tools.ant.util.FileUtilsTest
FileUtilsTest | public class FileUtilsTest extends TestCase (Code) | | Tests for org.apache.tools.ant.util.FileUtils.
|
setUp | public void setUp()(Code) | | |
tearDown | public void tearDown()(Code) | | |
testContentEquals | public void testContentEquals() throws IOException(Code) | | Test contentEquals
|
testCreateNewFile | public void testCreateNewFile() throws IOException(Code) | | Test createNewFile
|
testCreateTempFile | public void testCreateTempFile()(Code) | | Test createTempFile
|
testFromURI | public void testFromURI()(Code) | | test fromUri
|
testGetDefaultEncoding | public void testGetDefaultEncoding()(Code) | | |
testIsContextRelativePath | public void testIsContextRelativePath()(Code) | | |
testModificationTests | public void testModificationTests()(Code) | | |
testNormalize | public void testNormalize()(Code) | | |
testNullArgs | public void testNullArgs()(Code) | | Test handling of null arguments.
|
testRemoveLeadingPath | public void testRemoveLeadingPath()(Code) | | Test removeLeadingPath.
|
testResolveFile | public void testResolveFile()(Code) | | |
testSetLastModified | public void testSetLastModified() throws IOException(Code) | | test modification.
Since Ant1.7, the method being tested no longer uses
reflection to provide backwards support to Java1.1, so this
test is not so critical. But it does explore file system
behaviour and will help catch any regression in Java itself,
so is worth retaining.
See Also: FileUtils.setFileLastModified(java.io.Filelong) throws: IOException - |
testToURI | public void testToURI()(Code) | | test toUri
|
|
|