Home
last modified time | relevance | path

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

/external/catch2/include/internal/
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_vector.h44 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; member
65 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; member
95 EqualsMatcher(std::vector<T> const &comparator) : m_comparator( comparator ) {} in EqualsMatcher()
[all …]
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.hpp3150 CasedString m_comparator; member
3229 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; member
3250 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 …]