NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <corelib/test_boost.hpp>
#include <objects/seqalign/Seq_align.hpp>
#include <objects/seqalign/Spliced_seg.hpp>
#include <objects/seqalign/Score.hpp>
#include <objects/general/Object_id.hpp>
#include <algo/align/util/score_builder.hpp>
#include <algo/align/util/score_lookup.hpp>
#include <objmgr/object_manager.hpp>
#include <objmgr/scope.hpp>
#include <objtools/data_loaders/genbank/gbloader.hpp>
#include <serial/serial.hpp>
#include <serial/objistr.hpp>
#include <common/test_assert.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
USING_SCOPE (objects) | |
NCBITEST_INIT_CMDLINE (arg_desc) | |
BOOST_AUTO_TEST_CASE (Test_Score_Builder) | |
BOOST_AUTO_TEST_CASE (Test_GetBlastScore) | |
Variables | |
const std::string | sc_TestEntries |
USING_NCBI_SCOPE | |
BOOST_AUTO_TEST_CASE | ( | Test_GetBlastScore | ) |
Definition at line 576 of file score_builder_unit_test.cpp.
References CScope::AddDefaults(), buf, eBlastp, eSerial_AsnText, eTblastn, CScoreBuilder::GetBlastScore(), CObjectManager::GetInstance(), CScoreLookup::GetScore(), om, CObjectIStream::Open(), CGBDataLoader::RegisterInObjectManager(), and CScoreLookup::SetScope().
BOOST_AUTO_TEST_CASE | ( | Test_Score_Builder | ) |
Definition at line 87 of file score_builder_unit_test.cpp.
References CScope::AddDefaults(), CScoreBuilder::AddScore(), CScoreBuilderBase::AddSplignScores(), CScope::AddTopLevelSeqEntry(), CSeq_align_Base::C_Segs::e_Denseg, CSeq_align_Base::C_Segs::e_Disc, CSeq_align_Base::C_Segs::e_Spliced, CSeq_align_Base::C_Segs::e_Std, eBlastn, CScoreBuilderBase::eGapped, CScoreBuilderBase::eGBDNA, CSpliced_seg_Base::eProduct_type_transcript, Error(), CSeq_align::eScore_HighQualityPercentCoverage, CSeq_align::eScore_IdentityCount, CSeq_align::eScore_MismatchCount, CSeq_align::eScore_NegativeCount, CSeq_align::eScore_PercentCoverage, CSeq_align::eScore_PercentIdentity_GapOpeningOnly, CSeq_align::eScore_PercentIdentity_Gapped, CSeq_align::eScore_PercentIdentity_Ungapped, CSeq_align::eScore_PositiveCount, CSeq_align::eScore_Score, CScoreBuilderBase::eUngapped, expected, CScoreBuilderBase::GetAlignLength(), CNcbiApplicationAPI::GetArgs(), CScoreBuilder::GetBlastScore(), CScoreBuilderBase::GetGapBaseCount(), CScoreBuilderBase::GetGapCount(), CScoreBuilderBase::GetIdentityCount(), CObjectManager::GetInstance(), CScoreBuilderBase::GetMismatchCount(), CSeq_align::GetNamedScore(), CScoreBuilderBase::GetPercentCoverage(), CScoreBuilderBase::GetPercentIdentity(), CSpliced_seg_Base::GetProduct_type(), CSeq_align_Base::GetScore(), CSeq_align_Base::GetSegs(), CSeq_align_Base::C_Segs::GetSpliced(), CNcbiApplication::Instance(), CSeq_align_Base::C_Segs::IsDenseg(), CSeq_align_Base::C_Segs::IsSpliced(), CSeq_align_Base::C_Segs::IsStd(), ITERATE, LOG_POST, MSerial_AsnText, om, CGBDataLoader::RegisterInObjectManager(), CSeq_align_Base::ResetScore(), sc_TestEntries, and CSeq_align_Base::C_Segs::Which().
NCBITEST_INIT_CMDLINE | ( | arg_desc | ) |
Definition at line 76 of file score_builder_unit_test.cpp.
References CArgDescriptions::eInputFile.
USING_SCOPE | ( | objects | ) |
Definition at line 421 of file score_builder_unit_test.cpp.
Referenced by BOOST_AUTO_TEST_CASE().
USING_NCBI_SCOPE |
Definition at line 73 of file score_builder_unit_test.cpp.