Lines Matching refs:m_comparator
3548 CasedString m_comparator; member
3605 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; member
3626 … 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
3656 … EqualsMatcher(std::vector<T, AllocComp> const &comparator) : m_comparator( comparator ) {} in EqualsMatcher()
3663 if (m_comparator.size() != v.size()) in match()
3666 if (m_comparator[i] != v[i]) in match()
3671 return "Equals: " + ::Catch::Detail::stringify( m_comparator ); in describe()
3673 std::vector<T, AllocComp> const& m_comparator; member
3679 … ApproxMatcher(std::vector<T, AllocComp> const& comparator) : m_comparator( comparator ) {} in ApproxMatcher()
3682 if (m_comparator.size() != v.size()) in match()
3685 if (m_comparator[i] != approx(v[i])) in match()
3690 return "is approx: " + ::Catch::Detail::stringify( m_comparator ); in describe()
3708 std::vector<T, AllocComp> const& m_comparator; member
11666 : m_comparator( comparator ), in StringMatcherBase()
11672 description.reserve(5 + m_operation.size() + m_comparator.m_str.size() + in describe()
11673 m_comparator.caseSensitivitySuffix().size()); in describe()
11676 description += m_comparator.m_str; in describe()
11678 description += m_comparator.caseSensitivitySuffix(); in describe()
11685 return m_comparator.adjustString( source ) == m_comparator.m_str; in match()
11691 return contains( m_comparator.adjustString( source ), m_comparator.m_str ); in match()
11697 return startsWith( m_comparator.adjustString( source ), m_comparator.m_str ); in match()
11703 return endsWith( m_comparator.adjustString( source ), m_comparator.m_str ); in match()