mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-14 15:52:47 -05:00
winfsp-tests: eventlog-test.c
This commit is contained in:
16
tst/winfsp-tests/eventlog-test.c
Normal file
16
tst/winfsp-tests/eventlog-test.c
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user