tevent.c revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9
/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1999-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* *
***********************************************************************/
#include "dttest.h"
static int Event[8];
static int Index;
{
Index = 0;
if(type == DT_HASHSIZE)
return 1;
}
return 0;
}
{
int i, cnt;
if(type < 0)
Index = 0;
return 0;
}
else
{ cnt = 0;
cnt += 1;
return cnt;
}
}
{
if(!obj)
else
}
}
{ 0, sizeof(long), -1,
};
tmain()
{
long k;
chkevent(-1);
terror("Opening Dtset");
terror("Bad count of DT_OPEN event");
terror("Bad count of DT_ENDOPEN event");
terror("No hash table size event");
chkevent(-1);
terror("No meth event");
chkevent(-1);
terror("No disc event");
chkevent(-1);
terror("Bad count of DT_CLOSE event");
terror("Bad count of DT_ENDCLOSE event");
texit(0);
}