NCBI C++ ToolKit
Classes | Typedefs | Functions | Variables
unit_test_ucscwriter.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbi_system.hpp>
#include <corelib/ncbiapp.hpp>
#include <corelib/ncbifile.hpp>
#include <connect/ncbi_core_cxx.hpp>
#include <serial/serial.hpp>
#include <serial/objistr.hpp>
#include <objmgr/object_manager.hpp>
#include <objmgr/scope.hpp>
#include <objmgr/seq_entry_ci.hpp>
#include <objmgr/bioseq_ci.hpp>
#include <objmgr/annot_ci.hpp>
#include <objtools/data_loaders/genbank/gbloader.hpp>
#include <dbapi/driver/drivers.hpp>
#include <objtools/writers/writer_exception.hpp>
#include <objtools/writers/ucscregion_writer.hpp>
#include "error_logger.hpp"
#include <cstdio>
#include <corelib/test_boost.hpp>
+ Include dependency graph for unit_test_ucscwriter.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  STestInfo
 
class  CTestNameToInfoMapLoader
 

Typedefs

typedef string TTestName
 
typedef map< TTestName, STestInfoTTestNameToInfoMap
 

Functions

 USING_SCOPE (objects)
 
const string extInput ("asn")
 
const string extOutput ("ucsc")
 
const string extErrors ("errors")
 
const string extKeep ("new")
 
const string dirTestFiles ("ucscwriter_test_cases")
 
CUCSCRegionWritersGetWriter (CScope &scope, CNcbiOstream &ostr)
 
void sUpdateCase (CDir &test_cases_dir, const string &test_name)
 
void sUpdateAll (CDir &test_cases_dir)
 
void sRunTest (const string &sTestName, const STestInfo &testInfo, bool keep)
 
 NCBITEST_AUTO_INIT ()
 
 NCBITEST_INIT_CMDLINE (arg_descrs)
 
 NCBITEST_AUTO_FINI ()
 
 BOOST_AUTO_TEST_CASE (RunTests)
 

Variables

 USING_NCBI_SCOPE
 

Typedef Documentation

◆ TTestName

typedef string TTestName

Definition at line 82 of file unit_test_ucscwriter.cpp.

◆ TTestNameToInfoMap

Definition at line 83 of file unit_test_ucscwriter.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( RunTests  )

◆ dirTestFiles()

const string dirTestFiles ( "ucscwriter_test_cases"  )

Referenced by NCBITEST_INIT_CMDLINE().

◆ extErrors()

const string extErrors ( "errors"  )

◆ extInput()

const string extInput ( "asn"  )

◆ extKeep()

const string extKeep ( "new"  )

◆ extOutput()

const string extOutput ( "ucsc"  )

◆ NCBITEST_AUTO_FINI()

NCBITEST_AUTO_FINI ( )

Definition at line 336 of file unit_test_ucscwriter.cpp.

◆ NCBITEST_AUTO_INIT()

NCBITEST_AUTO_INIT ( )

Definition at line 314 of file unit_test_ucscwriter.cpp.

◆ NCBITEST_INIT_CMDLINE()

NCBITEST_INIT_CMDLINE ( arg_descrs  )

◆ sGetWriter()

CUCSCRegionWriter* sGetWriter ( CScope scope,
CNcbiOstream ostr 
)

Definition at line 165 of file unit_test_ucscwriter.cpp.

Referenced by sRunTest(), and sUpdateCase().

◆ sRunTest()

void sRunTest ( const string sTestName,
const STestInfo testInfo,
bool  keep 
)

◆ sUpdateAll()

void sUpdateAll ( CDir test_cases_dir)

◆ sUpdateCase()

void sUpdateCase ( CDir test_cases_dir,
const string test_name 
)

◆ USING_SCOPE()

USING_SCOPE ( objects  )

Variable Documentation

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 61 of file unit_test_ucscwriter.cpp.

Modified on Fri Sep 20 14:58:18 2024 by modify_doxy.py rev. 669887