Home
last modified time | relevance | path

Searched refs:m_comparator (Results 1 – 7 of 7) sorted by relevance

/external/catch2/include/internal/
Dcatch_matchers_vector.h23 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; member
44 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; member
74 EqualsMatcher(std::vector<T> const &comparator) : m_comparator( comparator ) {} in EqualsMatcher()
[all …]
Dcatch_matchers_string.cpp37 : 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()
Dcatch_matchers_string.h34 CasedString m_comparator; member
/external/emma/core/java12/com/vladium/emma/report/
DIItemAttribute.java91 return m_comparator; in comparator()
121 m_comparator = new NameComparator (); in NameAttribute()
125 private final Comparator m_comparator; field in IItemAttribute.Factory.NameAttribute
135 return m_comparator; in comparator()
216 m_comparator = new FractionComparator (); in FractionAttribute()
225 private final Comparator m_comparator; field in IItemAttribute.Factory.FractionAttribute
DItemComparator.java66 return m_comparator.compare (g, l);
72 m_comparator = comparator;
76 private final Comparator m_comparator;
/external/catch2/single_include/catch2/
Dcatch.hpp3522 CasedString m_comparator; member
3579 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; member
3600 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 …]
/external/libabigail/tests/lib/
Dcatch.hpp3548 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
[all …]