Class Assertions
java.lang.Object
org.carrot2.labs.test.Assertions
FEST-style assertions for SmartSprites-specific data types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedImageAssertionassertThat(BufferedImage actual) Creates aBufferedImageAssertion.static MessageListAssertionassertThat(List<Message> actual) Creates aMessageListAssertion.static CssPropertyAssertionassertThat(CssProperty actual) Creates aCssPropertyAssertion.static MessageAssertionassertThat(Message actual) Creates aMessageAssertion.static CssPropertyListAssertionassertThatCssPropertyList(List<CssProperty> actual) Creates aCssPropertyListAssertion.
-
Constructor Details
-
Assertions
public Assertions()
-
-
Method Details
-
assertThat
Creates aMessageAssertion.- Parameters:
actual- the actual- Returns:
- the message assertion
-
assertThat
Creates aMessageListAssertion.- Parameters:
actual- the actual- Returns:
- the message list assertion
-
assertThat
Creates aCssPropertyAssertion.- Parameters:
actual- the actual- Returns:
- the css property assertion
-
assertThatCssPropertyList
Creates aCssPropertyListAssertion.- Parameters:
actual- the actual- Returns:
- the css property list assertion
-
assertThat
Creates aBufferedImageAssertion.- Parameters:
actual- the actual- Returns:
- the buffered image assertion
-