org.sonar.plugins.surefire
Class SurefireJavaParser

java.lang.Object
  extended by org.sonar.plugins.surefire.SurefireJavaParser
All Implemented Interfaces:
org.sonar.api.BatchComponent, org.sonar.api.BatchExtension, org.sonar.api.Extension

public class SurefireJavaParser
extends Object
implements org.sonar.api.BatchExtension

Since:
2.4

Constructor Summary
SurefireJavaParser(org.sonar.api.component.ResourcePerspectives perspectives, JavaResourceLocator javaResourceLocator)
           
 
Method Summary
 void collect(org.sonar.api.batch.SensorContext context, File reportsDir)
           
protected  org.sonar.api.resources.Resource getUnitTestResource(String classKey)
           
protected  void saveResults(org.sonar.api.resources.Resource testFile, UnitTestClassReport report)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurefireJavaParser

public SurefireJavaParser(org.sonar.api.component.ResourcePerspectives perspectives,
                          JavaResourceLocator javaResourceLocator)
Method Detail

collect

public void collect(org.sonar.api.batch.SensorContext context,
                    File reportsDir)

saveResults

protected void saveResults(org.sonar.api.resources.Resource testFile,
                           UnitTestClassReport report)

getUnitTestResource

protected org.sonar.api.resources.Resource getUnitTestResource(String classKey)


Copyright © 2012-2014 SonarSource. All Rights Reserved.