Package org.sonar.iac.common.testing
Class TextRangeAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<TextRangeAssert,org.sonar.api.batch.fs.TextRange>
-
- org.sonar.iac.common.testing.TextRangeAssert
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<TextRangeAssert,org.sonar.api.batch.fs.TextRange>,org.assertj.core.api.Descriptable<TextRangeAssert>,org.assertj.core.api.ExtensionPoints<TextRangeAssert,org.sonar.api.batch.fs.TextRange>
public class TextRangeAssert extends org.assertj.core.api.AbstractAssert<TextRangeAssert,org.sonar.api.batch.fs.TextRange>
-
-
Constructor Summary
Constructors Constructor Description TextRangeAssert(org.sonar.api.batch.fs.TextRange actual)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextRangeAssertassertTextRange(org.sonar.api.batch.fs.TextRange actual)TextRangeAsserthasRange(int startLine, int startLineOffset, int endLine, int endLineOffset)-
Methods inherited from class org.assertj.core.api.AbstractAssert
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
-
-
-
-
Method Detail
-
hasRange
public TextRangeAssert hasRange(int startLine, int startLineOffset, int endLine, int endLineOffset)
-
assertTextRange
public static TextRangeAssert assertTextRange(@Nullable org.sonar.api.batch.fs.TextRange actual)
-
-