org.sonar.plugins.javascript.unittest.jstest
Class JsTestSensor

java.lang.Object
  extended by org.sonar.plugins.javascript.unittest.jstestdriver.JsTestDriverSensor
      extended by org.sonar.plugins.javascript.unittest.jstest.JsTestSensor
All Implemented Interfaces:
org.sonar.api.batch.CheckProject, org.sonar.api.batch.Sensor, org.sonar.api.BatchComponent, org.sonar.api.BatchExtension, org.sonar.api.Extension

public class JsTestSensor
extends JsTestDriverSensor


Field Summary
 
Fields inherited from class org.sonar.plugins.javascript.unittest.jstestdriver.JsTestDriverSensor
fileSystem, settings
 
Fields inherited from interface org.sonar.api.batch.Sensor
FLAG_SQUID_ANALYSIS
 
Constructor Summary
JsTestSensor(org.sonar.api.scan.filesystem.ModuleFileSystem fileSystem, org.sonar.api.config.Settings settings)
           
 
Method Summary
 void analyse(org.sonar.api.resources.Project project, org.sonar.api.batch.SensorContext context)
           
protected  String getReportsDirectoryPath()
           
protected  String getUnitTestFileName(String className)
           
 String toString()
           
 
Methods inherited from class org.sonar.plugins.javascript.unittest.jstestdriver.JsTestDriverSensor
collect, getIOFile, getUnitTestFile, shouldExecuteOnProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JsTestSensor

public JsTestSensor(org.sonar.api.scan.filesystem.ModuleFileSystem fileSystem,
                    org.sonar.api.config.Settings settings)
Method Detail

analyse

public void analyse(org.sonar.api.resources.Project project,
                    org.sonar.api.batch.SensorContext context)
Specified by:
analyse in interface org.sonar.api.batch.Sensor
Overrides:
analyse in class JsTestDriverSensor

getUnitTestFileName

protected String getUnitTestFileName(String className)
Overrides:
getUnitTestFileName in class JsTestDriverSensor

getReportsDirectoryPath

protected String getReportsDirectoryPath()
Overrides:
getReportsDirectoryPath in class JsTestDriverSensor

toString

public String toString()
Overrides:
toString in class JsTestDriverSensor


Copyright © 2011-2014 SonarSource and Eriks Nukis. All Rights Reserved.