Examples of CodeAnalysisResult


Examples of org.nutz.lang.Code.CodeAnalysisResult

    }

    @Test
    public void analysisFile() throws Exception {
        File file = new File(path + "/CodeAnalysisDemo1.ca");
        CodeAnalysisResult analysisResult = Code.countingCode(file, null);
        Assert.assertEquals(4, analysisResult.getImportLines());
        Assert.assertEquals(5, analysisResult.getCommentLines());
        Assert.assertEquals(9, analysisResult.getWhiteLines());
        Assert.assertEquals(14, analysisResult.getNormalLines());
    }
View Full Code Here

Examples of org.nutz.lang.Code.CodeAnalysisResult

    }

    @Test
    public void analysisFile() throws Exception {
        File file = new File(path + "/CodeAnalysisDemo1.ca");
        CodeAnalysisResult analysisResult = Code.countingCode(file, null);
        Assert.assertEquals(4, analysisResult.getImportLines());
        Assert.assertEquals(5, analysisResult.getCommentLines());
        Assert.assertEquals(9, analysisResult.getWhiteLines());
        Assert.assertEquals(14, analysisResult.getNormalLines());
    }
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.