ProteoWizard
Classes | Functions
DemuxDebugReadWriteTest.cpp File Reference
#include "pwiz/utility/misc/Std.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/analysis/demux/DemuxDebugReader.hpp"
#include "pwiz/analysis/demux/DemuxDebugWriter.hpp"
#include <boost/make_shared.hpp>

Go to the source code of this file.

Classes

class  DemuxDebugRWTest
 

Functions

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

Function Documentation

◆ main()

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

Definition at line 123 of file DemuxDebugReadWriteTest.cpp.

References DemuxDebugRWTest::Run(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.

124 {
125  TEST_PROLOG(argc, argv)
126 
127  try
128  {
129  DemuxDebugRWTest tester;
130  tester.Run();
131  }
132  catch (exception& e)
133  {
134  TEST_FAILED(e.what())
135  }
136  catch (...)
137  {
138  TEST_FAILED("Caught unknown exception.")
139  }
140 
142 }
#define TEST_EPILOG
Definition: unit.hpp:182
#define TEST_FAILED(x)
Definition: unit.hpp:176
#define TEST_PROLOG(argc, argv)
Definition: unit.hpp:174