ProteoWizard
|
#include "References.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/utility/misc/Std.hpp"
#include "pwiz/utility/minimxml/XMLWriter.hpp"
Go to the source code of this file.
Functions | |
void | testParamContainer () |
void | testFileDescription () |
void | testComponentList () |
void | testInstrumentConfiguration () |
void | testDataProcessing () |
void | testScanSettings () |
void | testPrecursor () |
void | testProduct () |
void | testScan () |
void | testScanList () |
void | testBinaryDataArray () |
void | testSpectrum () |
void | testChromatogram () |
void | testRun () |
void | testMSData () |
void | test () |
int | main (int argc, char *argv[]) |
Variables | |
ostream * | os_ = 0 |
void testParamContainer | ( | ) |
Definition at line 38 of file ReferencesTest.cpp.
References MS_reflectron_off, MS_reflectron_on, os_, pwiz::data::ParamContainer::paramGroupPtrs, pwiz::msdata::MSData::paramGroupPtrs, pwiz::identdata::References::resolve(), and unit_assert.
void testFileDescription | ( | ) |
Definition at line 64 of file ReferencesTest.cpp.
References pwiz::msdata::FileDescription::contacts, pwiz::msdata::FileDescription::fileContent, os_, pwiz::data::ParamContainer::paramGroupPtrs, pwiz::msdata::MSData::paramGroupPtrs, pwiz::identdata::References::resolve(), pwiz::msdata::FileDescription::sourceFilePtrs, and unit_assert.
void testComponentList | ( | ) |
Definition at line 110 of file ReferencesTest.cpp.
References pwiz::msdata::ComponentList::analyzer(), pwiz::msdata::ComponentType_Analyzer, pwiz::msdata::ComponentType_Detector, pwiz::msdata::ComponentType_Source, pwiz::msdata::ComponentList::detector(), os_, pwiz::data::ParamContainer::paramGroupPtrs, pwiz::msdata::MSData::paramGroupPtrs, pwiz::identdata::References::resolve(), pwiz::msdata::ComponentList::source(), and unit_assert.
void testInstrumentConfiguration | ( | ) |
Definition at line 134 of file ReferencesTest.cpp.
References pwiz::msdata::InstrumentConfiguration::componentList, pwiz::msdata::ComponentType_Source, os_, pwiz::data::ParamContainer::paramGroupPtrs, pwiz::msdata::MSData::paramGroupPtrs, pwiz::identdata::References::resolve(), pwiz::msdata::InstrumentConfiguration::softwarePtr, pwiz::msdata::MSData::softwarePtrs, pwiz::msdata::ComponentList::source(), and unit_assert.
void testDataProcessing | ( | ) |
Definition at line 162 of file ReferencesTest.cpp.
References os_, pwiz::msdata::MSData::paramGroupPtrs, pwiz::msdata::DataProcessing::processingMethods, pwiz::identdata::References::resolve(), pwiz::msdata::MSData::softwarePtrs, and unit_assert.
void testScanSettings | ( | ) |
Definition at line 188 of file ReferencesTest.cpp.
References pwiz::msdata::MSData::fileDescription, os_, pwiz::msdata::MSData::paramGroupPtrs, pwiz::identdata::References::resolve(), pwiz::msdata::FileDescription::sourceFilePtrs, pwiz::msdata::ScanSettings::sourceFilePtrs, pwiz::msdata::ScanSettings::targets, and unit_assert.
void testPrecursor | ( | ) |
Definition at line 219 of file ReferencesTest.cpp.
References pwiz::msdata::Precursor::activation, pwiz::msdata::Precursor::isolationWindow, os_, pwiz::data::ParamContainer::paramGroupPtrs, pwiz::msdata::MSData::paramGroupPtrs, pwiz::identdata::References::resolve(), pwiz::msdata::Precursor::selectedIons, and unit_assert.
void testProduct | ( | ) |
Definition at line 248 of file ReferencesTest.cpp.
References pwiz::msdata::Product::isolationWindow, os_, pwiz::data::ParamContainer::paramGroupPtrs, pwiz::msdata::MSData::paramGroupPtrs, pwiz::identdata::References::resolve(), and unit_assert.
void testScan | ( | ) |
Definition at line 267 of file ReferencesTest.cpp.
References pwiz::msdata::Scan::instrumentConfigurationPtr, pwiz::msdata::MSData::instrumentConfigurationPtrs, os_, pwiz::data::ParamContainer::paramGroupPtrs, pwiz::msdata::MSData::paramGroupPtrs, pwiz::identdata::References::resolve(), pwiz::msdata::Scan::scanWindows, and unit_assert.
void testScanList | ( | ) |
Definition at line 295 of file ReferencesTest.cpp.
References os_, pwiz::data::ParamContainer::paramGroupPtrs, pwiz::msdata::MSData::paramGroupPtrs, pwiz::identdata::References::resolve(), pwiz::msdata::ScanList::scans, and unit_assert.
void testBinaryDataArray | ( | ) |
Definition at line 320 of file ReferencesTest.cpp.
References pwiz::msdata::BinaryDataArray::dataProcessingPtr, pwiz::msdata::MSData::dataProcessingPtrs, os_, pwiz::data::ParamContainer::paramGroupPtrs, pwiz::msdata::MSData::paramGroupPtrs, pwiz::identdata::References::resolve(), and unit_assert.
void testSpectrum | ( | ) |
Definition at line 346 of file ReferencesTest.cpp.
References pwiz::msdata::Spectrum::binaryDataArrayPtrs, pwiz::msdata::Spectrum::dataProcessingPtr, pwiz::msdata::MSData::dataProcessingPtrs, pwiz::msdata::MSData::fileDescription, os_, pwiz::data::ParamContainer::paramGroupPtrs, pwiz::msdata::MSData::paramGroupPtrs, pwiz::msdata::Spectrum::precursors, pwiz::msdata::Spectrum::products, pwiz::identdata::References::resolve(), pwiz::msdata::Spectrum::scanList, pwiz::msdata::Spectrum::sourceFilePtr, pwiz::msdata::FileDescription::sourceFilePtrs, and unit_assert.
void testChromatogram | ( | ) |
Definition at line 398 of file ReferencesTest.cpp.
References pwiz::msdata::Chromatogram::binaryDataArrayPtrs, pwiz::msdata::Chromatogram::dataProcessingPtr, pwiz::msdata::MSData::dataProcessingPtrs, os_, pwiz::data::ParamContainer::paramGroupPtrs, pwiz::msdata::MSData::paramGroupPtrs, pwiz::identdata::References::resolve(), and unit_assert.
void testRun | ( | ) |
Definition at line 428 of file ReferencesTest.cpp.
References pwiz::msdata::Run::defaultInstrumentConfigurationPtr, pwiz::msdata::Run::defaultSourceFilePtr, pwiz::msdata::MSData::fileDescription, pwiz::msdata::MSData::instrumentConfigurationPtrs, os_, pwiz::data::ParamContainer::paramGroupPtrs, pwiz::msdata::MSData::paramGroupPtrs, pwiz::identdata::References::resolve(), pwiz::msdata::Run::samplePtr, pwiz::msdata::MSData::samplePtrs, pwiz::msdata::FileDescription::sourceFilePtrs, and unit_assert.
void testMSData | ( | ) |
Definition at line 464 of file ReferencesTest.cpp.
References pwiz::msdata::MSData::dataProcessingPtrs, pwiz::msdata::FileDescription::fileContent, pwiz::msdata::MSData::fileDescription, pwiz::msdata::MSData::instrumentConfigurationPtrs, os_, pwiz::data::ParamContainer::paramGroupPtrs, pwiz::msdata::MSData::paramGroupPtrs, pwiz::identdata::References::resolve(), pwiz::msdata::MSData::run, pwiz::msdata::MSData::samplePtrs, and unit_assert.
void test | ( | ) |
Definition at line 504 of file ReferencesTest.cpp.
References testBinaryDataArray(), testChromatogram(), testComponentList(), testDataProcessing(), testFileDescription(), testInstrumentConfiguration(), testMSData(), testParamContainer(), testPrecursor(), testProduct(), testRun(), testScan(), testScanList(), testScanSettings(), and testSpectrum.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 524 of file ReferencesTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG_EX.
ostream* os_ = 0 |
Definition at line 35 of file ReferencesTest.cpp.