Package jdepend.framework

Examples of jdepend.framework.JDepend.addDirectory()


    packageFilter.addPackage("javax.swing.*");
    // Ignore JUnit tests
    packageFilter.addPackage("com.eteks.sweethome3d.junit");
   
    JDepend jdepend = new JDepend(packageFilter);
    jdepend.addDirectory("classes");

    DependencyConstraint constraint = new DependencyConstraint();
    // Sweet Home 3D packages
    JavaPackage sweetHome3DModel = constraint.addPackage("com.eteks.sweethome3d.model");
    JavaPackage sweetHome3DTools = constraint.addPackage("com.eteks.sweethome3d.tools");
View Full Code Here


        File[] classPath = getClassPath(root.options());
        for (File e: classPath) {
            if (e.isDirectory()) {
                root.printNotice(
                        "Included into dependency analysis: " + e);
                jdepend.addDirectory(e.toString());
            } else {
                root.printNotice(
                        "Excluded from dependency analysis: " + e);
            }
        }
View Full Code Here

        File[] classPath = getClassPath(root.options());
        for (File e: classPath) {
            if (e.isDirectory()) {
                root.printNotice(
                        "Included into dependency analysis: " + e);
                jdepend.addDirectory(e.toString());
            } else {
                root.printNotice(
                        "Excluded from dependency analysis: " + e);
            }
        }
View Full Code Here

        File[] classPath = getClassPath(root.options());
        for (File e: classPath) {
            if (e.isDirectory()) {
                root.printNotice(
                        "Included into dependency analysis: " + e);
                jdepend.addDirectory(e.toString());
            } else {
                root.printNotice(
                        "Excluded from dependency analysis: " + e);
            }
        }
View Full Code Here

        File[] classPath = getClassPath(root.options());
        for (File e: classPath) {
            if (e.isDirectory()) {
                root.printNotice(
                        "Included into dependency analysis: " + e);
                jdepend.addDirectory(e.toString());
            } else {
                root.printNotice(
                        "Excluded from dependency analysis: " + e);
            }
        }
View Full Code Here

   
    @Test
    @Ignore
    public void test() throws IOException{
        JDepend jdepend = new JDepend();       
        jdepend.addDirectory("target/classes/com/mysema/query/jdo");
        jdepend.addDirectory("target/classes/com/mysema/query/jdo/dml");
        jdepend.addDirectory("target/classes/com/mysema/query/jdo/sql");
       
        jdepend.analyze();   
        assertFalse(jdepend.containsCycles());
View Full Code Here

    @Test
    @Ignore
    public void test() throws IOException{
        JDepend jdepend = new JDepend();       
        jdepend.addDirectory("target/classes/com/mysema/query/jdo");
        jdepend.addDirectory("target/classes/com/mysema/query/jdo/dml");
        jdepend.addDirectory("target/classes/com/mysema/query/jdo/sql");
       
        jdepend.analyze();   
        assertFalse(jdepend.containsCycles());
View Full Code Here

    @Ignore
    public void test() throws IOException{
        JDepend jdepend = new JDepend();       
        jdepend.addDirectory("target/classes/com/mysema/query/jdo");
        jdepend.addDirectory("target/classes/com/mysema/query/jdo/dml");
        jdepend.addDirectory("target/classes/com/mysema/query/jdo/sql");
       
        jdepend.analyze();   
        assertFalse(jdepend.containsCycles());

    }
View Full Code Here

public class DependenciesTest {
   
    @Test
    public void test() throws IOException{
        JDepend jdepend = new JDepend();       
        jdepend.addDirectory("target/classes/com/mysema/query/jpa");
        jdepend.addDirectory("target/classes/com/mysema/query/jpa/hibernate");
        jdepend.addDirectory("target/classes/com/mysema/query/jpa/hibernate/sql");
        jdepend.addDirectory("target/classes/com/mysema/query/jpa/impl");
        jdepend.addDirectory("target/classes/com/mysema/query/jpa/sql");
View Full Code Here

   
    @Test
    public void test() throws IOException{
        JDepend jdepend = new JDepend();       
        jdepend.addDirectory("target/classes/com/mysema/query/jpa");
        jdepend.addDirectory("target/classes/com/mysema/query/jpa/hibernate");
        jdepend.addDirectory("target/classes/com/mysema/query/jpa/hibernate/sql");
        jdepend.addDirectory("target/classes/com/mysema/query/jpa/impl");
        jdepend.addDirectory("target/classes/com/mysema/query/jpa/sql");

        jdepend.analyze();       
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.