Uses of Class
org.fest.assertions.StringAssert

Uses of StringAssert in org.fest.assertions
 

Methods in org.fest.assertions that return StringAssert
 StringAssert StringAssert.as(Description description)
          Sets the description of the actual value, to be used in as message of any AssertionError thrown when an assertion fails.
 StringAssert StringAssert.as(String description)
          Sets the description of the actual value, to be used in as message of any AssertionError thrown when an assertion fails.
static StringAssert Assertions.assertThat(String actual)
          Creates a new instance of StringAssert.
 StringAssert StringAssert.contains(String expected)
          Verifies that the actual String contains the given one.
 StringAssert StringAssert.describedAs(Description description)
          Alias for GenericAssert.as(Description), since "as" is a keyword in Groovy.
 StringAssert StringAssert.describedAs(String description)
          Alias for GenericAssert.as(String), since "as" is a keyword in Groovy.
 StringAssert StringAssert.doesNotMatch(String regex)
          Verifies that the actual String does not match the given one.
 StringAssert StringAssert.doesNotSatisfy(Condition<String> condition)
          Verifies that the actual String does not satisfy the given condition.
 StringAssert StringAssert.endsWith(String expected)
          Verifies that the actual String ends with the given one.
 StringAssert StringAssert.excludes(String s)
          Verifies that the actual String does not contains the given one.
 StringAssert StringAssert.hasSize(int expected)
          Verifies that the number of characters in the actual String is equal to the given one.
 StringAssert StringAssert.is(Condition<String> condition)
          Alias for satisfies(Condition).
 StringAssert StringAssert.isEqualTo(String expected)
          Verifies that the actual String is equal to the given one.
 StringAssert StringAssert.isNot(Condition<String> condition)
          Alias for doesNotSatisfy(Condition).
 StringAssert StringAssert.isNotEmpty()
          Verifies that the actual String contains at least on character.
 StringAssert StringAssert.isNotEqualTo(String other)
          Verifies that the actual String is not equal to the given one.
 StringAssert StringAssert.isNotNull()
          Verifies that the actual String is not null.
 StringAssert StringAssert.isNotSameAs(String other)
          Verifies that the actual String is not the same as the given one.
 StringAssert StringAssert.isSameAs(String expected)
          Verifies that the actual String is the same as the given one.
 StringAssert StringAssert.matches(String regex)
          Verifies that the actual String matches the given one.
 StringAssert StringAssert.overridingErrorMessage(String message)
          Replaces the default message displayed in case of a failure with the given one.
 StringAssert StringAssert.satisfies(Condition<String> condition)
          Verifies that the actual String satisfies the given condition.
 StringAssert StringAssert.startsWith(String expected)
          Verifies that the actual String starts with the given one.
 



Copyright © 2007-2010 FEST (Fixtures for Easy Software Testing). All Rights Reserved.