Skip navigation links
A C E F G I J M O P R S V X 

A

ATTRIBUTE_MAP - Static variable in class org.sonar.java.checks.verifier.CheckVerifier
 

C

checkIssues(Set<AnalyzerMessage>, boolean) - Method in class org.sonar.java.checks.verifier.CheckVerifier
 
CheckVerifier - Class in org.sonar.java.checks.verifier
 
CheckVerifier() - Constructor for class org.sonar.java.checks.verifier.CheckVerifier
 
CheckVerifier.IssueAttribute - Enum in org.sonar.java.checks.verifier
 
collectExpectedIssues(String, int) - Method in class org.sonar.java.checks.verifier.CheckVerifier
 

E

expectNoIssues() - Method in class org.sonar.java.checks.verifier.CheckVerifier
 

F

FakeXmlCheckContext(Document, File) - Constructor for class org.sonar.java.checks.verifier.XmlCheckVerifier.FakeXmlCheckContext
 

G

getExpected() - Method in class org.sonar.java.checks.verifier.CheckVerifier
 
getExpectedIssueTrigger() - Method in class org.sonar.java.checks.verifier.CheckVerifier
 
getExpectedIssueTrigger() - Method in class org.sonar.java.checks.verifier.JavaCheckVerifier
 
getExpectedIssueTrigger() - Method in class org.sonar.java.checks.verifier.MultipleFilesJavaCheckVerifier
 
getExpectedIssueTrigger() - Method in class org.sonar.java.checks.verifier.PomCheckVerifier
 
getExpectedIssueTrigger() - Method in class org.sonar.java.checks.verifier.XmlCheckVerifier
 
getMessages() - Method in class org.sonar.java.checks.verifier.XmlCheckVerifier.FakeXmlCheckContext
 

I

ISSUE_MARKER - Static variable in class org.sonar.java.checks.verifier.CheckVerifier
 

J

JavaCheckVerifier - Class in org.sonar.java.checks.verifier
It is possible to specify the absolute line number on which the issue should appear by appending "@<line>" to "Noncompliant".

M

MultipleFilesJavaCheckVerifier - Class in org.sonar.java.checks.verifier
Please read the documentation of @see org.sonar.java.checks.verifier.JavaCheckVerifier The main difference is that this class run a check on multiple files and verifies the results at the end of analysis.
MultipleFilesJavaCheckVerifier() - Constructor for class org.sonar.java.checks.verifier.MultipleFilesJavaCheckVerifier
 

O

org.sonar.java.checks.verifier - package org.sonar.java.checks.verifier
 

P

PomCheckVerifier - Class in org.sonar.java.checks.verifier
 

R

reportIssue(JavaCheck, Node, String) - Method in class org.sonar.java.checks.verifier.XmlCheckVerifier.FakeXmlCheckContext
 
reportIssue(JavaCheck, int, String) - Method in class org.sonar.java.checks.verifier.XmlCheckVerifier.FakeXmlCheckContext
 
reportIssue(JavaCheck, Node, String, Iterable<XmlCheckContext.XmlDocumentLocation>) - Method in class org.sonar.java.checks.verifier.XmlCheckVerifier.FakeXmlCheckContext
 
reportIssue(JavaCheck, Node, String, Iterable<XmlCheckContext.XmlDocumentLocation>, Integer) - Method in class org.sonar.java.checks.verifier.XmlCheckVerifier.FakeXmlCheckContext
 
reportIssueOnFile(JavaCheck, String) - Method in class org.sonar.java.checks.verifier.XmlCheckVerifier.FakeXmlCheckContext
 
retrieveExpectedIssuesFromFile(File, CheckVerifier) - Static method in class org.sonar.java.checks.verifier.XmlCheckVerifier
Read the XML file using javax XMLStreamReader instead of SAX (used by XmlParser), as SAX does not provide any way to retrieve lines information of comments events.

S

setExpectedFileIssue(String) - Method in class org.sonar.java.checks.verifier.CheckVerifier
 

V

valueOf(String) - Static method in enum org.sonar.java.checks.verifier.CheckVerifier.IssueAttribute
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.sonar.java.checks.verifier.CheckVerifier.IssueAttribute
Returns an array containing the constants of this enum type, in the order they are declared.
verify(String, JavaFileScanner) - Static method in class org.sonar.java.checks.verifier.JavaCheckVerifier
Verifies that the provided file will raise all the expected issues when analyzed with the given check.
verify(String, JavaFileScanner, int) - Static method in class org.sonar.java.checks.verifier.JavaCheckVerifier
Verifies that the provided file will raise all the expected issues when analyzed with the given check and a given java version used for the sources.
verify(String, JavaFileScanner, Collection<File>) - Static method in class org.sonar.java.checks.verifier.JavaCheckVerifier
Verifies that the provided file will raise all the expected issues when analyzed with the given check, but using having the classpath extended with a collection of files (classes/jar/zip).
verify(String, JavaFileScanner, String) - Static method in class org.sonar.java.checks.verifier.JavaCheckVerifier
Verifies that the provided file will raise all the expected issues when analyzed with the given check, using jars/zips files from the given directory to extends the classpath.
verify(List<String>, JavaFileScanner) - Static method in class org.sonar.java.checks.verifier.MultipleFilesJavaCheckVerifier
Verifies that all the expected issues are raised after analyzing all the given files with the given check.
verify(String, PomCheck) - Static method in class org.sonar.java.checks.verifier.PomCheckVerifier
 
verify(String, XmlCheck) - Static method in class org.sonar.java.checks.verifier.XmlCheckVerifier
 
verifyIssueOnFile(String, String, JavaFileScanner) - Static method in class org.sonar.java.checks.verifier.JavaCheckVerifier
Verifies that the provided file will only raise an issue on the file, with the given message, when analyzed using the given check.
verifyIssueOnFile(String, String, PomCheck) - Static method in class org.sonar.java.checks.verifier.PomCheckVerifier
 
verifyIssueOnFile(String, String, XmlCheck) - Static method in class org.sonar.java.checks.verifier.XmlCheckVerifier
 
verifyNoIssue(String, JavaFileScanner) - Static method in class org.sonar.java.checks.verifier.JavaCheckVerifier
Verifies that the provided file will not raise any issue when analyzed with the given check.
verifyNoIssue(String, JavaFileScanner, int) - Static method in class org.sonar.java.checks.verifier.JavaCheckVerifier
Verifies that the provided file will not raise any issue when analyzed with the given check.
verifyNoIssue(List<String>, JavaFileScanner) - Static method in class org.sonar.java.checks.verifier.MultipleFilesJavaCheckVerifier
Verifies that no issues are raised after analyzing all the given files with the given check.
verifyNoIssue(String, PomCheck) - Static method in class org.sonar.java.checks.verifier.PomCheckVerifier
 
verifyNoIssue(String, XmlCheck) - Static method in class org.sonar.java.checks.verifier.XmlCheckVerifier
 
verifyNoIssueWithoutSemantic(String, JavaFileScanner, int) - Static method in class org.sonar.java.checks.verifier.JavaCheckVerifier
 
verifyNoIssueWithoutSemantic(String, JavaFileScanner) - Static method in class org.sonar.java.checks.verifier.JavaCheckVerifier
 
verifyNoIssueWithoutSemantic(List<String>, JavaFileScanner) - Static method in class org.sonar.java.checks.verifier.MultipleFilesJavaCheckVerifier
Verifies that no issues are raised after analyzing all given files with the given check when semantic is not available.

X

XmlCheckVerifier - Class in org.sonar.java.checks.verifier
 
XmlCheckVerifier.FakeXmlCheckContext - Class in org.sonar.java.checks.verifier
 
A C E F G I J M O P R S V X 
Skip navigation links

Copyright © 2012–2018 SonarSource. All rights reserved.