NCBI C++ ToolKit
|
Mock object implementations of the BlastSeqSrc interface. More...
#include <ncbi_pch.hpp>
#include "seqsrc_mock.hpp"
#include <algo/blast/core/blast_seqsrc_impl.h>
#include <algo/blast/core/blast_util.h>
#include "test_objmgr.hpp"
#include <blast_objmgr_priv.hpp>
#include <corelib/ncbistr.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Macros | |
#define | BLAST_SECONDARY_SOURCE 1 |
Mock object implementations of the BlastSeqSrc interface.
Definition in file seqsrc_mock.cpp.
#define BLAST_SECONDARY_SOURCE 1 |
Definition at line 36 of file seqsrc_mock.cpp.
BlastSeqSrc* MockBlastSeqSrcInit | ( | EMockBlastSeqSrcMode | mode | ) |
Mock BlastSeqSrc initialization function.
Definition at line 314 of file seqsrc_mock.cpp.
References BlastSeqSrcNew(), BlastSeqSrcNewInfo::constructor, BlastSeqSrcNewInfo::ctor_argument, NULL, and s_MockBlastSeqSrcNew().
Referenced by BOOST_AUTO_TEST_CASE(), FailingMockSeqSrcTestFixture::FailingMockSeqSrcTestFixture(), and RandomlyFailingMockSeqSrcTestFixture::RandomlyFailingMockSeqSrcTestFixture().
BlastSeqSrc* s_MockBlastSeqSrcFree | ( | BlastSeqSrc * | seq_src | ) |
Definition at line 256 of file seqsrc_mock.cpp.
References _BlastSeqSrcImpl_GetDataStructure(), and NULL.
Referenced by s_MockBlastSeqSrcNew().
Definition at line 207 of file seqsrc_mock.cpp.
References ASSERT.
Referenced by s_MockBlastSeqSrcNew().
Definition at line 231 of file seqsrc_mock.cpp.
References ASSERT.
Referenced by s_MockBlastSeqSrcNew().
Definition at line 199 of file seqsrc_mock.cpp.
References ASSERT.
Referenced by s_MockBlastSeqSrcNew().
Definition at line 191 of file seqsrc_mock.cpp.
References ASSERT.
Referenced by s_MockBlastSeqSrcNew().
Definition at line 180 of file seqsrc_mock.cpp.
References ASSERT.
Referenced by s_MockBlastSeqSrcNew().
Definition at line 223 of file seqsrc_mock.cpp.
References ASSERT.
Referenced by s_MockBlastSeqSrcNew().
|
static |
Definition at line 170 of file seqsrc_mock.cpp.
References ASSERT.
Referenced by s_MockBlastSeqSrcNew().
Definition at line 215 of file seqsrc_mock.cpp.
References ASSERT.
Referenced by s_MockBlastSeqSrcNew().
|
static |
Definition at line 248 of file seqsrc_mock.cpp.
References ASSERT.
Referenced by s_MockBlastSeqSrcNew().
|
static |
Definition at line 271 of file seqsrc_mock.cpp.
References _BlastSeqSrcImpl_SetDataStructure(), _BlastSeqSrcImpl_SetDeleteFnPtr(), _BlastSeqSrcImpl_SetGetAvgSeqLen(), _BlastSeqSrcImpl_SetGetIsProt(), _BlastSeqSrcImpl_SetGetMaxSeqLen(), _BlastSeqSrcImpl_SetGetName(), _BlastSeqSrcImpl_SetGetNumSeqs(), _BlastSeqSrcImpl_SetGetSeqLen(), _BlastSeqSrcImpl_SetGetSequence(), _BlastSeqSrcImpl_SetGetTotLen(), _BlastSeqSrcImpl_SetInitErrorStr(), _BlastSeqSrcImpl_SetIterNext(), _BlastSeqSrcImpl_SetReleaseSequence(), ASSERT, eMBSS_AlwaysFail, eMBSS_RandomlyFail, msg(), NULL, s_MockBlastSeqSrcFree(), s_MockBlastSeqSrcGetAvgSeqLen(), s_MockBlastSeqSrcGetIsProt(), s_MockBlastSeqSrcGetMaxSeqLen(), s_MockBlastSeqSrcGetNumSeqs(), s_MockBlastSeqSrcGetSeqLen(), s_MockBlastSeqSrcGetSeqSrcName(), s_MockBlastSeqSrcGetSequence(), s_MockBlastSeqSrcGetTotLen(), s_MockBlastSeqSrcItrNext(), s_MockBlastSeqSrcReleaseSequence(), strdup, and string.
Referenced by MockBlastSeqSrcInit().
|
static |
Definition at line 239 of file seqsrc_mock.cpp.
References ASSERT.
Referenced by s_MockBlastSeqSrcNew().