33 return bfs::is_directory(rawpath);
41 if (bfs::exists(bfs::path(rawpath) /
"analysis.tdf"))
47 int main(
int argc,
char* argv[])
51 #ifdef PWIZ_READER_BRUKER 52 const bool testAcceptOnly =
false;
54 const bool testAcceptOnly =
true;
59 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, const ReaderTestConfig &config=ReaderTestConfig())
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
int preferOnlyMsLevel
when nonzero, if reader can enumerate only spectra of ms level, it will (currently only supported by ...
test implementations derive from this to define which paths should be tested
bool combineIonMobilitySpectra
when true, all drift bins/scans in a frame/block are written in combined form instead of as individua...
#define TEST_PROLOG(argc, argv)