appkit  1.5.1
RoadNarrows Robotics Application Kit
utLogBook.cxx File Reference

Unit test LogBook class. More...

#include <unistd.h>
#include <termios.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <iostream>
#include <fstream>
#include <string>
#include <map>
#include "rnr/rnrconfig.h"
#include "rnr/log.h"
#include "rnr/opts.h"
#include "rnr/pkg.h"
#include "rnr/appkit/LogBook.h"
#include "version.h"

Go to the source code of this file.

Macros

#define APP_EC_OK   0
 success exit code
 
#define APP_EC_ARGS   2
 command-line options/arguments error exit code
 
#define APP_EC_EXEC   4
 execution exit code
 

Functions

static void mainInit (int argc, char *argv[])
 Main initialization. More...
 
static string HdrSep ("-------------------------------------------------------")
 
static void printTestHdr (const string strSynopsis)
 
static void captainsLogMuddsWomen (LogBook &log)
 
static void captainsLogManTrap (LogBook &log)
 
static void printMarks (LogBook &log, int whence)
 
static void testLogAttrs (LogBook &log, bool bIsTest=true)
 
static void testLogEdits (LogBook &log)
 
static void testLogOutput (LogBook &log)
 
static void testLogFundamentals (LogBook &log)
 
int main (int argc, char *argv[])
 Main. More...
 

Variables

static char * Argv0
 the command
 
static OptsPgmInfo_T PgmInfo
 Program information. More...
 
static OptsInfo_T OptsInfo []
 Command line options information. More...
 

Detailed Description

Unit test LogBook class.

LastChangedDate
2015-11-09 17:38:34 -0700 (Mon, 09 Nov 2015)
Rev
4195
Author
Robin Knight (robin.nosp@m..kni.nosp@m.ght@r.nosp@m.oadn.nosp@m.arrow.nosp@m.s.co.nosp@m.m)
Copyright
© 2017-2017. RoadNarrows LLC.
http://www.roadnarrows.com
All Rights Reserved

Definition in file utLogBook.cxx.