src/algo/sequence/unit_test/unit_test_gene_model.cpp File Reference

#include <ncbi_pch.hpp>
#include <corelib/ncbiapp.hpp>
#include <corelib/ncbiargs.hpp>
#include <corelib/ncbienv.hpp>
#include <corelib/test_boost.hpp>
#include <objmgr/object_manager.hpp>
#include <objtools/data_loaders/genbank/gbloader.hpp>
#include <objmgr/scope.hpp>
#include <serial/serial.hpp>
#include <serial/objistr.hpp>
#include <serial/objostr.hpp>
#include <objects/seq/Seq_annot.hpp>
#include <objects/seqalign/Seq_align.hpp>
#include <algo/sequence/gene_model.hpp>

Include dependency graph for unit_test_gene_model.cpp:

Go to the source code of this file.

Functions

 USING_SCOPE (objects)
 NCBITEST_INIT_CMDLINE (arg_desc)
 BOOST_AUTO_TEST_CASE (TestUsingArg)

Variables

 USING_NCBI_SCOPE


Function Documentation

BOOST_AUTO_TEST_CASE TestUsingArg   ) 
 

we wrap the first serialization in try/catch if this fails, we are at the end of the file, and we expect both to be at the end of the file. a failure in the second serialization is fatal

Definition at line 70 of file unit_test_gene_model.cpp.

References CScope::AddDefaults(), align, CGeneModel::CreateGeneModelFromAlign(), eSerial_AsnText, CNcbiApplication::GetArgs(), CSeq_feat_Base::GetData(), CSeq_annot_Base::GetData(), CObjectManager::GetInstance(), CSeq_feat_Base::GetLocation(), CSeq_feat_Base::GetProduct(), CNcbiApplication::Instance(), CSeq_feat_Base::IsSetProduct(), om, CObjectIStream::Open(), and CGBDataLoader::RegisterInObjectManager().

NCBITEST_INIT_CMDLINE arg_desc   ) 
 

Definition at line 56 of file unit_test_gene_model.cpp.

References CArgDescriptions::eInputFile.

USING_SCOPE objects   ) 
 


Variable Documentation

USING_NCBI_SCOPE
 

Definition at line 53 of file unit_test_gene_model.cpp.


Generated on Mon Dec 7 07:13:09 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:21:41 2009 by modify_doxy.py rev. 173732