33 return bfs::is_directory(rawpath) &&
34 bal::to_lower_copy(
BFS_STRING(bfs::path(rawpath).extension())) ==
".raw";
38 int main(
int argc,
char* argv[])
42 #ifdef PWIZ_READER_WATERS 43 const bool testAcceptOnly =
false;
45 const bool testAcceptOnly =
true;
50 bool requireUnicodeSupport =
false;
int main(int argc, char *argv[])
PWIZ_API_DECL int testReader(const pwiz::msdata::Reader &reader, const std::vector< std::string > &args, bool testAcceptOnly, bool requireUnicodeSupport, const TestPathPredicate &isPathTestable)
A common test harness for vendor readers;.
bool operator()(const string &rawpath) const
returns true iff the given rawpath is a real path to test/generate
test implementations derive from this to define which paths should be tested
#define TEST_PROLOG(argc, argv)