87 BOOST_CHECK_EQUAL(eg_obj.
GetDescription(),
"cytochrome c oxidase subunit III");
91 BOOST_CHECK_EQUAL(eg_obj.
GetDescription(),
"ATP synthase F0 subunit 6");
112 BOOST_CHECK_EQUAL(nomen->
GetSymbol(),
"MT-ND1");
113 BOOST_CHECK_EQUAL(nomen->
GetName(),
"mitochondrially encoded NADH dehydrogenase 1");
122 BOOST_CHECK_EQUAL(nomen->
GetSymbol(),
"TRNASTOP-UCA");
123 BOOST_CHECK_EQUAL(nomen->
GetName(),
"transfer RNA opal suppressor (anticodon UCA)");
131 BOOST_CHECK_EQUAL(nomen->
GetSymbol(),
"A1BG");
132 BOOST_CHECK_EQUAL(nomen->
GetName(),
"alpha-1-B glycoprotein");
150 BOOST_CHECK_EQUAL(
true, comment.
Empty());
153 BOOST_CHECK_EQUAL(
true, comment.
NotEmpty());
155 BOOST_CHECK_EQUAL(
true, comment->IsSetLabel());
156 if (comment->IsSetLabel()) {
157 BOOST_CHECK_EQUAL(
"REVIEWED", comment->GetLabel());
User-defined methods of the data storage class.
User-defined methods of the data storage class.
string GetDescription() const
CRef< CGene_commentary > FindComment(const string &heading) const
CRef< CGene_nomenclature > GetNomenclature() const
#define LOG_POST(message)
This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...
void SetDatabase(const string &database)
Setting new database disconnects the request.
void AddId(const string &id)
Add a single id to the list.
const CEUtils_IdGroup & GetId(void) const
Group of ids to retrieve.
void Read(string *content)
Read the whole stream into the string.
#define MSerial_AsnText
I/O stream manipulators –.
bool NotEmpty(void) const THROWS_NONE
Check if CRef is not empty – pointing to an object and has a non-null value.
bool Empty(void) const THROWS_NONE
Check if CRef is empty – not pointing to any object, which means having a null value.
const TGene & GetGene(void) const
Get the Gene member data.
bool IsSetFormal_name(void) const
Check if a value has been assigned to Formal_name data member.
const TSource & GetSource(void) const
Get the Source member data.
const TSymbol & GetSymbol(void) const
Get the Symbol member data.
TStatus GetStatus(void) const
Get the Status member data.
const TName & GetName(void) const
Get the Name member data.
const TTag & GetTag(void) const
Get the Tag member data.
const TDb & GetDb(void) const
Get the Db member data.
const TStr & GetStr(void) const
Get the variant data.
where both of them are integers Note
void SleepMilliSec(unsigned long ml_sec, EInterruptOnSignal onsignal=eRestartOnSignal)
Defines the CNcbiApplication and CAppException classes for creating NCBI applications.
Utility stuff for more convenient using of Boost.Test library.
static void s_GetObject(const string &gene_id, CEntrezgene &eg_obj)
BOOST_AUTO_TEST_CASE(s_TestDescription)