mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-25 01:42:24 -05:00
30 lines
487 B
C
30 lines
487 B
C
#include <winfsp/winfsp.h>
|
|
#include <tlib/testsuite.h>
|
|
#include "memfs.h"
|
|
|
|
void *memfs_start(ULONG Flags);
|
|
void memfs_stop(void *data);
|
|
|
|
extern int WinFspDiskTests;
|
|
extern int WinFspNetTests;
|
|
|
|
void create_dotest(ULONG Flags)
|
|
{
|
|
void *memfs = memfs_start(Flags);
|
|
|
|
memfs_stop(memfs);
|
|
}
|
|
|
|
void create_test(void)
|
|
{
|
|
if (WinFspDiskTests)
|
|
create_dotest(MemfsDisk);
|
|
if (WinFspNetTests)
|
|
create_dotest(MemfsNet);
|
|
}
|
|
|
|
void create_tests(void)
|
|
{
|
|
TEST(create_test);
|
|
}
|