Package org.apache.rat

Examples of org.apache.rat.DirectoryWalker


    }
   
    public void testStandardReport() throws Exception {
      final String elementsPath = Resources.getResourceDirectory("elements/Source.java");
        final MockLicenseMatcher mockLicenseMatcher = new MockLicenseMatcher();
        DirectoryWalker directory = new DirectoryWalker(new File(elementsPath), IGNORE_EMPTY);
        RatReport report = XmlReportFactory.createStandardReport(writer, mockLicenseMatcher);
        report.startReport();
        report(directory, report);
        report.endReport();
        writer.closeDocument();
View Full Code Here


        directory.run(report);
    }
   
    public void testBaseReport() throws Exception {
      final String elementsPath = Resources.getResourceDirectory("elements/Source.java");
        DirectoryWalker directory = new DirectoryWalker(new File(elementsPath), IGNORE);
        report.startReport();
        report(directory);
        report.endReport();
        writer.closeDocument();
        final String output = out.toString();;
View Full Code Here

TOP

Related Classes of org.apache.rat.DirectoryWalker

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.