Package Class.Afference

Examples of Class.Afference.AfferenceCoupling


    public void NumberAfferences() throws FileNotFoundException, IOException{
        File folder = new File("src/");
        FilesFolders numfiles = new FilesFolders(folder);
        ArrayList<String> arrayfiles = numfiles.getArrayListFiles();
        ReaderFile reader = new ReaderFile("src/Class/Afference/AfferenceCoupling.java");
        AfferenceCoupling numAfferences = new AfferenceCoupling(arrayfiles, reader);
        assertEquals(numAfferences.getCount(), 1);
    }
View Full Code Here


    public void NumberAfferences2() throws FileNotFoundException, IOException{
        File folder = new File("src/");
        FilesFolders numfiles = new FilesFolders(folder);
        ArrayList<String> arrayfiles = numfiles.getArrayListFiles();
        ReaderFile reader = new ReaderFile("src/Package/Utils/FilesUtils.java");
        AfferenceCoupling numAfferences = new AfferenceCoupling(arrayfiles, reader);
        assertEquals(numAfferences.getCount(), 17);
    }
View Full Code Here

        }
    }

    private void addTupleInCube(String path, ArrayList<String> arrayfiles) throws IOException {
        ReaderFile readerfile;
        AfferenceCoupling afferencecoupling;
        State state;
        Tuple factShip;
        readerfile = new ReaderFile(path);
        afferencecoupling = new AfferenceCoupling(arrayfiles, readerfile);
       
        Context context = buildPackageContext();
        state = buildPackageState(readerfile, afferencecoupling);
        factShip = new Tuple(getCube(DataStoreDefinition.PACKAGE_CUBE), context, state);
        add(factShip);
View Full Code Here

TOP

Related Classes of Class.Afference.AfferenceCoupling

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.