org.specs2.matcher

StringMatchers

trait StringMatchers extends StringBaseMatchers with StringBeHaveMatchers

The StringMatchers trait provides matchers which are applicable to String objects

Linear Supertypes
StringBeHaveMatchers, StringBaseMatchers, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. StringMatchers
  2. StringBeHaveMatchers
  3. StringBaseMatchers
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def !=/ (s: String): AdaptableMatcher[Any]

    matches if a.

    matches if a.toLowerCase.trim != b.toLowerCase.trim

    Definition Classes
    StringBaseMatchers
  4. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  5. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  6. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  7. def ==/ (s: String): AdaptableMatcher[Any]

    matches if a.

    matches if a.toLowerCase.trim = b.toLowerCase.trim

    Definition Classes
    StringBaseMatchers
  8. def =~ (t: ⇒ String): BeMatching

    alias for beMatching but matching just a fragment of the string

    alias for beMatching but matching just a fragment of the string

    Definition Classes
    StringBaseMatchers
  9. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  10. def beMatching (t: ⇒ String): BeMatching

    matches if b matches the regular expression a

    matches if b matches the regular expression a

    Definition Classes
    StringBaseMatchers
  11. def be_!=/ (a: String): AdaptableMatcher[Any]

    matches if a.

    matches if a.toLowerCase.trim != b.toLowerCase.trim

    Definition Classes
    StringBaseMatchers
  12. def be_==/ (a: String): AdaptableMatcher[Any]

    matches if a.

    matches if a.toLowerCase.trim = b.toLowerCase.trim

    Definition Classes
    StringBaseMatchers
  13. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def contain (t: Char): Matcher[String]

    matches if (b contains a)

    matches if (b contains a)

    Definition Classes
    StringBaseMatchers
  15. def contain (t: String): Matcher[String]

    matches if (b contains a)

    matches if (b contains a)

    Definition Classes
    StringBaseMatchers
  16. def containing (s: String): Matcher[String]

    Definition Classes
    StringBeHaveMatchers
  17. def endWith (t: ⇒ String): Matcher[String]

    matches if b.

    matches if b.endsWith(a)

    Definition Classes
    StringBaseMatchers
  18. def endingWith (s: String): Matcher[String]

    Definition Classes
    StringBeHaveMatchers
  19. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  20. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  21. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. def find (a: String): FindMatcher

    matches if the regexp a is found inside b

    matches if the regexp a is found inside b

    Definition Classes
    StringBaseMatchers
  23. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  24. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  25. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  26. def matching (t: ⇒ String): BeMatching

    Definition Classes
    StringBeHaveMatchers
  27. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  28. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  29. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  30. def startWith (t: ⇒ String): Matcher[String]

    matches if b.

    matches if b.startsWith(a)

    Definition Classes
    StringBaseMatchers
  31. def startingWith (s: String): Matcher[String]

    Definition Classes
    StringBeHaveMatchers
  32. implicit def stringMatcher (m: AdaptableMatcher[Any]): StringMatcher

    adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

    adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

    Attributes
    implicit
    Definition Classes
    StringBaseMatchers
  33. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  34. implicit def toNeutralStringMatcher (result: NeutralMatcher[Any]): NeutralStringMatcher

    Attributes
    implicit
    Definition Classes
    StringBeHaveMatchers
  35. implicit def toNotStringMatcher (result: NotMatcher[Any]): NotStringMatcher

    Attributes
    implicit
    Definition Classes
    StringBeHaveMatchers
  36. def toString (): String

    Definition Classes
    AnyRef → Any
  37. implicit def toStringResultMatcher (result: MatchResult[String]): StringResultMatcher

    Attributes
    implicit
    Definition Classes
    StringBeHaveMatchers
  38. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  39. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  40. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from StringBeHaveMatchers

Inherited from StringBaseMatchers

Inherited from AnyRef

Inherited from Any