Hamcrest-Qt  0.0.1
Hamcrest matchers for C++/Qt
 All Classes Namespaces Functions
Public Member Functions | Protected Member Functions | List of all members
HamcrestQt::StringStartsWith Class Reference

Tests if the argument is a string that starts with a substring. More...

#include <stringstartswith.h>

Inheritance diagram for HamcrestQt::StringStartsWith:
HamcrestQt::SubstringMatcher HamcrestQt::BaseMatcher< QString > HamcrestQt::Matcher< QString > HamcrestQt::SelfDescribing

Public Member Functions

 StringStartsWith (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
 

Detailed Description

Tests if the argument is a string that starts with a substring.


The documentation for this class was generated from the following files: