Lines Matching refs:m_substr
113 StringHolder( NSString* substr ) : m_substr( [substr copy] ){} in StringHolder()
114 StringHolder( StringHolder const& other ) : m_substr( [other.m_substr copy] ){} in StringHolder()
116 arcSafeRelease( m_substr ); in StringHolder()
123 NSString* CATCH_ARC_STRONG m_substr; member
130 return (str != nil || m_substr == nil ) && in match()
131 [str isEqualToString:m_substr]; in match()
135 return "equals string: " + Catch::Detail::stringify( m_substr ); in describe()
143 return (str != nil || m_substr == nil ) && in match()
144 [str rangeOfString:m_substr].location != NSNotFound; in match()
148 return "contains string: " + Catch::Detail::stringify( m_substr ); in describe()
156 return (str != nil || m_substr == nil ) && in match()
157 [str rangeOfString:m_substr].location == 0; in match()
161 return "starts with: " + Catch::Detail::stringify( m_substr ); in describe()
168 return (str != nil || m_substr == nil ) && in match()
169 … [str rangeOfString:m_substr].location == [str length] - [m_substr length]; in match()
173 return "ends with: " + Catch::Detail::stringify( m_substr ); in describe()