A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/unit__test__so__map_8cpp_source.html below:

NCBI C++ ToolKit: src/objects/seq/unit_test/unit_test_so_map.cpp Source File

51  const string

& golden_name,

52  const string

& out_name,

53  const string

& keep_name,

56  CFile

golden_file(golden_name);

93

arg_descrs->AddDefaultKey(

95  "GOLDEN_SEQFEATS_FILE"

,

96  "Override location of golden seqfeats file"

,

99

arg_descrs->AddDefaultKey(

101  "SEQFEATS_OUTPUT_FILE"

,

102  "Override location of seqfeats output file"

,

105

arg_descrs->AddDefaultKey(

107  "GOLDEN_SOTERMS_FILE"

,

108  "Override location of golden so-terms file"

,

111

arg_descrs->AddDefaultKey(

113  "SEQFEATS_SOTERMS_FILE"

,

114  "Override location of so-terms output file"

,

119  "Retain output on error"

,

123  "Regenerate golden files"

,

146

BOOST_CHECK(success);

165

ostr <<

string

(80,

'-'

) <<

"\n"

;

166

ostr << term <<

":\n"

;

167

ostr <<

string

(80,

'-'

) <<

"\n"

;

169

BOOST_CHECK_MESSAGE(success,

"CSoMap::SoTypeToFeature failure"

);

171

ostr <<

"ERROR!\n\n"

;

182  "Post processing diffs."

);

200

ostr <<

string

(80,

'-'

) <<

"\n"

;

202

ostr <<

string

(80,

'-'

) <<

"\n"

;

204

BOOST_CHECK_MESSAGE(success,

"CSoMap::FeatureToSoType failure"

);

206

ostr <<

"ERROR!\n\n"

;

209

ostr << so_type <<

"\n\n"

;

216  "Post processing diffs."

);

static CNcbiApplication * Instance(void)

Singleton method.

namespace ncbi::objects::

static bool SoTypeToFeature(std::string_view, CSeq_feat &, bool=false)

static bool FeatureToSoType(const CSeq_feat &, string &)

static bool GetSupportedSoTerms(vector< string > &)

virtual const CArgs & GetArgs(void) const

Get parsed command line arguments.

@ eString

An arbitrary string.

static string CreateAbsolutePath(const string &path, ERelativeToWhat rtw=eRelativeToCwd)

Get an absolute path from some, possibly relative, path.

virtual bool Copy(const string &new_path, TCopyFlags flags=fCF_Default, size_t buf_size=0) const

Copy a file.

virtual bool Remove(TRemoveFlags flags=eRecursive) const

Remove a directory entry.

bool CompareTextContents(const string &file, ECompareText mode, size_t buf_size=0) const

Compare files contents in text form.

static string GetTmpName(ETmpFileCreationMode mode=eTmpFileGetName)

Get temporary file name.

void SetLocation(TLocation &value)

Assign a value to Location data member.

Defines the CNcbiApplication and CAppException classes for creating NCBI applications.

Defines classes: CDirEntry, CFile, CDir, CSymLink, CMemoryFile, CFileUtil, CFileLock,...

Utility stuff for more convenient using of Boost.Test library.

const string default_golden_feats("data/unit_test_so_map.golden_feats")

vector< string > vec_so_supported_terms

const string default_golden_so("data/unit_test_so_map.golden_so")

vector< CRef< CSeq_feat > > vec_generated_seqfeats

bool PostProcessFile(const string &golden_name, const string &out_name, const string &keep_name, bool keep_diffs)

BOOST_AUTO_TEST_CASE(so_supported_terms)

const string default_output_feats("data/unit_test_so_map.output_feats")

const string default_output_so("data/unit_test_so_map.output_so")

NCBITEST_INIT_CMDLINE(arg_descrs)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4