Files
epics-base/src/libCom/test/epicsUnitTestTest.c
Andrew Johnson fbda9f3280 RCS keyword updates for Bazaar
Replaced $Id$ and $Header$ keywords with $Revision-Id$
Deleted $Log$ keywords and any log messages
2010-10-05 14:27:37 -05:00

37 lines
1019 B
C

/*************************************************************************\
* Copyright (c) 2006 The University of Chicago, as Operator of Argonne
* National Laboratory.
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/
/* $Revision-Id$
* Author: Andrew Johnson
*
* Test for the unit test module...
*/
#include "epicsUnitTest.h"
#define testOk1_success 1
#define testOk1_failure 0
int main (void) {
testPlan(11);
testOk(1, "testOk(1)");
testOk(0, "testOk(0)");
testPass("testPass()");
testFail("testFail()");
testSkip(2, "Skipping two");
testTodoBegin("Testing Todo");
testOk(1, "Todo pass");
testOk(0, "Todo fail");
testSkip(1, "Todo skip");
testTodoEnd();
testOk1(testOk1_success);
testOk1(testOk1_failure);
testDiag("Diagnostic");
/* testAbort("testAbort"); */
return testDone();
}