First cut of new filtering mechanism
This commit is contained in:
1 parent
b354da9ab9
commit
56d5c42912
14 files changed
+1535
-1365
No files matched your search
@@ -74,6 +74,10 @@ namespace Catch {
|
||||
inline void forEach( const ContainerT& container, Function function ) {
|
||||
std::for_each( container.begin(), container.end(), function );
|
||||
}
|
||||
|
||||
inline bool startsWith( const std::string& s, const std::string& prefix ) {
|
||||
return s.size() >= prefix.size() && s.substr( 0, prefix.size() ) == prefix;
|
||||
}
|
||||
|
||||
struct SourceLineInfo {
|
||||
|
||||
|
||||
Reference in new issue
Block a user