NCBI C++ ToolKit
Classes | Typedefs | Functions | Variables
unit_test_vcfwriter.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 <objmgr/util/sequence.hpp>
#include <objtools/writers/writer_exception.hpp>
#include <objtools/writers/feature_context.hpp>
#include <objtools/writers/vcf_writer.hpp>
#include "error_logger.hpp"
#include <cstdio>
#include <corelib/test_boost.hpp>
+ Include dependency graph for unit_test_vcfwriter.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 ("vcf")
 
const string extErrors ("errors")
 
const string extKeep ("new")
 
const string dirTestFiles ("vcfwriter_test_cases")
 
CVcfWritersGetWriter (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 84 of file unit_test_vcfwriter.cpp.

◆ TTestNameToInfoMap

Definition at line 85 of file unit_test_vcfwriter.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( RunTests  )

◆ dirTestFiles()

const string dirTestFiles ( "vcfwriter_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 ( "vcf"  )

◆ NCBITEST_AUTO_FINI()

NCBITEST_AUTO_FINI ( )

Definition at line 336 of file unit_test_vcfwriter.cpp.

◆ NCBITEST_AUTO_INIT()

NCBITEST_AUTO_INIT ( )

Definition at line 314 of file unit_test_vcfwriter.cpp.

◆ NCBITEST_INIT_CMDLINE()

NCBITEST_INIT_CMDLINE ( arg_descrs  )

◆ sGetWriter()

CVcfWriter* sGetWriter ( CScope scope,
CNcbiOstream ostr 
)

Definition at line 166 of file unit_test_vcfwriter.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 63 of file unit_test_vcfwriter.cpp.

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