Searched refs:m_comparator (Results 1 – 7 of 7) sorted by relevance
23 ContainsElementMatcher(T const &comparator) : m_comparator( comparator) {} in ContainsElementMatcher()27 if (el == m_comparator) { in match()35 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe()38 T const& m_comparator; member44 ContainsMatcher(std::vector<T> const &comparator) : m_comparator( comparator ) {} in ContainsMatcher()48 if (m_comparator.size() > v.size()) in match()50 for (auto const& comparator : m_comparator) { in match()65 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe()68 std::vector<T> const& m_comparator; member74 EqualsMatcher(std::vector<T> const &comparator) : m_comparator( comparator ) {} in EqualsMatcher()[all …]
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()
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;
3522 CasedString m_comparator; member3579 ContainsElementMatcher(T const &comparator) : m_comparator( comparator) {} in ContainsElementMatcher()3583 if (el == m_comparator) { in match()3591 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe()3594 T const& m_comparator; member3600 ContainsMatcher(std::vector<T> const &comparator) : m_comparator( comparator ) {} in ContainsMatcher()3604 if (m_comparator.size() > v.size()) in match()3606 for (auto const& comparator : m_comparator) { in match()3621 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe()3624 std::vector<T> const& m_comparator; member[all …]
3548 CasedString m_comparator; member3605 ContainsElementMatcher(T const &comparator) : m_comparator( comparator) {} in ContainsElementMatcher()3609 if (el == m_comparator) { in match()3617 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe()3620 T const& m_comparator; member3626 … ContainsMatcher(std::vector<T, AllocComp> const &comparator) : m_comparator( comparator ) {} in ContainsMatcher()3630 if (m_comparator.size() > v.size()) in match()3632 for (auto const& comparator : m_comparator) { in match()3647 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe()3650 std::vector<T, AllocComp> const& m_comparator; member[all …]