First cut of new filtering mechanism

This commit is contained in:
Phil Nash committed 2012-08-23 20:08:50 +01:00
1 parent b354da9ab9
commit 56d5c42912
14 files changed
+1535 -1365

No files matched your search

+4
View File
@@ -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 {