Class 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>
    • Field Summary

      • Fields inherited from class org.assertj.core.api.AbstractAssert

        actual, info, myself, objects, throwUnsupportedExceptionOnEquals
    • 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 TextRangeAssert assertTextRange​(org.sonar.api.batch.fs.TextRange actual)  
      TextRangeAssert hasRange​(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
      • Methods inherited from interface org.assertj.core.api.Descriptable

        as, as, as, describedAs
    • Constructor Detail

      • TextRangeAssert

        public TextRangeAssert​(@Nullable
                               org.sonar.api.batch.fs.TextRange actual)
    • 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)