ProteoWizard
|
#include "IO.hpp"
#include "Diff.hpp"
#include "examples.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/utility/misc/Std.hpp"
Go to the source code of this file.
Functions | |
template<typename object_type > | |
void | testObject (const object_type &a) |
void | testCV () |
void | testUserParam () |
void | testCVParam () |
template<typename object_type > | |
void | testNamedParamContainer () |
void | testSoftware () |
void | testTraData () |
void | test () |
int | main (int argc, char *argv[]) |
Variables | |
ostream * | os_ = 0 |
void testObject | ( | const object_type & | a | ) |
Definition at line 40 of file IOTest.cpp.
References diff(), os_, pwiz::identdata::IO::read(), unit_assert, and write().
void testCV | ( | ) |
Definition at line 67 of file IOTest.cpp.
References pwiz::cv::CV::fullName, pwiz::cv::CV::id, testObject(), pwiz::cv::CV::URI, and pwiz::cv::CV::version.
void testUserParam | ( | ) |
Definition at line 79 of file IOTest.cpp.
References pwiz::data::UserParam::name, testObject(), pwiz::data::UserParam::type, pwiz::data::UserParam::units, UO_minute, and pwiz::data::UserParam::value.
void testCVParam | ( | ) |
Definition at line 91 of file IOTest.cpp.
References MS_m_z, MS_selected_ion_m_z, testObject(), and UO_second.
void testNamedParamContainer | ( | ) |
Definition at line 102 of file IOTest.cpp.
References MS_ionization_type, MS_m_z, MS_selected_ion_m_z, and testObject().
void testSoftware | ( | ) |
Definition at line 112 of file IOTest.cpp.
References pwiz::tradata::Software::id, MS_ionization_type, pwiz::data::ParamContainer::set(), testObject(), and pwiz::tradata::Software::version.
void testTraData | ( | ) |
Definition at line 166 of file IOTest.cpp.
References diff(), pwiz::identdata::examples::initializeTiny(), os_, pwiz::identdata::IO::read(), unit_assert, and write().
void test | ( | ) |
Definition at line 194 of file IOTest.cpp.
References testCV(), testCVParam(), testTraData(), and testUserParam().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 209 of file IOTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG_EX.
ostream* os_ = 0 |
Definition at line 36 of file IOTest.cpp.