NCBI C++ ToolKit
Functions | Variables
unit_test_pkg_seqedit.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbi_system.hpp>
#include <corelib/ncbiapp.hpp>
#include <objmgr/scope.hpp>
#include <objmgr/object_manager.hpp>
#include <objects/misc/sequence_macros.hpp>
#include <objects/seqtable/SeqTable_column.hpp>
#include <corelib/test_boost.hpp>
#include <gui/packages/pkg_sequence_edit/strain_serotype_influenza.hpp>
#include <gui/packages/pkg_sequence_edit/featedit_util.hpp>
#include <gui/packages/pkg_sequence_edit/add_deflinedlg.hpp>
#include <gui/packages/pkg_sequence_edit/prefix_deflinedlg.hpp>
#include <gui/packages/pkg_sequence_edit/field_choice_panel.hpp>
#include <gui/packages/pkg_sequence_edit/miscedit_util.hpp>
#include <gui/widgets/edit/field_type_constants.hpp>
#include <gui/objutils/cmd_create_feat.hpp>
#include <gui/objutils/cmd_add_seqentry.hpp>
+ Include dependency graph for unit_test_pkg_seqedit.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

 NCBITEST_AUTO_INIT ()
 
 NCBITEST_AUTO_FINI ()
 
void ReadEntry (const string &name, CSeq_entry_Handle &seh)
 
 BOOST_AUTO_TEST_CASE (Test_MultipleStrains)
 
 BOOST_AUTO_TEST_CASE (Test_MultipleStrainsEmpty)
 
 BOOST_AUTO_TEST_CASE (Test_AddStrainSerotype)
 
 BOOST_AUTO_TEST_CASE (Test_FixInfluenzaNames)
 
 BOOST_AUTO_TEST_CASE (Test_ParsingNoConflicts)
 
 BOOST_AUTO_TEST_CASE (Test_ParsingWithConflictsUpdate)
 
 BOOST_AUTO_TEST_CASE (Test_ParsingWithConflictsNoUpdate)
 
 BOOST_AUTO_TEST_CASE (Test_SplittingStructuredCollections)
 
 BOOST_AUTO_TEST_CASE (Test_TrimmingOrganismNames)
 
 BOOST_AUTO_TEST_CASE (Test_AddrRNa)
 
 BOOST_AUTO_TEST_CASE (Test_AddControlRegion)
 
 BOOST_AUTO_TEST_CASE (Test_AddMicrosatellite)
 
 BOOST_AUTO_TEST_CASE (Test_AddDefLine)
 
 BOOST_AUTO_TEST_CASE (Test_RemoveDefLines)
 
 BOOST_AUTO_TEST_CASE (Test_PrefixDefline)
 
 BOOST_AUTO_TEST_CASE (Test_Automatch)
 
 BOOST_AUTO_TEST_CASE (Test_LooksLikeHeader)
 
CRef< CUser_objectx_MakeDefaultTextOptions (size_t num_cols)
 
void x_TestPair (CSeq_entry_Handle seh, const string &match, const string &field, const vector< string > &match_vals, const vector< string > &field_vals)
 
void x_TestList (CSeq_entry_Handle seh, const string &match, const vector< string > &field_list, const vector< string > &match_vals, const vector< vector< string > > &field_vals)
 

Variables

 USING_NCBI_SCOPE
 
const char * sc_TestEntry_multiplestrains
 
const char * sc_TestEntry_mtplstrains_empty
 
const char * sc_TestEntry_addstrainserotype
 
const char * sc_TestEntry_fixorganismnames
 
const char * sc_TestEntry_noparsing
 
const char * sc_TestEntry_parsingnoconflicts
 
const char * sc_TestEntry_parsingwithconflicts
 
const char * sc_TestEntry_splitstructcollections
 
const char * sc_TestEntry_trimorgnames
 
const char * sc_TestEntry_addfeat
 
const char * sc_TestEntry_adddefline
 
const char * sc_TestEntry_removedeflines
 
const char * sc_TestEntry_prefixtodeflines
 
const char * sc_TestEntry_apply_table
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/17]

BOOST_AUTO_TEST_CASE ( Test_AddControlRegion  )

◆ BOOST_AUTO_TEST_CASE() [2/17]

BOOST_AUTO_TEST_CASE ( Test_AddDefLine  )

◆ BOOST_AUTO_TEST_CASE() [3/17]

BOOST_AUTO_TEST_CASE ( Test_AddMicrosatellite  )

◆ BOOST_AUTO_TEST_CASE() [4/17]

BOOST_AUTO_TEST_CASE ( Test_AddrRNa  )

◆ BOOST_AUTO_TEST_CASE() [5/17]

BOOST_AUTO_TEST_CASE ( Test_AddStrainSerotype  )

◆ BOOST_AUTO_TEST_CASE() [6/17]

BOOST_AUTO_TEST_CASE ( Test_Automatch  )

Definition at line 2900 of file unit_test_pkg_seqedit.cpp.

References CFieldChoicePanel::AutoMatch().

◆ BOOST_AUTO_TEST_CASE() [7/17]

BOOST_AUTO_TEST_CASE ( Test_FixInfluenzaNames  )

◆ BOOST_AUTO_TEST_CASE() [8/17]

BOOST_AUTO_TEST_CASE ( Test_LooksLikeHeader  )

Definition at line 2908 of file unit_test_pkg_seqedit.cpp.

References CFieldChoicePanel::LooksLikeHeader().

◆ BOOST_AUTO_TEST_CASE() [9/17]

BOOST_AUTO_TEST_CASE ( Test_MultipleStrains  )

◆ BOOST_AUTO_TEST_CASE() [10/17]

BOOST_AUTO_TEST_CASE ( Test_MultipleStrainsEmpty  )

◆ BOOST_AUTO_TEST_CASE() [11/17]

BOOST_AUTO_TEST_CASE ( Test_ParsingNoConflicts  )

◆ BOOST_AUTO_TEST_CASE() [12/17]

BOOST_AUTO_TEST_CASE ( Test_ParsingWithConflictsNoUpdate  )

◆ BOOST_AUTO_TEST_CASE() [13/17]

BOOST_AUTO_TEST_CASE ( Test_ParsingWithConflictsUpdate  )

◆ BOOST_AUTO_TEST_CASE() [14/17]

BOOST_AUTO_TEST_CASE ( Test_PrefixDefline  )

◆ BOOST_AUTO_TEST_CASE() [15/17]

BOOST_AUTO_TEST_CASE ( Test_RemoveDefLines  )

◆ BOOST_AUTO_TEST_CASE() [16/17]

BOOST_AUTO_TEST_CASE ( Test_SplittingStructuredCollections  )

◆ BOOST_AUTO_TEST_CASE() [17/17]

BOOST_AUTO_TEST_CASE ( Test_TrimmingOrganismNames  )

◆ NCBITEST_AUTO_FINI()

NCBITEST_AUTO_FINI ( )

Definition at line 76 of file unit_test_pkg_seqedit.cpp.

◆ NCBITEST_AUTO_INIT()

NCBITEST_AUTO_INIT ( )

Definition at line 72 of file unit_test_pkg_seqedit.cpp.

◆ ReadEntry()

void ReadEntry ( const string name,
CSeq_entry_Handle seh 
)

◆ x_MakeDefaultTextOptions()

CRef<CUser_object> x_MakeDefaultTextOptions ( size_t  num_cols)

◆ x_TestList()

void x_TestList ( CSeq_entry_Handle  seh,
const string match,
const vector< string > &  field_list,
const vector< string > &  match_vals,
const vector< vector< string > > &  field_vals 
)

◆ x_TestPair()

void x_TestPair ( CSeq_entry_Handle  seh,
const string match,
const string field,
const vector< string > &  match_vals,
const vector< string > &  field_vals 
)

Variable Documentation

◆ sc_TestEntry_adddefline

const char * sc_TestEntry_adddefline

Definition at line 1325 of file unit_test_pkg_seqedit.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ sc_TestEntry_addfeat

const char * sc_TestEntry_addfeat

Definition at line 1446 of file unit_test_pkg_seqedit.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ sc_TestEntry_addstrainserotype

const char * sc_TestEntry_addstrainserotype

Definition at line 2577 of file unit_test_pkg_seqedit.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ sc_TestEntry_apply_table

const char* sc_TestEntry_apply_table

Definition at line 2932 of file unit_test_pkg_seqedit.cpp.

◆ sc_TestEntry_fixorganismnames

const char * sc_TestEntry_fixorganismnames

Definition at line 2393 of file unit_test_pkg_seqedit.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ sc_TestEntry_mtplstrains_empty

const char * sc_TestEntry_mtplstrains_empty

Definition at line 2837 of file unit_test_pkg_seqedit.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ sc_TestEntry_multiplestrains

const char * sc_TestEntry_multiplestrains

Definition at line 2775 of file unit_test_pkg_seqedit.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ sc_TestEntry_noparsing

const char * sc_TestEntry_noparsing

Definition at line 2331 of file unit_test_pkg_seqedit.cpp.

◆ sc_TestEntry_parsingnoconflicts

const char * sc_TestEntry_parsingnoconflicts

Definition at line 2215 of file unit_test_pkg_seqedit.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ sc_TestEntry_parsingwithconflicts

const char * sc_TestEntry_parsingwithconflicts

Definition at line 2121 of file unit_test_pkg_seqedit.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ sc_TestEntry_prefixtodeflines

const char * sc_TestEntry_prefixtodeflines

Definition at line 981 of file unit_test_pkg_seqedit.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ sc_TestEntry_removedeflines

const char * sc_TestEntry_removedeflines

Definition at line 1206 of file unit_test_pkg_seqedit.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ sc_TestEntry_splitstructcollections

const char * sc_TestEntry_splitstructcollections

Definition at line 1998 of file unit_test_pkg_seqedit.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ sc_TestEntry_trimorgnames

const char * sc_TestEntry_trimorgnames

Definition at line 1497 of file unit_test_pkg_seqedit.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 56 of file unit_test_pkg_seqedit.cpp.

Modified on Fri Sep 20 14:58:26 2024 by modify_doxy.py rev. 669887