Package org.sonar.test.html
Class HtmlFragmentAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<HtmlFragmentAssert,java.lang.String>
-
- org.sonar.test.html.HtmlFragmentAssert
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<HtmlFragmentAssert,java.lang.String>
,org.assertj.core.api.Descriptable<HtmlFragmentAssert>
,org.assertj.core.api.ExtensionPoints<HtmlFragmentAssert,java.lang.String>
public class HtmlFragmentAssert extends org.assertj.core.api.AbstractAssert<HtmlFragmentAssert,java.lang.String>
-
-
Constructor Summary
Constructors Constructor Description HtmlFragmentAssert(java.lang.String s)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HtmlFragmentAssert
assertThat(java.lang.String s)
HtmlParagraphAssert
hasParagraph()
HtmlParagraphAssert
hasParagraph(java.lang.String text)
Convenience method.-
Methods inherited from class org.assertj.core.api.AbstractAssert
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withRepresentation, withThreadDumpOnError
-
-
-
-
Method Detail
-
assertThat
public static HtmlFragmentAssert assertThat(java.lang.String s)
-
hasParagraph
public HtmlParagraphAssert hasParagraph()
-
hasParagraph
public HtmlParagraphAssert hasParagraph(java.lang.String text)
Convenience method. Sames ashasParagraph().withText(text)
.
-
-