|
ProteoWizard
|
#include "pwiz/utility/misc/unit.hpp"#include "pwiz/data/msdata/MSDataFile.hpp"#include "pwiz/data/msdata/SpectrumInfo.hpp"#include "boost/filesystem/path.hpp"#include "boost/filesystem/fstream.hpp"#include "pwiz/utility/misc/Std.hpp"#include <cstring>Go to the source code of this file.
Classes | |
| struct | TestSpectrumInfo |
Functions | |
| void | checkSpectrumInfo (SpectrumPtr s, size_t idx, int msLevel) |
| void | test (const bfs::path &datadir, int msLevel) |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| const TestSpectrumInfo | testSpectrum [] |
| void checkSpectrumInfo | ( | SpectrumPtr | s, |
| size_t | idx, | ||
| int | msLevel | ||
| ) |
Definition at line 58 of file MSnReaderTest.cpp.
References pwiz::data::CVParam::cvid, pwiz::data::ParamContainer::cvParam(), pwiz::data::ParamContainer::cvParams, pwiz::msdata::SpectrumInfo::data, e(), TestSpectrumInfo::first_peak_mz, TestSpectrumInfo::index, pwiz::msdata::SpectrumInfo::index, TestSpectrumInfo::intensity, MS_charge_state, MS_possible_charge_state, pwiz::msdata::SpectrumInfo::msLevel, TestSpectrumInfo::num_peaks, os_, TestSpectrumInfo::precursor_mz, pwiz::msdata::SpectrumInfo::precursors, TestSpectrumInfo::scanNumber, pwiz::msdata::SpectrumInfo::scanNumber, pwiz::msdata::Precursor::selectedIons, testSpectrum, unit_assert, unit_assert_equal, and pwiz::data::CVParam::value.
Referenced by test().
| void test | ( | const bfs::path & | datadir, |
| int | msLevel | ||
| ) |
Definition at line 125 of file MSnReaderTest.cpp.
References checkSpectrumInfo(), filenames, boost::lexical_cast(), os_, pwiz::msdata::MSData::run, pwiz::msdata::Run::spectrumListPtr, and unit_assert.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 211 of file MSnReaderTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.
| ostream* os_ = 0 |
Definition at line 37 of file MSnReaderTest.cpp.
| const TestSpectrumInfo testSpectrum[] |
Definition at line 51 of file MSnReaderTest.cpp.
Referenced by checkSpectrumInfo(), and test().
1.8.1.1