ProteoWizard
Classes | Functions
Reader_ABI_T2D_Test.cpp File Reference
#include "pwiz/utility/misc/unit.hpp"
#include "Reader_ABI_T2D.hpp"
#include "pwiz/utility/misc/VendorReaderTestHarness.hpp"
#include "pwiz/utility/misc/Filesystem.hpp"
#include "pwiz/utility/misc/Std.hpp"

Go to the source code of this file.

Classes

struct  Is_T2D_Directory
 

Functions

int main (int argc, char *argv[])
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 39 of file Reader_ABI_T2D_Test.cpp.

References TEST_EPILOG, TEST_FAILED, TEST_PROLOG, and pwiz::util::testReader().

40 {
41  TEST_PROLOG(argc, argv)
42 
43  #ifdef PWIZ_READER_ABI_T2D
44  const bool testAcceptOnly = false;
45  #else
46  const bool testAcceptOnly = true;
47  #endif
48 
49  try
50  {
52  }
53  catch (exception& e)
54  {
55  TEST_FAILED(e.what())
56  }
57  catch (...)
58  {
59  TEST_FAILED("Caught unknown exception.")
60  }
61 
63 }