~ubuntu-branches/ubuntu/quantal/commons-io/quantal

« back to all changes in this revision

Viewing changes to src/test/org/apache/commons/io/DirectoryWalkerTestCase.java

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2008-02-21 13:26:43 UTC
  • mfrom: (1.1.3 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080221132643-p4c8f8lhb9rnqnlo
Tags: 1.4-1
* New upstream release
* Bump Standards-Version to 3.7.3
* Bump up debhelper compat to 6
* Replace XS-Vcs headers with Vcs
* debian/patches:
  - remove 01_no_ext_links.dpatch - not required
  - remove 02_no_mkdir_in_homedir.dpatch - not required
* Remove dpatch from Build-Depends
* Update debian/rules and debian/libcommons-io-java-doc.install
  with new target dirs
* debian/copyright: add copyright notice

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import java.io.File;
20
20
import java.io.FileFilter;
21
21
import java.io.IOException;
 
22
import java.util.ArrayList;
 
23
import java.util.Collection;
22
24
import java.util.Iterator;
23
25
import java.util.List;
24
 
import java.util.ArrayList;
25
 
import java.util.Collection;
26
26
 
27
27
import junit.framework.Assert;
28
28
import junit.framework.Test;
37
37
/**
38
38
 * This is used to test DirectoryWalker for correctness.
39
39
 *
40
 
 * @version $Id: DirectoryWalkerTestCase.java 481847 2006-12-03 18:05:37Z scolebourne $
 
40
 * @version $Id: DirectoryWalkerTestCase.java 606381 2007-12-22 02:03:16Z ggregory $
41
41
 * @see DirectoryWalker
42
42
 *
43
43
 */
54
54
    private static final File[] dirs       = new File[] {orgDir, apacheDir, commonsDir, ioDir, outputDir};
55
55
 
56
56
    // Files
57
 
    private static final File copyUtils     = new File(ioDir, "CopyUtils.java");
 
57
    private static final File filenameUtils = new File(ioDir, "FilenameUtils.java");
58
58
    private static final File ioUtils       = new File(ioDir, "IOUtils.java");
59
59
    private static final File proxyWriter   = new File(outputDir, "ProxyWriter.java");
60
60
    private static final File nullStream    = new File(outputDir, "NullOutputStream.java");
61
 
    private static final File[] ioFiles     = new File[] {copyUtils, ioUtils};
 
61
    private static final File[] ioFiles     = new File[] {filenameUtils, ioUtils};
62
62
    private static final File[] outputFiles = new File[] {proxyWriter, nullStream};
63
63
    
64
64
    // Filters