Search in sources :

Example 6 with ILanguageNames

use of org.jacoco.report.ILanguageNames in project jacoco by jacoco.

the class CSVFormatterTest method testGetLanguageNames.

@Test
public void testGetLanguageNames() throws Exception {
    ILanguageNames names = new ILanguageNames() {

        public String getPackageName(String vmname) {
            return null;
        }

        public String getQualifiedClassName(String vmname) {
            return null;
        }

        public String getClassName(String vmname, String vmsignature, String vmsuperclass, String[] vminterfaces) {
            return null;
        }

        public String getMethodName(String vmclassname, String vmmethodname, String vmdesc, String vmsignature) {
            return null;
        }

        public String getQualifiedMethodName(String vmclassname, String vmmethodname, String vmdesc, String vmsignature) {
            return null;
        }
    };
    formatter.setLanguageNames(names);
    assertSame(names, formatter.getLanguageNames());
    output.close();
}
Also used : ILanguageNames(org.jacoco.report.ILanguageNames) Test(org.junit.Test)

Aggregations

ILanguageNames (org.jacoco.report.ILanguageNames)6 Test (org.junit.Test)3 StringWriter (java.io.StringWriter)1 Locale (java.util.Locale)1 ExecutionData (org.jacoco.core.data.ExecutionData)1 JavaNames (org.jacoco.report.JavaNames)1 MemoryMultiReportOutput (org.jacoco.report.MemoryMultiReportOutput)1 ReportOutputFolder (org.jacoco.report.internal.ReportOutputFolder)1 HTMLElement (org.jacoco.report.internal.html.HTMLElement)1 HTMLSupport (org.jacoco.report.internal.html.HTMLSupport)1 IHTMLReportContext (org.jacoco.report.internal.html.IHTMLReportContext)1 ILinkable (org.jacoco.report.internal.html.ILinkable)1 LinkableStub (org.jacoco.report.internal.html.LinkableStub)1 IIndexUpdate (org.jacoco.report.internal.html.index.IIndexUpdate)1 Resources (org.jacoco.report.internal.html.resources.Resources)1 LabelColumn (org.jacoco.report.internal.html.table.LabelColumn)1 Table (org.jacoco.report.internal.html.table.Table)1 Before (org.junit.Before)1