NCBI C++ ToolKit
Classes | Macros | Functions | Variables
blast_scope_src_unit_test.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/test_boost.hpp>
#include <algo/blast/blastinput/blast_scope_src.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <objmgr/util/seq_loc_util.hpp>
#include <objects/entrez2/entrez2_client.hpp>
#include <objmgr/seq_vector.hpp>
#include <algo/blast/blastinput/blast_input.hpp>
#include <algo/blast/blastinput/blast_fasta_input.hpp>
#include <algo/blast/api/sseqloc.hpp>
#include "blast_input_unit_test_aux.hpp"
+ Include dependency graph for blast_scope_src_unit_test.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  SDiagRestorer
 

Macros

#define NCBI_TEST_APPLICATION
 
#define NCBI_BOOST_NO_AUTO_TEST_MAIN
 

Functions

 USING_SCOPE (blast)
 
 USING_SCOPE (objects)
 
 BOOST_AUTO_TEST_CASE (RetrieveFromBlastDb_TestSequenceData)
 
 BOOST_AUTO_TEST_CASE (RetrieveFromDefaultBlastDb_NoNcbirc)
 
 BOOST_AUTO_TEST_CASE (RetrieveFromBlastDbOnly_TestSequenceDataWithAccession)
 
 BOOST_AUTO_TEST_CASE (ConfigFileTest_RetrieveFromBlastDb_TestSequenceData)
 
 BOOST_AUTO_TEST_CASE (ConfigFileTest_RetrieveFromNonStandardBlastDb_Config_TestSequenceData)
 
 BOOST_AUTO_TEST_CASE (ConfigFileTest_RetrieveFromNonStandardBlastDb_ForcedDb_TestSequenceData)
 
 BOOST_AUTO_TEST_CASE (ConfigFileTest_RetrieveFromGenbank_TestSequenceData)
 
 BOOST_AUTO_TEST_CASE (ConfigFileTest_UseNoDataLoaders)
 
static void s_RetrieveSequenceLength (TGi gi, const string &dbname, bool is_prot, TSeqPos kExpectedLength)
 
 BOOST_AUTO_TEST_CASE (RetrieveFromBlastDb)
 
 BOOST_AUTO_TEST_CASE (RetrieveFromGenbank)
 
 BOOST_AUTO_TEST_CASE (RetrieveFromGenbank_NewlyAddedSequenceToGenbank)
 
 BOOST_AUTO_TEST_CASE (RetrieveFromGenbank_NoBlastDbDataLoader)
 
 BOOST_AUTO_TEST_CASE (RetrieveFromGenbank_IncorrectBlastDbType)
 
 BOOST_AUTO_TEST_CASE (InvalidBlastDatabase)
 
 BOOST_AUTO_TEST_CASE (ForceRemoteBlastDbLoader)
 
 BOOST_AUTO_TEST_CASE (RetrieveSeqUsingPDBIds)
 

Variables

 USING_NCBI_SCOPE
 

Macro Definition Documentation

◆ NCBI_BOOST_NO_AUTO_TEST_MAIN

#define NCBI_BOOST_NO_AUTO_TEST_MAIN

Definition at line 34 of file blast_scope_src_unit_test.cpp.

◆ NCBI_TEST_APPLICATION

#define NCBI_TEST_APPLICATION

Definition at line 32 of file blast_scope_src_unit_test.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/16]

BOOST_AUTO_TEST_CASE ( ConfigFileTest_RetrieveFromBlastDb_TestSequenceData  )

◆ BOOST_AUTO_TEST_CASE() [2/16]

BOOST_AUTO_TEST_CASE ( ConfigFileTest_RetrieveFromGenbank_TestSequenceData  )

◆ BOOST_AUTO_TEST_CASE() [3/16]

BOOST_AUTO_TEST_CASE ( ConfigFileTest_RetrieveFromNonStandardBlastDb_Config_TestSequenceData  )

◆ BOOST_AUTO_TEST_CASE() [4/16]

BOOST_AUTO_TEST_CASE ( ConfigFileTest_RetrieveFromNonStandardBlastDb_ForcedDb_TestSequenceData  )

◆ BOOST_AUTO_TEST_CASE() [5/16]

BOOST_AUTO_TEST_CASE ( ConfigFileTest_UseNoDataLoaders  )

◆ BOOST_AUTO_TEST_CASE() [6/16]

BOOST_AUTO_TEST_CASE ( ForceRemoteBlastDbLoader  )

◆ BOOST_AUTO_TEST_CASE() [7/16]

BOOST_AUTO_TEST_CASE ( InvalidBlastDatabase  )

◆ BOOST_AUTO_TEST_CASE() [8/16]

BOOST_AUTO_TEST_CASE ( RetrieveFromBlastDb  )

Definition at line 327 of file blast_scope_src_unit_test.cpp.

References s_RetrieveSequenceLength().

◆ BOOST_AUTO_TEST_CASE() [9/16]

BOOST_AUTO_TEST_CASE ( RetrieveFromBlastDb_TestSequenceData  )

◆ BOOST_AUTO_TEST_CASE() [10/16]

BOOST_AUTO_TEST_CASE ( RetrieveFromBlastDbOnly_TestSequenceDataWithAccession  )

◆ BOOST_AUTO_TEST_CASE() [11/16]

BOOST_AUTO_TEST_CASE ( RetrieveFromDefaultBlastDb_NoNcbirc  )

◆ BOOST_AUTO_TEST_CASE() [12/16]

BOOST_AUTO_TEST_CASE ( RetrieveFromGenbank  )

Definition at line 332 of file blast_scope_src_unit_test.cpp.

References s_RetrieveSequenceLength().

◆ BOOST_AUTO_TEST_CASE() [13/16]

BOOST_AUTO_TEST_CASE ( RetrieveFromGenbank_IncorrectBlastDbType  )

Definition at line 368 of file blast_scope_src_unit_test.cpp.

References s_RetrieveSequenceLength().

◆ BOOST_AUTO_TEST_CASE() [14/16]

BOOST_AUTO_TEST_CASE ( RetrieveFromGenbank_NewlyAddedSequenceToGenbank  )

◆ BOOST_AUTO_TEST_CASE() [15/16]

BOOST_AUTO_TEST_CASE ( RetrieveFromGenbank_NoBlastDbDataLoader  )

◆ BOOST_AUTO_TEST_CASE() [16/16]

BOOST_AUTO_TEST_CASE ( RetrieveSeqUsingPDBIds  )

◆ s_RetrieveSequenceLength()

static void s_RetrieveSequenceLength ( TGi  gi,
const string dbname,
bool  is_prot,
TSeqPos  kExpectedLength 
)
static

◆ USING_SCOPE() [1/2]

USING_SCOPE ( blast  )

◆ USING_SCOPE() [2/2]

USING_SCOPE ( objects  )

Variable Documentation

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 52 of file blast_scope_src_unit_test.cpp.

Modified on Fri Sep 20 14:57:56 2024 by modify_doxy.py rev. 669887