|
ProteoWizard
|
#include "LegacyAdapter.hpp"#include "pwiz/data/common/CVTranslator.hpp"#include "TextWriter.hpp"#include "pwiz/utility/misc/unit.hpp"#include "boost/lambda/lambda.hpp"#include "boost/lambda/bind.hpp"#include "pwiz/utility/misc/Std.hpp"#include <cstring>Go to the source code of this file.
Functions | |
| void | testModelAndManufacturer () |
| void | testIonisation () |
| void | testAnalyzer () |
| void | testDetector () |
| void | testInstrumentConfiguration () |
| void | testSoftware () |
| void | test () |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| void testModelAndManufacturer | ( | ) |
Definition at line 43 of file LegacyAdapterTest.cpp.
References pwiz::data::ParamContainer::cvParams, pwiz::msdata::LegacyAdapter_Instrument::manufacturer(), pwiz::msdata::LegacyAdapter_Instrument::manufacturerAndModel(), pwiz::msdata::LegacyAdapter_Instrument::model(), os_, unit_assert, and pwiz::data::ParamContainer::userParams.
Referenced by testInstrumentConfiguration().
| void testIonisation | ( | ) |
Definition at line 79 of file LegacyAdapterTest.cpp.
References pwiz::msdata::InstrumentConfiguration::componentList, pwiz::msdata::ComponentType_Source, pwiz::data::ParamContainer::cvParams, pwiz::msdata::LegacyAdapter_Instrument::ionisation(), os_, pwiz::msdata::ComponentList::source(), unit_assert, and pwiz::data::ParamContainer::userParams.
Referenced by testInstrumentConfiguration().
| void testAnalyzer | ( | ) |
Definition at line 106 of file LegacyAdapterTest.cpp.
References pwiz::msdata::LegacyAdapter_Instrument::analyzer(), pwiz::msdata::ComponentList::analyzer(), pwiz::msdata::InstrumentConfiguration::componentList, pwiz::msdata::ComponentType_Analyzer, pwiz::data::ParamContainer::cvParams, os_, unit_assert, and pwiz::data::ParamContainer::userParams.
Referenced by testInstrumentConfiguration().
| void testDetector | ( | ) |
Definition at line 133 of file LegacyAdapterTest.cpp.
References pwiz::msdata::InstrumentConfiguration::componentList, pwiz::msdata::ComponentType_Detector, pwiz::data::ParamContainer::cvParams, pwiz::msdata::LegacyAdapter_Instrument::detector(), pwiz::msdata::ComponentList::detector(), os_, unit_assert, and pwiz::data::ParamContainer::userParams.
Referenced by testInstrumentConfiguration().
| void testInstrumentConfiguration | ( | ) |
Definition at line 160 of file LegacyAdapterTest.cpp.
References testAnalyzer(), testDetector(), testIonisation(), and testModelAndManufacturer().
| void testSoftware | ( | ) |
Definition at line 169 of file LegacyAdapterTest.cpp.
References pwiz::data::CVParam::cvid, CVID_Unknown, MS_software, MS_Xcalibur, pwiz::msdata::LegacyAdapter_Software::name(), os_, pwiz::msdata::LegacyAdapter_Software::type(), unit_assert, and pwiz::msdata::LegacyAdapter_Software::version().
| void test | ( | ) |
Definition at line 202 of file LegacyAdapterTest.cpp.
References testInstrumentConfiguration(), and testSoftware().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 209 of file LegacyAdapterTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.
| ostream* os_ = 0 |
Definition at line 40 of file LegacyAdapterTest.cpp.
1.8.1.1