NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <objmgr/scope.hpp>
#include <objmgr/object_manager.hpp>
#include <objmgr/mapped_feat.hpp>
#include <objmgr/seq_feat_handle.hpp>
#include <objmgr/util/feature_edit.hpp>
#include <corelib/ncbi_system.hpp>
#include <corelib/ncbifile.hpp>
#include <objects/seqfeat/Seq_feat.hpp>
#include <objects/seq/Seq_annot.hpp>
#include <corelib/test_boost.hpp>
#include <common/test_assert.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | STestInfo |
class | CTestNameToInfoMapLoader |
Typedefs | |
using | TTestName = string |
using | TTestNameToInfoMap = map< TTestName, STestInfo > |
Functions | |
USING_SCOPE (objects) | |
CRef< CSeq_feat > | s_ReadFeat (const string &filename) |
bool | s_AreFeatsEqual (const CSeq_feat &feat1, const CSeq_feat &feat2) |
CRange< TSeqPos > | s_GetRangeFromString (const string &rangeString) |
void | sRunFeatureTrimTest (const string &testName, const STestInfo &testInfo, const bool keep) |
const string | dirTestFiles ("feature_edit_test_cases") |
NCBITEST_AUTO_INIT () | |
NCBITEST_INIT_CMDLINE (arg_descrs) | |
NCBITEST_AUTO_FINI () | |
BOOST_AUTO_TEST_CASE (RunTests) | |
Variables | |
USING_NCBI_SCOPE | |
CRef< CScope > | s_pScope |
Definition at line 79 of file unit_test_feature_edit.cpp.
using TTestNameToInfoMap = map<TTestName, STestInfo> |
Definition at line 80 of file unit_test_feature_edit.cpp.
BOOST_AUTO_TEST_CASE | ( | RunTests | ) |
Definition at line 214 of file unit_test_feature_edit.cpp.
References CFile::Exists(), extInput(), fFF_Default, fFF_Recursive, FindFilesInDir(), CNcbiApplicationAPI::GetArgs(), CDirEntry::GetPath(), CNcbiApplication::Instance(), CDirEntry::IsDir(), ITERATE, STestInfo::m_BaselineFile, STestInfo::m_InFile, and sRunFeatureTrimTest().
Referenced by NCBITEST_INIT_CMDLINE().
NCBITEST_AUTO_FINI | ( | ) |
Definition at line 209 of file unit_test_feature_edit.cpp.
NCBITEST_AUTO_INIT | ( | ) |
Definition at line 190 of file unit_test_feature_edit.cpp.
References CObjectManager::GetInstance(), Ref(), and s_pScope.
NCBITEST_INIT_CMDLINE | ( | arg_descrs | ) |
Definition at line 196 of file unit_test_feature_edit.cpp.
References dirTestFiles(), and CArgDescriptions::eDirectory.
Definition at line 66 of file unit_test_feature_edit.cpp.
References CSerialObject::Equals().
Definition at line 85 of file unit_test_feature_edit.cpp.
References NStr::Split(), and NStr::StringToInt().
Referenced by CTestNameToInfoMapLoader::operator()().
Definition at line 56 of file unit_test_feature_edit.cpp.
References MSerial_AsnText.
Referenced by sRunFeatureTrimTest().
Definition at line 161 of file unit_test_feature_edit.cpp.
References CSerialObject::Equals(), CDirEntry::GetPath(), STestInfo::m_BaselineFile, STestInfo::m_InFile, STestInfo::m_Range, MSerial_AsnText, and s_ReadFeat().
Referenced by BOOST_AUTO_TEST_CASE().
USING_SCOPE | ( | objects | ) |
Definition at line 83 of file unit_test_feature_edit.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), and NCBITEST_AUTO_INIT().
USING_NCBI_SCOPE |
Definition at line 53 of file unit_test_feature_edit.cpp.