mbenson 2005/03/07 15:25:52 Modified: src/testcases/org/apache/tools/ant DirectoryScannerTest.java Log: Spelling, blank lines Revision Changes Path 1.34 +7 -3 ant/src/testcases/org/apache/tools/ant/DirectoryScannerTest.java Index: DirectoryScannerTest.java =================================================================== RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/DirectoryScannerTest.java,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- DirectoryScannerTest.java 4 Mar 2005 23:41:21 -0000 1.33 +++ DirectoryScannerTest.java 7 Mar 2005 23:25:51 -0000 1.34 @@ -221,12 +221,11 @@ } /** - * Test case for setFollowLinks() and associated funtionality. - * Only supports test on linux, at the moment because Java has + * Test case for setFollowLinks() and associated functionality. + * Only supports test on Linux at the moment because Java has * no real notion of symlinks built in, so an os-specfic call * to Runtime.exec() must be made to create a link to test against. */ - public void testSetFollowLinks() throws IOException { if (supportsSymlinks) { File linkFile = new File(System.getProperty("root"), "src/main/org/apache/tools/ThisIsALink"); @@ -316,6 +315,7 @@ } } } + public void testExcludeOneFile() { DirectoryScanner ds = new DirectoryScanner(); ds.setBasedir(new File(getProject().getBaseDir(), "tmp")); @@ -329,6 +329,7 @@ compareFiles(ds, new String[] {"alpha/beta/gamma/gamma.xml"}, new String[] {}); } + public void testExcludeHasPrecedence() { DirectoryScanner ds = new DirectoryScanner(); ds.setBasedir(new File(getProject().getBaseDir(), "tmp")); @@ -343,6 +344,7 @@ new String[] {}); } + public void testAlternateIncludeExclude() { DirectoryScanner ds = new DirectoryScanner(); ds.setBasedir(new File(getProject().getBaseDir(), "tmp")); @@ -358,6 +360,7 @@ new String[] {"alpha"}); } + public void testAlternateExcludeInclude() { DirectoryScanner ds = new DirectoryScanner(); ds.setBasedir(new File(getProject().getBaseDir(), "tmp")); @@ -373,6 +376,7 @@ new String[] {}); } + /** * Test inspired by Bug#1415. */
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]