Package org.erlide.cover.api

Examples of org.erlide.cover.api.IConfiguration


    public void run() {
        final CoverBackend backend = CoverBackend.getInstance();
        try {

            semaphore.acquireUninterruptibly();
            final IConfiguration config = backend.getSettings().getConfig();
            CoverageAnalysis.prepareAnalysis(config);
            runTests(config);
            CoverageAnalysis.performAnalysis();

        } catch (final Exception e) {
View Full Code Here


    // adds module to the statistics tree
    private void addModuleToTree(final ModuleStats moduleStats) {

        ICoverageObject root = StatsTreeModel.getInstance().getRoot();

        final IConfiguration config = CoveragePerformer.getPerformer().getConfig();

        final String ppath = ErlangEngine.getInstance().getModelUtilService()
                .getProject(config.getProject()).getWorkspaceProject().getLocation()
                .toString();
        String mpath = config.getModule(moduleStats.getLabel()).getFilePath();
        mpath = mpath.substring(ppath.length());
        log.info(ppath);
        log.info(mpath);

        final String[] parts = mpath.split("/");
View Full Code Here

TOP

Related Classes of org.erlide.cover.api.IConfiguration

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.