Tests if the argument is a string that ends with a substring. More...
#include <stringendswith.h>
Public Member Functions | |
StringEndsWith (const QString &substring) | |
Public Member Functions inherited from HamcrestQt::SubstringMatcher | |
virtual bool | matches (const QString &item) const |
Evaluates the matcher for argument item. More... | |
virtual void | describeTo (Description &description) const |
Generates a description of the object. More... | |
virtual void | describeMismatch (const QString &item, Description &description) const |
Generate a description of why the matcher has not accepted the item. More... | |
Public Member Functions inherited from HamcrestQt::BaseMatcher< QString > | |
virtual QString | toString () const |
Protected Member Functions | |
virtual bool | evalSubstringOf (const QString &str) const |
virtual QString | relationship () const |
Protected Member Functions inherited from HamcrestQt::SubstringMatcher | |
SubstringMatcher (const QString &str) | |
Additional Inherited Members | |
Protected Attributes inherited from HamcrestQt::SubstringMatcher | |
QString | substring |
Tests if the argument is a string that ends with a substring.