* </pre>
*
* <p>Example of Test
+ * Add a test dependency to sonar-plugin-api-impl to have access to implementation classes in tests.
* <pre>
*{@literal @}Test
* public void test_plugin_extensions_compatible_with_5_6() {
* </p>
*
* <p>
- * Unit tests of plugin extensions can create instances of {@link SonarRuntime}
+ * Unit tests of plugin extensions can add a test dependency to available in sonar-plugin-api-impl and create instances of {@link SonarRuntime}
* via {@link org.sonar.api.internal.SonarRuntimeImpl}.
* </p>
*
* </pre>
*
* <h2>How to use in unit tests</h2>
- * The unit tests needing an instance of FileSystem can use the implementation
+ * The unit tests needing an instance of FileSystem can use the implementation, available in sonar-plugin-api-impl,
* {@link org.sonar.api.batch.fs.internal.DefaultFileSystem} and the related {@link org.sonar.api.batch.fs.internal.DefaultInputFile},
* for example :
* <pre>
/**
* This layer over {@link java.io.File} adds information for code analyzers.
- * For unit testing purpose, use TestInputFileBuilder and initialize
+ * For unit testing purpose, use TestInputFileBuilder available in sonar-plugin-api-impl and initialize
* the needed fields:
*
* <pre>
* The rules that are activated on the current project. Quality profiles are
* merged, so rules can relate to different repositories and languages.
* <br>
- * Use {@link org.sonar.api.batch.rule.internal.ActiveRulesBuilder} to instantiate
+ * Use {@link org.sonar.api.batch.rule.internal.ActiveRulesBuilder} available in sonar-plugin-api-impl to instantiate
* this component in unit tests.
*
* @since 4.2
* <p>
* For example the Cobertura Sensor parses Cobertura report and saves the first-level of measures on files.
*
- * For testing purpose you can use SensorContextTester
+ * For testing purpose you can use SensorContextTester, available in sonar-plugin-api-impl
* @since 5.1
* @since 7.6 use {@link ProjectSensor} instead to make your Sensor run only once per analysis, and no more once per module
*/
/**
* See {@link Sensor#execute(SensorContext)}
- * In order to write unit tests you can use SensorContextTester
+ * In order to write unit tests you can use SensorContextTester, available in sonar-plugin-api-impl
* @since 5.1
*/
public interface SensorContext {