29 #ifdef PWIZ_READER_ABI
37 return bal::iends_with(rawpath,
".wiff")
39 || bal::iends_with(rawpath,
".wiff2")
45 int main(
int argc,
char* argv[])
49 #ifdef PWIZ_READER_ABI
50 const bool testAcceptOnly =
false;
52 const bool testAcceptOnly =
true;
57 #ifdef PWIZ_READER_ABI
61 using namespace pwiz::msdata::detail::ABI;
65 bool allInstrumentTestsPassed =
true;
66 for (
int i = 1; i < (int) InstrumentModel_Count; ++i)
68 InstrumentModel model = (InstrumentModel) i;
80 catch (runtime_error& e)
82 cerr <<
"Unit test failed for instrument model " << lexical_cast<string>(model) <<
":\n" << e.what() << endl;
83 allInstrumentTestsPassed =
false;
90 bool requireUnicodeSupport =
true;