tap.h File Reference

#include "my_global.h"

Go to the source code of this file.

Data Structures

struct  TEST_DATA
 Data about test plan. More...

Defines

#define NO_PLAN   (0)
#define SKIP_BLOCK_IF(SKIP_IF_TRUE, COUNT, REASON)   if (SKIP_IF_TRUE) skip((COUNT),(REASON)); else
 Helper macro to skip a block of code.

Functions

void plan (int count)
 Set number of tests that is planned to execute.
void ok (int pass, char const *fmt,...) __attribute__((format(printf
 Report test result as a TAP line.
void void skip (int how_many, char const *reason,...) __attribute__((format(printf
 Skip a determined number of tests.
void diag (char const *fmt,...) __attribute__((format(printf
 Print a diagnostics message.
void int exit_status (void)
 Print summary report and return exit status.
void skip_all (char const *reason,...) __attribute__((noreturn
 Skip entire test suite.
void format (printf, 1, 2)))
void todo_start (char const *message,...) __attribute__((format(printf
 Start section of tests that are not yet ready.
void void todo_end ()
 End a section of tests that are not yet ready.


Define Documentation

#define NO_PLAN   (0)
 


Generated on Fri Oct 20 21:13:28 2006 by  doxygen 1.4.6