Package net.sourceforge.purrpackage.model

Examples of net.sourceforge.purrpackage.model.SourceFileDataPair


        assertSame(x, pdh.getRoot());
        assertSame(pdh.getData(), pdh.getData());
        assertSame(pdh.getSamePackageData(), pdh.getSamePackageData());
        String prev = placeInTree;
        for (Object o : pdh.getChildKeys()) {
            SourceFileDataPair sfd = pdh.getChild(o);
            checkSourceFile(sfd);
            assertSame(sfd.getParent(), pdh);
            placeInTree = prev;
        }
    }
View Full Code Here


            assertEquals(ldh.getSamePackageData().getLineNumber(), lineNum,
                    placeInTree);
        } else {
            assertNull(ldh.getSamePackageData(), placeInTree);
        }
        SourceFileDataPair sfd = (SourceFileDataPair) ldh.getParent()
                .getParent().getParent();
        assertSame(sfd.getLine(((Integer) ldh.getName()).intValue()), ldh,
                placeInTree);
    }
View Full Code Here

        int total = 0;
        String lastFailure = null;
        Exception lastException = null;
        for (Object key : support.getData().getGrandchildKeys()) {
            total++;
            SourceFileDataPair sourceFileData = (SourceFileDataPair) support
                    .getData().getVanillaDescendent(key);
            try {
                generateSourceFile(sourceFileData);
            } catch (Exception e) {
                failures++;
                lastFailure = sourceFileData.getData().getName();
                lastException = e;
            }
        }
        if (failures > 0) {
            StringBuilder msg = new StringBuilder();
View Full Code Here

TOP

Related Classes of net.sourceforge.purrpackage.model.SourceFileDataPair

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.