NCBI C++ ToolKit
|
Unit test module for deltablast. More...
#include <ncbi_pch.hpp>
#include <corelib/test_boost.hpp>
#include <serial/serial.hpp>
#include <serial/objistr.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <objects/seqalign/Score.hpp>
#include <objects/seqalign/Dense_seg.hpp>
#include <objects/seqalign/Seq_align.hpp>
#include <objects/seqalign/Seq_align_set.hpp>
#include <objmgr/scope.hpp>
#include <objects/scoremat/Pssm.hpp>
#include <objects/scoremat/PssmWithParameters.hpp>
#include <algo/blast/api/deltablast.hpp>
#include <algo/blast/api/objmgr_query_data.hpp>
#include <algo/blast/api/deltablast_options.hpp>
#include <algo/blast/api/uniform_search.hpp>
#include <algo/blast/api/local_db_adapter.hpp>
#include <algo/blast/api/blast_rps_options.hpp>
#include "seqalign_cmp.hpp"
#include "seqalign_set_convert.hpp"
#include "blast_test_util.hpp"
#include "test_objmgr.hpp"
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | CDeltaBlastTestFixture |
Macros | |
#define | STATIC_ARRAY_SIZE(array) (sizeof(array)/sizeof(*array)) |
Calculate the size of a static array. More... | |
Functions | |
BOOST_AUTO_TEST_CASE (TestSingleQuery_CBS) | |
BOOST_AUTO_TEST_CASE (TestSingleQuery_NoCBS) | |
BOOST_AUTO_TEST_CASE (TestMultipleQueries) | |
BOOST_AUTO_TEST_CASE (TestNullQuery) | |
BOOST_AUTO_TEST_CASE (TestNullOptions) | |
BOOST_AUTO_TEST_CASE (TestNullDatabase) | |
BOOST_AUTO_TEST_CASE (TestNullDomainDatabase) | |
Unit test module for deltablast.
Definition in file delta_unit_test.cpp.
Calculate the size of a static array.
Definition at line 70 of file delta_unit_test.cpp.
BOOST_AUTO_TEST_CASE | ( | TestMultipleQueries | ) |
Definition at line 688 of file delta_unit_test.cpp.
References ctll::empty(), ctll::front(), Get(), CDeltaBlast::GetPssm(), GI_CONST, ITERATE, m_Scope, results, and CDeltaBlast::Run().
BOOST_AUTO_TEST_CASE | ( | TestNullDatabase | ) |
Definition at line 753 of file delta_unit_test.cpp.
BOOST_AUTO_TEST_CASE | ( | TestNullDomainDatabase | ) |
Definition at line 766 of file delta_unit_test.cpp.
BOOST_AUTO_TEST_CASE | ( | TestNullOptions | ) |
Definition at line 739 of file delta_unit_test.cpp.
BOOST_AUTO_TEST_CASE | ( | TestNullQuery | ) |
Definition at line 728 of file delta_unit_test.cpp.
BOOST_AUTO_TEST_CASE | ( | TestSingleQuery_CBS | ) |
Definition at line 215 of file delta_unit_test.cpp.
References copy(), ctll::empty(), ctll::front(), Get(), CDeltaBlast::GetDomainResults(), CBioseq::GetFirstId(), CSeq_id_Base::GetGi(), CDeltaBlast::GetPssm(), CPssmWithParameters::GetQuery(), CSeq_entry_Base::GetSeq(), GI_CONST, CPssmWithParameters::HasQuery(), CBioseq_Base::IsSetInst(), m_Scope, query, results, CDeltaBlast::Run(), SeqAlignSetConvert(), CBlastRPSOptionsHandle::SetCompositionBasedStats(), CBlastOptionsHandle::SetEvalueThreshold(), CBlastOptionsHandle::SetFilterString(), and STATIC_ARRAY_SIZE.
BOOST_AUTO_TEST_CASE | ( | TestSingleQuery_NoCBS | ) |
Definition at line 471 of file delta_unit_test.cpp.
References copy(), CSearchDatabase::eBlastDbIsProtein, ctll::empty(), eNoCompositionBasedStats, ctll::front(), Get(), CDeltaBlast::GetDomainResults(), CBioseq::GetFirstId(), CSeq_id_Base::GetGi(), CDeltaBlast::GetPssm(), CPssmWithParameters::GetQuery(), CSeq_entry_Base::GetSeq(), GI_CONST, CPssmWithParameters::HasQuery(), CBioseq_Base::IsSetInst(), m_Scope, query, results, CDeltaBlast::Run(), SeqAlignSetConvert(), CBlastRPSOptionsHandle::SetCompositionBasedStats(), CBlastOptionsHandle::SetEvalueThreshold(), and STATIC_ARRAY_SIZE.