|
ProteoWizard
|
#include "MSDataCache.hpp"#include "pwiz/data/msdata/MSDataFile.hpp"#include "pwiz/data/msdata/examples.hpp"#include "pwiz/utility/misc/unit.hpp"#include "pwiz/utility/misc/Std.hpp"#include <cstring>Go to the source code of this file.
Classes | |
| struct | EvenRequester |
Functions | |
| void | testMetadata (MSDataCache &cache) |
| void | testDefault () |
| void | printCache (ostream &os, const MSDataCache &cache) |
| void | testMRU () |
| void | testUpdateRequest () |
| void | testAutomaticUpdate () |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| const double | epsilon_ = 1e-6 |
| void testMetadata | ( | MSDataCache & | cache | ) |
Definition at line 41 of file MSDataCacheTest.cpp.
References epsilon_, MS_QIT, pwiz::chemistry::Ion::mz(), os_, unit_assert, and unit_assert_equal.
Referenced by testDefault().
| void testDefault | ( | ) |
Definition at line 76 of file MSDataCacheTest.cpp.
References pwiz::identdata::examples::initializeTiny(), pwiz::analysis::MSDataCache::open(), pwiz::msdata::MSData::run, pwiz::msdata::Run::spectrumListPtr, testMetadata(), unit_assert, and pwiz::analysis::MSDataCache::update().
Referenced by main().
| void printCache | ( | ostream & | os, |
| const MSDataCache & | cache | ||
| ) |
Definition at line 97 of file MSDataCacheTest.cpp.
Referenced by testMRU().
| void testMRU | ( | ) |
Definition at line 110 of file MSDataCacheTest.cpp.
References pwiz::analysis::MSDataCache::Config::binaryDataCacheSize, boost::lexical_cast(), MS_number_of_counts, pwiz::analysis::MSDataCache::open(), os_, printCache(), pwiz::msdata::MSData::run, pwiz::msdata::Run::spectrumListPtr, unit_assert, and pwiz::analysis::MSDataCache::update().
Referenced by main().
| void testUpdateRequest | ( | ) |
Definition at line 188 of file MSDataCacheTest.cpp.
References pwiz::analysis::MSDataAnalyzerDriver::analyze(), pwiz::msdata::SpectrumInfo::id, pwiz::msdata::SpectrumInfo::index, boost::lexical_cast(), MS_number_of_counts, os_, pwiz::msdata::MSData::run, pwiz::msdata::Run::spectrumListPtr, and unit_assert.
Referenced by main().
| void testAutomaticUpdate | ( | ) |
Definition at line 230 of file MSDataCacheTest.cpp.
References pwiz::msdata::SpectrumInfo::data, pwiz::msdata::SpectrumInfo::id, pwiz::msdata::SpectrumInfo::index, boost::lexical_cast(), MS_number_of_counts, pwiz::analysis::MSDataCache::open(), os_, pwiz::msdata::MSData::run, pwiz::analysis::MSDataCache::spectrumInfo(), pwiz::msdata::Run::spectrumListPtr, and unit_assert.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 286 of file MSDataCacheTest.cpp.
References e(), os_, TEST_EPILOG, TEST_FAILED, TEST_PROLOG, testAutomaticUpdate(), testDefault(), testMRU(), and testUpdateRequest().
| ostream* os_ = 0 |
Definition at line 37 of file MSDataCacheTest.cpp.
| const double epsilon_ = 1e-6 |
Definition at line 38 of file MSDataCacheTest.cpp.
1.8.1.1