Searched refs:m_comparator (Results 1 – 6 of 6) sorted by relevance
37 : m_comparator( comparator ), in StringMatcherBase()43 description.reserve(5 + m_operation.size() + m_comparator.m_str.size() + in describe()44 m_comparator.caseSensitivitySuffix().size()); in describe()47 description += m_comparator.m_str; in describe()49 description += m_comparator.caseSensitivitySuffix(); in describe()56 return m_comparator.adjustString( source ) == m_comparator.m_str; in match()63 return contains( m_comparator.adjustString( source ), m_comparator.m_str ); in match()70 return startsWith( m_comparator.adjustString( source ), m_comparator.m_str ); in match()77 return endsWith( m_comparator.adjustString( source ), m_comparator.m_str ); in match()
44 ContainsElementMatcher(T const &comparator) : m_comparator( comparator) {} in ContainsElementMatcher()48 if (el == m_comparator) { in match()56 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe()59 T const& m_comparator; member65 ContainsMatcher(std::vector<T> const &comparator) : m_comparator( comparator ) {} in ContainsMatcher()69 if (m_comparator.size() > v.size()) in match()71 for (auto const& comparator : m_comparator) { in match()86 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe()89 std::vector<T> const& m_comparator; member95 EqualsMatcher(std::vector<T> const &comparator) : m_comparator( comparator ) {} in EqualsMatcher()[all …]
34 CasedString m_comparator; member
91 return m_comparator; in comparator()121 m_comparator = new NameComparator (); in NameAttribute()125 private final Comparator m_comparator; field in IItemAttribute.Factory.NameAttribute135 return m_comparator; in comparator()216 m_comparator = new FractionComparator (); in FractionAttribute()225 private final Comparator m_comparator; field in IItemAttribute.Factory.FractionAttribute
66 return m_comparator.compare (g, l); 72 m_comparator = comparator;76 private final Comparator m_comparator;
3150 CasedString m_comparator; member3229 ContainsElementMatcher(T const &comparator) : m_comparator( comparator) {} in ContainsElementMatcher()3233 if (el == m_comparator) { in match()3241 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe()3244 T const& m_comparator; member3250 ContainsMatcher(std::vector<T> const &comparator) : m_comparator( comparator ) {} in ContainsMatcher()3254 if (m_comparator.size() > v.size()) in match()3256 for (auto const& comparator : m_comparator) { in match()3271 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe()3274 std::vector<T> const& m_comparator; member[all …]