Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::testing::internal::HasSubstrIgnoreANSIMatcher Class Reference

#include <gmock-matchers.hh>

Public Member Functions

 HasSubstrIgnoreANSIMatcher (std::string substring)
bool MatchAndExplain (const char *s, ::testing::MatchResultListener *listener) const
template<typename MatcheeStringType>
bool MatchAndExplain (const MatcheeStringType &s, ::testing::MatchResultListener *listener) const
void DescribeTo (::std::ostream *os) const
void DescribeNegationTo (::std::ostream *os) const

Detailed Description

GMock matcher that matches substring while stripping off all ANSI escapes. Useful for checking exceptions messages in unit tests.


The documentation for this class was generated from the following file: