|
ProteoWizard
|
#include "ProteinListCache.hpp"#include "pwiz/utility/misc/unit.hpp"#include "pwiz/utility/misc/Std.hpp"#include "Serializer_FASTA.hpp"Go to the source code of this file.
Functions | |
| ostream & | std::operator<< (ostream &os, const ProteinListCache::CacheType &cache) |
| void | testModeOff () |
| void | testModeMetaDataOnly () |
| void | testModeMetaDataAndSequence () |
| void | test () |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| void testModeOff | ( | ) |
Definition at line 49 of file ProteinListCacheTest.cpp.
References pwiz::proteome::ProteinListCache::cache(), pwiz::util::mru_list< Item, KeyExtractor >::empty(), os_, pwiz::proteome::ProteinListCache::protein(), ProteinListCacheMode_Off, pwiz::proteome::ProteomeData::proteinListPtr, pwiz::proteome::Serializer_FASTA::read(), unit_assert, unit_assert_operator_equal, and pwiz::proteome::Serializer_FASTA::write().
| void testModeMetaDataOnly | ( | ) |
Definition at line 89 of file ProteinListCacheTest.cpp.
References pwiz::proteome::ProteinListCache::cache(), pwiz::util::mru_list< Item, KeyExtractor >::empty(), pwiz::util::mru_list< Item, KeyExtractor >::lru(), pwiz::util::mru_list< Item, KeyExtractor >::max_size(), pwiz::util::mru_list< Item, KeyExtractor >::mru(), os_, pwiz::proteome::ProteinListCache::protein(), ProteinListCacheMode_MetaDataOnly, pwiz::proteome::ProteomeData::proteinListPtr, pwiz::proteome::Serializer_FASTA::read(), pwiz::util::mru_list< Item, KeyExtractor >::size(), unit_assert, unit_assert_operator_equal, and pwiz::proteome::Serializer_FASTA::write().
| void testModeMetaDataAndSequence | ( | ) |
Definition at line 173 of file ProteinListCacheTest.cpp.
References pwiz::proteome::ProteinListCache::cache(), pwiz::util::mru_list< Item, KeyExtractor >::empty(), pwiz::util::mru_list< Item, KeyExtractor >::lru(), pwiz::util::mru_list< Item, KeyExtractor >::max_size(), pwiz::util::mru_list< Item, KeyExtractor >::mru(), os_, pwiz::proteome::ProteinListCache::protein(), pwiz::proteome::ProteomeData::proteinListPtr, pwiz::proteome::Serializer_FASTA::read(), pwiz::util::mru_list< Item, KeyExtractor >::size(), unit_assert, unit_assert_operator_equal, and pwiz::proteome::Serializer_FASTA::write().
Referenced by test().
| void test | ( | ) |
Definition at line 251 of file ProteinListCacheTest.cpp.
References testModeMetaDataAndSequence(), testModeMetaDataOnly(), and testModeOff().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 259 of file ProteinListCacheTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.
| ostream* os_ = 0 |
Definition at line 33 of file ProteinListCacheTest.cpp.
1.8.1.1