NCBI C++ ToolKit
Classes | Functions
uniform_search_unit_test.cpp File Reference

Unit tests for the uniform search API. More...

#include <ncbi_pch.hpp>
#include <corelib/test_boost.hpp>
#include <algo/blast/api/uniform_search.hpp>
#include <algo/blast/api/local_search.hpp>
#include <algo/blast/api/remote_search.hpp>
#include <algo/blast/api/objmgr_query_data.hpp>
#include "test_objmgr.hpp"
#include "blast_test_util.hpp"
#include <objtools/blast/seqdb_reader/seqdb.hpp>
#include <objtools/blast/seqdb_reader/seqdbcommon.hpp>
#include <objects/scoremat/PssmWithParameters.hpp>
#include <util/random_gen.hpp>
#include "seqalign_cmp.hpp"
#include "seqalign_set_convert.hpp"
+ Include dependency graph for uniform_search_unit_test.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  TQueryMessagesComparator
 

Functions

static CSearchResultSet RunMultipleProteinSearch (ISearchFactory &factory, const string &impl)
 
 BOOST_AUTO_TEST_SUITE (uniform_search)
 
 BOOST_AUTO_TEST_CASE (SortSearchMessages_DifferentSeverity)
 
 BOOST_AUTO_TEST_CASE (SortSearchMessages_DifferentErrorId)
 
 BOOST_AUTO_TEST_CASE (SortSearchMessages_DifferentMessage)
 
 BOOST_AUTO_TEST_CASE (PartialOrderSearchMessages)
 
 BOOST_AUTO_TEST_CASE (EmptyAlignmentInCSearchResultSet)
 
 BOOST_AUTO_TEST_CASE (EqualitySearchMessages)
 
 BOOST_AUTO_TEST_CASE (MultipleProteinSearch)
 
 BOOST_AUTO_TEST_CASE (SearchDatabase_RestrictionGiList)
 
 BOOST_AUTO_TEST_CASE (SearchDatabase_Restriction)
 

Detailed Description

Unit tests for the uniform search API.

Definition in file uniform_search_unit_test.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/9]

BOOST_AUTO_TEST_CASE ( EmptyAlignmentInCSearchResultSet  )

Definition at line 182 of file uniform_search_unit_test.cpp.

References CSeq_id_Base::e_Gi, i, input(), MSerial_AsnText, and results.

◆ BOOST_AUTO_TEST_CASE() [2/9]

BOOST_AUTO_TEST_CASE ( EqualitySearchMessages  )

Definition at line 211 of file uniform_search_unit_test.cpp.

References eBlastSevWarning.

◆ BOOST_AUTO_TEST_CASE() [3/9]

BOOST_AUTO_TEST_CASE ( MultipleProteinSearch  )

◆ BOOST_AUTO_TEST_CASE() [4/9]

BOOST_AUTO_TEST_CASE ( PartialOrderSearchMessages  )

Definition at line 163 of file uniform_search_unit_test.cpp.

References eBlastSevFatal, and eBlastSevWarning.

◆ BOOST_AUTO_TEST_CASE() [5/9]

BOOST_AUTO_TEST_CASE ( SearchDatabase_Restriction  )

◆ BOOST_AUTO_TEST_CASE() [6/9]

BOOST_AUTO_TEST_CASE ( SearchDatabase_RestrictionGiList  )

◆ BOOST_AUTO_TEST_CASE() [7/9]

BOOST_AUTO_TEST_CASE ( SortSearchMessages_DifferentErrorId  )

Definition at line 126 of file uniform_search_unit_test.cpp.

References eBlastSevInfo, CRandom::GetRand(), i, and ct::sort().

◆ BOOST_AUTO_TEST_CASE() [8/9]

BOOST_AUTO_TEST_CASE ( SortSearchMessages_DifferentMessage  )

◆ BOOST_AUTO_TEST_CASE() [9/9]

BOOST_AUTO_TEST_CASE ( SortSearchMessages_DifferentSeverity  )

◆ BOOST_AUTO_TEST_SUITE()

BOOST_AUTO_TEST_SUITE ( uniform_search  )

◆ RunMultipleProteinSearch()

static CSearchResultSet RunMultipleProteinSearch ( ISearchFactory factory,
const string impl 
)
static
Modified on Fri Sep 20 14:58:07 2024 by modify_doxy.py rev. 669887