NCBI C++ ToolKit
Macros | Functions | Variables
t0019.c File Reference
#include "common.h"
#include <ctype.h>
#include <common/test_assert.h>
+ Include dependency graph for t0019.c:

Go to the source code of this file.

Go to the SVN repository for this file.

Go to the SVN repository for this file.

Go to the SVN repository for this file.

Go to the SVN repository for this file.

Go to the SVN repository for this file.

Go to the SVN repository for this file.

Go to the SVN repository for this file.

Macros

#define TEST(s, out)    { cur_result = out; cur_line = __LINE__; cur_test = #s; test s; }
 

Functions

int test (int srctype, const void *srcdata, int srclen, int dsttype, int dstlen)
 
int err_handler (DBPROCESS *dbproc, int severity, int dberr, int oserr, char *dberrstr, char *oserrstr)
 
int main (int argc, char *argv[])
 

Variables

static int failure = 0
 
static const char * cur_result = ""
 
static const char * cur_test = ""
 
static int cur_line = 0
 

Macro Definition Documentation

◆ TEST

#define TEST (   s,
  out 
)     { cur_result = out; cur_line = __LINE__; cur_test = #s; test s; }

Definition at line 77 of file t0019.c.

Function Documentation

◆ err_handler()

int err_handler ( DBPROCESS dbproc,
int  severity,
int  dberr,
int  oserr,
char *  dberrstr,
char *  oserrstr 
)

Definition at line 21 of file t0019.c.

References INT_CANCEL, and SYBESMSG.

Referenced by main().

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ test()

int test ( int  srctype,
const void *  srcdata,
int  srclen,
int  dsttype,
int  dstlen 
)

Definition at line 43 of file t0019.c.

References buf, cur_line, cur_result, cur_test, dbconvert(), failure, i, isprint(), len, NULL, out(), and util::strcmp().

Referenced by CDiscrepancyContext::AddTest(), bm::bit_scan_reverse(), BitBlockTransposeTest(), BOOST_AUTO_TEST_CASE(), CDiscrepancyGroup::CDiscrepancyGroup(), CReportItemFactory::Create(), CTableReaderMacro::CreateMacros(), CReportItem::CreateReportItem(), CSubSource::DateFromCollectionDate(), do_check(), xml::document::document(), CTestActionList::DoTests(), CReportNode::Export(), CSubSource::FixDateFormat(), get_dtd_parsing_error_message(), CDllSrcFilesDistr::GetFileLib(), CCdFromFasta::ImportAlignmentData(), init_unit_test_suite(), CDiscrepancyDlg::LoadSettings(), main(), CSRSearch::mergeResults(), CCountries::NewFixCountry(), DistanceSelectDialog::OnBOkClick(), GetFloatingPointDialog::OnButton(), CDiscrepancyConf::OnOk(), CAppDialogs::OpenViewlDialog(), CDiscrepancyProductImpl::OutputXML(), random_minmax(), CReadBlastApp::ReadPreviousAcc(), CSeqTestManager::RegisterTest(), CReadBlastApp::RemoveInterim(), RetrievePartsOfLargeChromosome(), CDiscrepancyContext::RunTests(), s_ContainsWholeWord(), s_SetTrnaProduct(), s_SuppressCountryFix(), CDiscrepancyProductImpl::Summarize(), CDiscrepancyContext::Summarize(), CSerialObject::CMemberIndex< Enum, N >::test(), TestHeapVector(), CSeqTestManager::UnRegisterTest(), CDiscrepancyConf::UpdateList(), CDiscrepancyList::UpdateList(), CDiscrepancyPanel::UpdateTestList(), CNcbiTestsCollector::visit(), CNcbiTestsTreeBuilder::visit(), CNcbiTestApplication::x_ActualizeDeps(), CDockContainer::x_AddClientToHiddenPos(), CSeqAlignCmp::x_CompareOneAlign(), CString_constraint::x_DoesSingleStringMatchConstraint(), CNcbiTestApplication::x_EnsureAllDeps(), CSeedTop::x_GetPatternRanges(), CSeqAlignCmp::x_MeetsEvalueRequirements(), x_NameMatch(), x_ReorderList(), CSeqDBGiListSet::x_TranslateGisFromUserList(), CSeqDBGiListSet::x_TranslateTisFromUserList(), COpenViewDlg::x_UpdateViewPanel(), CSplitQueryTestFixture::x_ValidateQueryInfoForChunk(), and CBedReader::xSetFeatureColorFromItemRgb().

Variable Documentation

◆ cur_line

int cur_line = 0
static

Definition at line 15 of file t0019.c.

Referenced by test().

◆ cur_result

const char* cur_result = ""
static

Definition at line 13 of file t0019.c.

Referenced by test().

◆ cur_test

const char* cur_test = ""
static

Definition at line 14 of file t0019.c.

Referenced by test().

◆ failure

int failure = 0
static
Modified on Tue Apr 09 07:56:51 2024 by modify_doxy.py rev. 669887
Modified on Wed Apr 10 07:32:13 2024 by modify_doxy.py rev. 669887
Modified on Thu Apr 11 15:04:29 2024 by modify_doxy.py rev. 669887
Modified on Fri Apr 12 17:16:30 2024 by modify_doxy.py rev. 669887
Modified on Sat Apr 13 11:44:54 2024 by modify_doxy.py rev. 669887
Modified on Sun Apr 14 05:25:36 2024 by modify_doxy.py rev. 669887
Modified on Tue Apr 16 20:08:46 2024 by modify_doxy.py rev. 669887