NCBI C++ ToolKit
Classes | Macros | Functions | Variables
seqfeatdata_unit_test.cpp File Reference
#include <ncbi_pch.hpp>
#include <objects/general/Name_std.hpp>
#include <objects/general/Person_id.hpp>
#include <objects/general/User_object.hpp>
#include <objects/general/User_field.hpp>
#include <objects/general/Object_id.hpp>
#include <objects/seqfeat/SeqFeatData.hpp>
#include <objects/seqfeat/RNA_ref.hpp>
#include <objects/seqfeat/RNA_gen.hpp>
#include <objects/seqfeat/Trna_ext.hpp>
#include <objects/seqfeat/OrgMod.hpp>
#include <objects/seqfeat/SubSource.hpp>
#include <objects/seqfeat/BioSource.hpp>
#include <objects/seqfeat/OrgName.hpp>
#include <objects/seqfeat/Org_ref.hpp>
#include <objects/seqfeat/Gb_qual.hpp>
#include <objects/seqfeat/Prot_ref.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <objects/pub/Pub.hpp>
#include <objects/pub/Pub_equiv.hpp>
#include <objects/biblio/Cit_art.hpp>
#include <objects/biblio/Imprint.hpp>
#include <objects/biblio/Cit_gen.hpp>
#include <objects/biblio/Cit_jour.hpp>
#include <objects/biblio/Cit_book.hpp>
#include <objects/biblio/Cit_proc.hpp>
#include <objects/biblio/Cit_let.hpp>
#include <objects/biblio/Cit_sub.hpp>
#include <objects/biblio/Author.hpp>
#include <objects/biblio/Auth_list.hpp>
#include <objects/biblio/Affil.hpp>
#include <corelib/ncbimisc.hpp>
#include <corelib/ncbiapp.hpp>
#include <corelib/test_boost.hpp>
#include <boost/test/parameterized_test.hpp>
#include <util/util_exception.hpp>
#include <util/util_misc.hpp>
#include <util/random_gen.hpp>
#include <common/test_assert.h>
+ Include dependency graph for seqfeatdata_unit_test.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  SCollDateInfo
 

Macros

#define ESUBTYPE_SHOULD_FAIL(name)    subtypesExpectedToFail.insert(CSeqFeatData::eSubtype_##name);
 
#define CHECK_COMMON_FIELD(o1, o2, c, Field, val1, val2)
 
#define CHECK_COMMON_STRING_LIST(o1, o2, c, Field, val1, val2)
 

Functions

 USING_SCOPE (objects)
 
static void SetSubSource (objects::CBioSource &src, objects::CSubSource::TSubtype subtype, string val)
 
 BOOST_AUTO_TEST_CASE (s_TestSubtypeMaps)
 
 BOOST_AUTO_TEST_CASE (Test_CapitalizationFix)
 
 BOOST_AUTO_TEST_CASE (Test_OrgMod_FixHost)
 
 BOOST_AUTO_TEST_CASE (Test_FixLatLonFormat)
 
CRef< CAuth_lists_MakeAuthList ()
 
void s_ChangeAuthorFirstName (CAuth_list &auth_list)
 
void s_ChangeAuthorLastName (CAuth_list &auth_list)
 
CRef< CAuth_lists_SetAuthList (CPub &pub)
 
bool s_ChangeAuthorFirstName (CPub &pub)
 
bool s_ChangeAuthorLastName (CPub &pub)
 
CRef< CImprints_MakeImprint ()
 
CRef< CImprints_SetImprint (CPub &pub)
 
void s_AddNameTitle (CTitle &title)
 
void s_ChangeNameTitle (CTitle &title)
 
void s_AddJTATitle (CTitle &title)
 
void s_ChangeJTATitle (CTitle &title)
 
void s_ChangeTitle (CPub &pub)
 
void s_ChangeDate (CDate &date)
 
void s_ChangeImprintNoMatch (CImprint &imp, int change_no)
 
void s_ChangeImprintMatch (CImprint &imp, int change_no)
 
bool s_ChangeImprintNoMatch (CPub &pub, int change_no)
 
bool s_ChangeImprintMatch (CPub &pub, int change_no)
 
 BOOST_AUTO_TEST_CASE (Test_AuthList_SameCitation)
 
CRef< CCit_jours_MakeJournal ()
 
CRef< CPubs_MakeJournalArticlePub ()
 
CRef< CCit_books_MakeBook ()
 
CRef< CPubs_MakeBookChapterPub ()
 
void s_TestAuthorChanges (CPub &pub)
 
void s_TestImprintChanges (CPub &pub)
 
void s_TestTitleChange (CPub &pub)
 
 BOOST_AUTO_TEST_CASE (Test_Pub_SameCitation)
 
 BOOST_AUTO_TEST_CASE (Test_PubEquiv_SameCitation)
 
 BOOST_AUTO_TEST_CASE (Test_OrgName_MakeCommon)
 
 BOOST_AUTO_TEST_CASE (Test_OrgRef_MakeCommon)
 
 BOOST_AUTO_TEST_CASE (Test_BioSource_MakeCommon)
 
 BOOST_AUTO_TEST_CASE (Test_BioSource_GetRepliconName_CXX_10657)
 
 BOOST_AUTO_TEST_CASE (Test_Regulatory)
 
 BOOST_AUTO_TEST_CASE (Test_RmCultureNotes)
 
 BOOST_AUTO_TEST_CASE (Test_DiscouragedEnums)
 
 BOOST_AUTO_TEST_CASE (Test_CheckCellLine)
 
 BOOST_AUTO_TEST_CASE (Test_FixStrain)
 
 BOOST_AUTO_TEST_CASE (Test_AllowedFeatureLocation)
 
 BOOST_AUTO_TEST_CASE (Test_SQD_2180)
 
 BOOST_AUTO_TEST_CASE (Test_SQD_2183)
 
 BOOST_AUTO_TEST_CASE (Test_SQD_2164)
 
 BOOST_AUTO_TEST_CASE (Test_GB_4111)
 
 BOOST_AUTO_TEST_CASE (Test_GB_3965)
 
 BOOST_AUTO_TEST_CASE (Test_GB_5458)
 
 BOOST_AUTO_TEST_CASE (Test_SQD_2319)
 
 BOOST_AUTO_TEST_CASE (Test_GB_5391)
 
 BOOST_AUTO_TEST_CASE (Test_SQD_3603)
 
 BOOST_AUTO_TEST_CASE (Test_GB_6371)
 
 BOOST_AUTO_TEST_CASE (Test_FixDateFormat_for_BI_2614)
 
 BOOST_AUTO_TEST_CASE (Test_GetRNAProduct)
 
 BOOST_AUTO_TEST_CASE (Test_SetRnaProductName)
 
 BOOST_AUTO_TEST_CASE (Test_IsIllegalQualName)
 
 BOOST_AUTO_TEST_CASE (Test_IsECNumberSplit)
 
 BOOST_AUTO_TEST_CASE (Test_FileTrack)
 
 BOOST_AUTO_TEST_CASE (Test_EnvSampleCleanup)
 
 BOOST_AUTO_TEST_CASE (Test_RemoveNullTerms)
 
 BOOST_AUTO_TEST_CASE (Test_RemoveAbbreviation)
 
 BOOST_AUTO_TEST_CASE (Test_FixSexMatingTypeInconsistencies)
 
 BOOST_AUTO_TEST_CASE (Test_RemoveUnexpectedViralQualifiers)
 
 BOOST_AUTO_TEST_CASE (Test_FixGenomeForQualifiers)
 
 BOOST_AUTO_TEST_CASE (Test_AllowXref)
 
 BOOST_AUTO_TEST_CASE (Test_recombination_class)
 
 BOOST_AUTO_TEST_CASE (Test_OrgMod_IsDiscouraged)
 
void CheckViruses (CBioSource &src)
 
void CheckPlasmid (CBioSource &src)
 
void CheckBioProjectLocationVals (CBioSource::EGenome genome, const string &bioprojectlocation)
 
 BOOST_AUTO_TEST_CASE (Test_GetBioProjectTypeAndLocation)
 
 BOOST_AUTO_TEST_CASE (Test_OrgRefLookup)
 
 BOOST_AUTO_TEST_CASE (Test_CleanupAndRepairInference)
 
 BOOST_AUTO_TEST_CASE (Test_SQD_4173)
 
 BOOST_AUTO_TEST_CASE (Test_VR_665)
 
 BOOST_AUTO_TEST_CASE (Test_VR_693)
 
 BOOST_AUTO_TEST_CASE (Test_IsLegalClass)
 
 BOOST_AUTO_TEST_CASE (Test_LegalMobileElement)
 
 BOOST_AUTO_TEST_CASE (Test_FixImportKey)
 
 BOOST_AUTO_TEST_CASE (Test_IsTypeMaterialValid)
 
 BOOST_AUTO_TEST_CASE (Test_VR_730)
 
 BOOST_AUTO_TEST_CASE (Test_RefGeneTracking)
 
 BOOST_AUTO_TEST_CASE (Test_IsValidEcNumberFormat)
 
 BOOST_AUTO_TEST_CASE (Test_IsValidLocalID)
 
 BOOST_AUTO_TEST_CASE (Test_Unverified)
 
 BOOST_AUTO_TEST_CASE (Test_LegalQualsAny)
 
 BOOST_AUTO_TEST_CASE (Test_GetQualifierTypeAndCheckCase)
 
 BOOST_AUTO_TEST_CASE (Test_x_ExhonerateQualifier)
 

Variables

 USING_NCBI_SCOPE
 

Macro Definition Documentation

◆ CHECK_COMMON_FIELD

#define CHECK_COMMON_FIELD (   o1,
  o2,
  c,
  Field,
  val1,
  val2 
)
Value:
o1->Set##Field(val1); \
o2->Reset##Field(); \
c = o1->MakeCommon(*o2); \
BOOST_CHECK_EQUAL(c->IsSet##Field(), false); \
o2->Set##Field(val2); \
c = o1->MakeCommon(*o2); \
BOOST_CHECK_EQUAL(c->IsSet##Field(), false); \
o2->Set##Field(val1); \
c = o1->MakeCommon(*o2); \
BOOST_CHECK_EQUAL(c->IsSet##Field(), true); \
BOOST_CHECK_EQUAL(c->Get##Field(), o1->Get##Field());

Definition at line 960 of file seqfeatdata_unit_test.cpp.

◆ CHECK_COMMON_STRING_LIST

#define CHECK_COMMON_STRING_LIST (   o1,
  o2,
  c,
  Field,
  val1,
  val2 
)
Value:
o1->Set##Field().push_back(val1); \
c = o1->MakeCommon(*o2); \
BOOST_CHECK_EQUAL(c->IsSet##Field(), false); \
o2->Set##Field().push_back(val2); \
c = o1->MakeCommon(*o2); \
BOOST_CHECK_EQUAL(c->IsSet##Field(), false); \
o2->Set##Field().push_back(val1); \
c = o1->MakeCommon(*o2); \
BOOST_CHECK_EQUAL(c->IsSet##Field(), true); \
BOOST_CHECK_EQUAL(c->Get##Field().size(), 1); \
BOOST_CHECK_EQUAL(c->Get##Field().front(), val1);
constexpr auto front(list< Head, As... >, T=T()) noexcept -> Head
const struct ncbi::grid::netcache::search::fields::SIZE size

Definition at line 1028 of file seqfeatdata_unit_test.cpp.

◆ ESUBTYPE_SHOULD_FAIL

#define ESUBTYPE_SHOULD_FAIL (   name)     subtypesExpectedToFail.insert(CSeqFeatData::eSubtype_##name);

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/60]

BOOST_AUTO_TEST_CASE ( s_TestSubtypeMaps  )

◆ BOOST_AUTO_TEST_CASE() [2/60]

BOOST_AUTO_TEST_CASE ( Test_AllowedFeatureLocation  )

◆ BOOST_AUTO_TEST_CASE() [3/60]

BOOST_AUTO_TEST_CASE ( Test_AllowXref  )

◆ BOOST_AUTO_TEST_CASE() [4/60]

BOOST_AUTO_TEST_CASE ( Test_AuthList_SameCitation  )

◆ BOOST_AUTO_TEST_CASE() [5/60]

BOOST_AUTO_TEST_CASE ( Test_BioSource_GetRepliconName_CXX_10657  )

◆ BOOST_AUTO_TEST_CASE() [6/60]

BOOST_AUTO_TEST_CASE ( Test_BioSource_MakeCommon  )

◆ BOOST_AUTO_TEST_CASE() [7/60]

BOOST_AUTO_TEST_CASE ( Test_CapitalizationFix  )

◆ BOOST_AUTO_TEST_CASE() [8/60]

BOOST_AUTO_TEST_CASE ( Test_CheckCellLine  )

Definition at line 1271 of file seqfeatdata_unit_test.cpp.

References CSubSource::CheckCellLine().

◆ BOOST_AUTO_TEST_CASE() [9/60]

BOOST_AUTO_TEST_CASE ( Test_CleanupAndRepairInference  )

Definition at line 1969 of file seqfeatdata_unit_test.cpp.

References CGb_qual::CleanupAndRepairInference().

◆ BOOST_AUTO_TEST_CASE() [10/60]

BOOST_AUTO_TEST_CASE ( Test_DiscouragedEnums  )

◆ BOOST_AUTO_TEST_CASE() [11/60]

BOOST_AUTO_TEST_CASE ( Test_EnvSampleCleanup  )

◆ BOOST_AUTO_TEST_CASE() [12/60]

BOOST_AUTO_TEST_CASE ( Test_FileTrack  )

◆ BOOST_AUTO_TEST_CASE() [13/60]

BOOST_AUTO_TEST_CASE ( Test_FixDateFormat_for_BI_2614  )

◆ BOOST_AUTO_TEST_CASE() [14/60]

BOOST_AUTO_TEST_CASE ( Test_FixGenomeForQualifiers  )

◆ BOOST_AUTO_TEST_CASE() [15/60]

BOOST_AUTO_TEST_CASE ( Test_FixImportKey  )

Definition at line 2063 of file seqfeatdata_unit_test.cpp.

References CSeqFeatData::FixImportKey(), and val.

◆ BOOST_AUTO_TEST_CASE() [16/60]

BOOST_AUTO_TEST_CASE ( Test_FixLatLonFormat  )

Definition at line 210 of file seqfeatdata_unit_test.cpp.

References CSubSource::FixLatLonFormat().

◆ BOOST_AUTO_TEST_CASE() [17/60]

BOOST_AUTO_TEST_CASE ( Test_FixSexMatingTypeInconsistencies  )

◆ BOOST_AUTO_TEST_CASE() [18/60]

BOOST_AUTO_TEST_CASE ( Test_FixStrain  )

Definition at line 1293 of file seqfeatdata_unit_test.cpp.

References COrgMod::FixStrain().

◆ BOOST_AUTO_TEST_CASE() [19/60]

BOOST_AUTO_TEST_CASE ( Test_GB_3965  )

Definition at line 1359 of file seqfeatdata_unit_test.cpp.

References ambig(), and CSubSource::FixDateFormat().

◆ BOOST_AUTO_TEST_CASE() [20/60]

BOOST_AUTO_TEST_CASE ( Test_GB_4111  )

Definition at line 1348 of file seqfeatdata_unit_test.cpp.

References CCountries::CountryFixupItem().

◆ BOOST_AUTO_TEST_CASE() [21/60]

BOOST_AUTO_TEST_CASE ( Test_GB_5391  )

Definition at line 1390 of file seqfeatdata_unit_test.cpp.

References CSubSource::FixDateFormat().

◆ BOOST_AUTO_TEST_CASE() [22/60]

BOOST_AUTO_TEST_CASE ( Test_GB_5458  )

Definition at line 1377 of file seqfeatdata_unit_test.cpp.

References ambig(), and CSubSource::FixDateFormat().

◆ BOOST_AUTO_TEST_CASE() [23/60]

BOOST_AUTO_TEST_CASE ( Test_GB_6371  )

Definition at line 1401 of file seqfeatdata_unit_test.cpp.

References CSubSource::FixDateFormat().

◆ BOOST_AUTO_TEST_CASE() [24/60]

BOOST_AUTO_TEST_CASE ( Test_GetBioProjectTypeAndLocation  )

◆ BOOST_AUTO_TEST_CASE() [25/60]

BOOST_AUTO_TEST_CASE ( Test_GetQualifierTypeAndCheckCase  )

◆ BOOST_AUTO_TEST_CASE() [26/60]

BOOST_AUTO_TEST_CASE ( Test_GetRNAProduct  )

◆ BOOST_AUTO_TEST_CASE() [27/60]

BOOST_AUTO_TEST_CASE ( Test_IsECNumberSplit  )

Definition at line 1656 of file seqfeatdata_unit_test.cpp.

References CProt_ref::IsECNumberSplit().

◆ BOOST_AUTO_TEST_CASE() [28/60]

BOOST_AUTO_TEST_CASE ( Test_IsIllegalQualName  )

Definition at line 1649 of file seqfeatdata_unit_test.cpp.

References CGb_qual::IsIllegalQualName().

◆ BOOST_AUTO_TEST_CASE() [29/60]

BOOST_AUTO_TEST_CASE ( Test_IsLegalClass  )

◆ BOOST_AUTO_TEST_CASE() [30/60]

BOOST_AUTO_TEST_CASE ( Test_IsTypeMaterialValid  )

◆ BOOST_AUTO_TEST_CASE() [31/60]

BOOST_AUTO_TEST_CASE ( Test_IsValidEcNumberFormat  )

Definition at line 2241 of file seqfeatdata_unit_test.cpp.

References CProt_ref::IsValidECNumberFormat().

◆ BOOST_AUTO_TEST_CASE() [32/60]

BOOST_AUTO_TEST_CASE ( Test_IsValidLocalID  )

Definition at line 2256 of file seqfeatdata_unit_test.cpp.

References CSeq_id::IsValidLocalID().

◆ BOOST_AUTO_TEST_CASE() [33/60]

BOOST_AUTO_TEST_CASE ( Test_LegalMobileElement  )

◆ BOOST_AUTO_TEST_CASE() [34/60]

BOOST_AUTO_TEST_CASE ( Test_LegalQualsAny  )

◆ BOOST_AUTO_TEST_CASE() [35/60]

BOOST_AUTO_TEST_CASE ( Test_OrgMod_FixHost  )

Definition at line 194 of file seqfeatdata_unit_test.cpp.

References COrgMod::FixHost().

◆ BOOST_AUTO_TEST_CASE() [36/60]

BOOST_AUTO_TEST_CASE ( Test_OrgMod_IsDiscouraged  )

◆ BOOST_AUTO_TEST_CASE() [37/60]

BOOST_AUTO_TEST_CASE ( Test_OrgName_MakeCommon  )

◆ BOOST_AUTO_TEST_CASE() [38/60]

BOOST_AUTO_TEST_CASE ( Test_OrgRef_MakeCommon  )

◆ BOOST_AUTO_TEST_CASE() [39/60]

BOOST_AUTO_TEST_CASE ( Test_OrgRefLookup  )

Definition at line 1955 of file seqfeatdata_unit_test.cpp.

References lookup(), and COrg_ref::TableLookup().

◆ BOOST_AUTO_TEST_CASE() [40/60]

BOOST_AUTO_TEST_CASE ( Test_Pub_SameCitation  )

◆ BOOST_AUTO_TEST_CASE() [41/60]

BOOST_AUTO_TEST_CASE ( Test_PubEquiv_SameCitation  )

◆ BOOST_AUTO_TEST_CASE() [42/60]

BOOST_AUTO_TEST_CASE ( Test_recombination_class  )

◆ BOOST_AUTO_TEST_CASE() [43/60]

BOOST_AUTO_TEST_CASE ( Test_RefGeneTracking  )

Definition at line 2105 of file seqfeatdata_unit_test.cpp.

References CUser_object::eObjectType_RefGeneTracking, CUser_object::eRefGeneTrackingStatus_INFERRED, CUser_object::eRefGeneTrackingStatus_NotSet, CUser_object::eRefGeneTrackingStatus_PIPELINE, CUser_object_Base::GetData(), CUser_object::GetObjectType(), CUser_object::GetRefGeneTrackingAssembly(), CUser_object::GetRefGeneTrackingCollaborator(), CUser_object::GetRefGeneTrackingCollaboratorURL(), CUser_object::GetRefGeneTrackingGenerated(), CUser_object::GetRefGeneTrackingGenomicSource(), CUser_object::GetRefGeneTrackingIdenticalTo(), CUser_object::GetRefGeneTrackingStatus(), CObject_id_Base::GetStr(), CUser_object_Base::GetType(), GI_CONST, CUser_object::IsRefGeneTracking(), CUser_object::IsSetRefGeneTrackingCollaborator(), CUser_object::IsSetRefGeneTrackingCollaboratorURL(), CUser_object::IsSetRefGeneTrackingGenomicSource(), CUser_object::IsSetRefGeneTrackingIdenticalTo(), CUser_object::IsSetRefGeneTrackingStatus(), kEmptyStr, NULL, CUser_object::ResetRefGeneTrackingAssembly(), CUser_object::ResetRefGeneTrackingCollaborator(), CUser_object::ResetRefGeneTrackingCollaboratorURL(), CUser_object::ResetRefGeneTrackingGenerated(), CUser_object::ResetRefGeneTrackingGenomicSource(), CUser_object::ResetRefGeneTrackingIdenticalTo(), CUser_object::ResetRefGeneTrackingStatus(), CUser_object::SetObjectType(), CUser_object::SetRefGeneTrackingAssembly(), CUser_object::SetRefGeneTrackingCollaborator(), CUser_object::SetRefGeneTrackingCollaboratorURL(), CUser_object::SetRefGeneTrackingGenerated(), CUser_object::SetRefGeneTrackingGenomicSource(), CUser_object::SetRefGeneTrackingIdenticalTo(), and CUser_object::SetRefGeneTrackingStatus().

◆ BOOST_AUTO_TEST_CASE() [44/60]

BOOST_AUTO_TEST_CASE ( Test_Regulatory  )

◆ BOOST_AUTO_TEST_CASE() [45/60]

BOOST_AUTO_TEST_CASE ( Test_RemoveAbbreviation  )

◆ BOOST_AUTO_TEST_CASE() [46/60]

BOOST_AUTO_TEST_CASE ( Test_RemoveNullTerms  )

◆ BOOST_AUTO_TEST_CASE() [47/60]

BOOST_AUTO_TEST_CASE ( Test_RemoveUnexpectedViralQualifiers  )

◆ BOOST_AUTO_TEST_CASE() [48/60]

BOOST_AUTO_TEST_CASE ( Test_RmCultureNotes  )

◆ BOOST_AUTO_TEST_CASE() [49/60]

BOOST_AUTO_TEST_CASE ( Test_SetRnaProductName  )

◆ BOOST_AUTO_TEST_CASE() [50/60]

BOOST_AUTO_TEST_CASE ( Test_SQD_2164  )

Definition at line 1340 of file seqfeatdata_unit_test.cpp.

References CCountries::CountryFixupItem().

◆ BOOST_AUTO_TEST_CASE() [51/60]

BOOST_AUTO_TEST_CASE ( Test_SQD_2180  )

Definition at line 1319 of file seqfeatdata_unit_test.cpp.

References CSubSource::CheckCellLine().

◆ BOOST_AUTO_TEST_CASE() [52/60]

BOOST_AUTO_TEST_CASE ( Test_SQD_2183  )

Definition at line 1327 of file seqfeatdata_unit_test.cpp.

References CSubSource::FixAltitude().

◆ BOOST_AUTO_TEST_CASE() [53/60]

BOOST_AUTO_TEST_CASE ( Test_SQD_2319  )

Definition at line 1384 of file seqfeatdata_unit_test.cpp.

References CSubSource::FixDateFormat().

◆ BOOST_AUTO_TEST_CASE() [54/60]

BOOST_AUTO_TEST_CASE ( Test_SQD_3603  )

Definition at line 1396 of file seqfeatdata_unit_test.cpp.

References CSubSource::FixDateFormat().

◆ BOOST_AUTO_TEST_CASE() [55/60]

BOOST_AUTO_TEST_CASE ( Test_SQD_4173  )

Definition at line 1978 of file seqfeatdata_unit_test.cpp.

References CBioSource::ShouldIgnoreConflict().

◆ BOOST_AUTO_TEST_CASE() [56/60]

BOOST_AUTO_TEST_CASE ( Test_Unverified  )

◆ BOOST_AUTO_TEST_CASE() [57/60]

BOOST_AUTO_TEST_CASE ( Test_VR_665  )

Definition at line 1984 of file seqfeatdata_unit_test.cpp.

References COrgMod::IsInstitutionCodeValid().

◆ BOOST_AUTO_TEST_CASE() [58/60]

BOOST_AUTO_TEST_CASE ( Test_VR_693  )

◆ BOOST_AUTO_TEST_CASE() [59/60]

BOOST_AUTO_TEST_CASE ( Test_VR_730  )

◆ BOOST_AUTO_TEST_CASE() [60/60]

BOOST_AUTO_TEST_CASE ( Test_x_ExhonerateQualifier  )

◆ CheckBioProjectLocationVals()

void CheckBioProjectLocationVals ( CBioSource::EGenome  genome,
const string bioprojectlocation 
)

◆ CheckPlasmid()

void CheckPlasmid ( CBioSource src)

◆ CheckViruses()

void CheckViruses ( CBioSource src)

◆ s_AddJTATitle()

void s_AddJTATitle ( CTitle title)

Definition at line 536 of file seqfeatdata_unit_test.cpp.

References CTitle_Base::Set(), and t.

Referenced by BOOST_AUTO_TEST_CASE(), and s_ChangeJTATitle().

◆ s_AddNameTitle()

void s_AddNameTitle ( CTitle title)

Definition at line 519 of file seqfeatdata_unit_test.cpp.

References CTitle_Base::Set(), and t.

Referenced by BOOST_AUTO_TEST_CASE(), and s_ChangeNameTitle().

◆ s_ChangeAuthorFirstName() [1/2]

void s_ChangeAuthorFirstName ( CAuth_list auth_list)

◆ s_ChangeAuthorFirstName() [2/2]

bool s_ChangeAuthorFirstName ( CPub pub)

Definition at line 450 of file seqfeatdata_unit_test.cpp.

References s_ChangeAuthorFirstName(), and s_SetAuthList().

◆ s_ChangeAuthorLastName() [1/2]

void s_ChangeAuthorLastName ( CAuth_list auth_list)

◆ s_ChangeAuthorLastName() [2/2]

bool s_ChangeAuthorLastName ( CPub pub)

Definition at line 462 of file seqfeatdata_unit_test.cpp.

References s_ChangeAuthorLastName(), and s_SetAuthList().

◆ s_ChangeDate()

void s_ChangeDate ( CDate date)

◆ s_ChangeImprintMatch() [1/2]

void s_ChangeImprintMatch ( CImprint imp,
int  change_no 
)

◆ s_ChangeImprintMatch() [2/2]

bool s_ChangeImprintMatch ( CPub pub,
int  change_no 
)

Definition at line 627 of file seqfeatdata_unit_test.cpp.

References s_ChangeImprintMatch(), and s_SetImprint().

◆ s_ChangeImprintNoMatch() [1/2]

void s_ChangeImprintNoMatch ( CImprint imp,
int  change_no 
)

◆ s_ChangeImprintNoMatch() [2/2]

bool s_ChangeImprintNoMatch ( CPub pub,
int  change_no 
)

Definition at line 615 of file seqfeatdata_unit_test.cpp.

References s_ChangeImprintNoMatch(), and s_SetImprint().

◆ s_ChangeJTATitle()

void s_ChangeJTATitle ( CTitle title)

Definition at line 544 of file seqfeatdata_unit_test.cpp.

References s_AddJTATitle(), and CTitle_Base::Set().

Referenced by BOOST_AUTO_TEST_CASE(), and s_ChangeTitle().

◆ s_ChangeNameTitle()

void s_ChangeNameTitle ( CTitle title)

Definition at line 527 of file seqfeatdata_unit_test.cpp.

References s_AddNameTitle(), and CTitle_Base::Set().

Referenced by BOOST_AUTO_TEST_CASE(), and s_ChangeTitle().

◆ s_ChangeTitle()

void s_ChangeTitle ( CPub pub)

◆ s_MakeAuthList()

CRef<CAuth_list> s_MakeAuthList ( )

◆ s_MakeBook()

CRef<CCit_book> s_MakeBook ( )

◆ s_MakeBookChapterPub()

CRef<CPub> s_MakeBookChapterPub ( )

◆ s_MakeImprint()

CRef<CImprint> s_MakeImprint ( )

◆ s_MakeJournal()

CRef<CCit_jour> s_MakeJournal ( )

Definition at line 658 of file seqfeatdata_unit_test.cpp.

References s_MakeImprint().

Referenced by BOOST_AUTO_TEST_CASE(), and s_MakeJournalArticlePub().

◆ s_MakeJournalArticlePub()

CRef<CPub> s_MakeJournalArticlePub ( )

◆ s_SetAuthList()

CRef<CAuth_list> s_SetAuthList ( CPub pub)

◆ s_SetImprint()

CRef<CImprint> s_SetImprint ( CPub pub)

◆ s_TestAuthorChanges()

void s_TestAuthorChanges ( CPub pub)

◆ s_TestImprintChanges()

void s_TestImprintChanges ( CPub pub)

◆ s_TestTitleChange()

void s_TestTitleChange ( CPub pub)

◆ SetSubSource()

static void SetSubSource ( objects::CBioSource &  src,
objects::CSubSource::TSubtype  subtype,
string  val 
)
static

Definition at line 80 of file seqfeatdata_unit_test.cpp.

References NStr::EqualNocase(), NStr::IsBlank(), and val.

Referenced by BOOST_AUTO_TEST_CASE().

◆ USING_SCOPE()

USING_SCOPE ( objects  )

Variable Documentation

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 77 of file seqfeatdata_unit_test.cpp.

Modified on Wed Apr 24 14:12:09 2024 by modify_doxy.py rev. 669887