NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <objmgr/scope.hpp>
#include <objmgr/object_manager.hpp>
#include <objmgr/bioseq_ci.hpp>
#include <objmgr/util/sequence.hpp>
#include <corelib/test_boost.hpp>
#include <gui/packages/pkg_sequence_edit/import_feat_table.hpp>
#include <objtools/unit_test_util/unit_test_util.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
USING_SCOPE (objects) | |
NCBITEST_AUTO_INIT () | |
NCBITEST_AUTO_FINI () | |
CRef< CSeq_entry > | ReadEntryFromFile (const string &fname) |
CRef< CSeq_annot > | ReadAnnotFromFile (const string &fname) |
template<class T > | |
string | MakeAsn (const T &object) |
void | DoImportFTable (CSeq_entry_Handle &seh, const CSeq_annot &annot) |
void | ImportFeatTblTesting (const string &entry_file, const string &annot_file, const string &output_file) |
BOOST_AUTO_TEST_CASE (Test_GB_7376) | |
BOOST_AUTO_TEST_CASE (Test_GB_7453) | |
BOOST_AUTO_TEST_CASE (Test_GB_7668) | |
BOOST_AUTO_TEST_CASE (Test_GB_7030) | |
BOOST_AUTO_TEST_CASE (Test_GB_8265) | |
BOOST_AUTO_TEST_CASE (Test_GB_8871) | |
BOOST_AUTO_TEST_CASE (Test_GB_8922) | |
BOOST_AUTO_TEST_CASE (Test_GB_8265_withoutproteinid) | |
BOOST_AUTO_TEST_CASE (Test_GB_8265_pseudocds) | |
BOOST_AUTO_TEST_CASE (Test_GB_9054) | |
Variables | |
USING_NCBI_SCOPE | |
BOOST_AUTO_TEST_CASE | ( | Test_GB_7030 | ) |
Definition at line 155 of file unit_test_import_feattable.cpp.
References ImportFeatTblTesting().
BOOST_AUTO_TEST_CASE | ( | Test_GB_7376 | ) |
Definition at line 137 of file unit_test_import_feattable.cpp.
References ImportFeatTblTesting().
BOOST_AUTO_TEST_CASE | ( | Test_GB_7453 | ) |
Definition at line 143 of file unit_test_import_feattable.cpp.
References ImportFeatTblTesting().
BOOST_AUTO_TEST_CASE | ( | Test_GB_7668 | ) |
Definition at line 149 of file unit_test_import_feattable.cpp.
References ImportFeatTblTesting().
BOOST_AUTO_TEST_CASE | ( | Test_GB_8265 | ) |
Definition at line 160 of file unit_test_import_feattable.cpp.
References ImportFeatTblTesting().
BOOST_AUTO_TEST_CASE | ( | Test_GB_8265_pseudocds | ) |
Definition at line 180 of file unit_test_import_feattable.cpp.
References ImportFeatTblTesting().
BOOST_AUTO_TEST_CASE | ( | Test_GB_8265_withoutproteinid | ) |
Definition at line 175 of file unit_test_import_feattable.cpp.
References ImportFeatTblTesting().
BOOST_AUTO_TEST_CASE | ( | Test_GB_8871 | ) |
Definition at line 165 of file unit_test_import_feattable.cpp.
References ImportFeatTblTesting().
BOOST_AUTO_TEST_CASE | ( | Test_GB_8922 | ) |
Definition at line 170 of file unit_test_import_feattable.cpp.
References ImportFeatTblTesting().
BOOST_AUTO_TEST_CASE | ( | Test_GB_9054 | ) |
Definition at line 185 of file unit_test_import_feattable.cpp.
References ImportFeatTblTesting().
void DoImportFTable | ( | CSeq_entry_Handle & | seh, |
const CSeq_annot & | annot | ||
) |
Definition at line 94 of file unit_test_import_feattable.cpp.
References cmd, eGetId_Seq_id_BestRank, CSeq_inst_Base::eMol_na, CSeq_annot_Base::GetData(), CSeq_annot_Base::C_Data::GetFtable(), CSeq_id_Handle::GetHandle(), GetId(), CSeq_loc::GetId(), and CImportFeatTable::TestImport().
Referenced by ImportFeatTblTesting().
void ImportFeatTblTesting | ( | const string & | entry_file, |
const string & | annot_file, | ||
const string & | output_file | ||
) |
Definition at line 117 of file unit_test_import_feattable.cpp.
References CScope::AddDefaults(), CScope::AddTopLevelSeqEntry(), DoImportFTable(), CSeq_entry_Handle::GetCompleteSeq_entry(), CObjectManager::GetInstance(), MakeAsn(), output, ReadAnnotFromFile(), and ReadEntryFromFile().
Referenced by BOOST_AUTO_TEST_CASE().
Definition at line 86 of file unit_test_import_feattable.cpp.
References MSerial_AsnText, and str().
Referenced by ImportFeatTblTesting().
NCBITEST_AUTO_FINI | ( | ) |
Definition at line 50 of file unit_test_import_feattable.cpp.
NCBITEST_AUTO_INIT | ( | ) |
Definition at line 46 of file unit_test_import_feattable.cpp.
CRef<CSeq_annot> ReadAnnotFromFile | ( | const string & | fname | ) |
Definition at line 70 of file unit_test_import_feattable.cpp.
References Error(), eSerial_AsnText, LOG_POST, CObjectIStream::Open(), and CException::ReportAll().
Referenced by ImportFeatTblTesting().
CRef<CSeq_entry> ReadEntryFromFile | ( | const string & | fname | ) |
Definition at line 54 of file unit_test_import_feattable.cpp.
References Error(), eSerial_AsnText, LOG_POST, CObjectIStream::Open(), and CException::ReportAll().
Referenced by ImportFeatTblTesting().
USING_SCOPE | ( | objects | ) |
USING_NCBI_SCOPE |
Definition at line 43 of file unit_test_import_feattable.cpp.