winfsp-tests: eventlog-test.c

This commit is contained in:
Bill Zissimopoulos
2016-05-06 15:58:33 -07:00
parent 9addfa5899
commit 125b612c9f
4 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#include <winfsp/winfsp.h>
#include <tlib/testsuite.h>
void eventlog_test(void)
{
/* this is not a real test! */
FspEventLog(EVENTLOG_INFORMATION_TYPE, L"EventLog %s message", L"informational");
FspEventLog(EVENTLOG_WARNING_TYPE, L"EventLog %s message", L"warning");
FspEventLog(EVENTLOG_ERROR_TYPE, L"EventLog %s message", L"error");
}
void eventlog_tests(void)
{
TEST_OPT(eventlog_test);
}