NCBI C++ ToolKit
Classes | Typedefs | Functions | Variables
unit_test_wigwriter.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/wiggle_writer.hpp>
#include "error_logger.hpp"
#include <cstdio>
#include <corelib/test_boost.hpp>
+ Include dependency graph for unit_test_wigwriter.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 ("wig")
 
const string extErrors ("errors")
 
const string extKeep ("new")
 
const string dirTestFiles ("wigwriter_test_cases")
 
CWiggleWritersGetWriter (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 81 of file unit_test_wigwriter.cpp.

◆ TTestNameToInfoMap

Definition at line 82 of file unit_test_wigwriter.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( RunTests  )

◆ dirTestFiles()

const string dirTestFiles ( "wigwriter_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 ( "wig"  )

◆ NCBITEST_AUTO_FINI()

NCBITEST_AUTO_FINI ( )

Definition at line 303 of file unit_test_wigwriter.cpp.

◆ NCBITEST_AUTO_INIT()

NCBITEST_AUTO_INIT ( )

Definition at line 281 of file unit_test_wigwriter.cpp.

◆ NCBITEST_INIT_CMDLINE()

NCBITEST_INIT_CMDLINE ( arg_descrs  )

◆ sGetWriter()

CWiggleWriter* sGetWriter ( CScope scope,
CNcbiOstream ostr 
)

Definition at line 153 of file unit_test_wigwriter.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_wigwriter.cpp.

Modified on Sat Apr 20 12:16:49 2024 by modify_doxy.py rev. 669887