mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-30 19:48:38 -05:00 
			
		
		
		
	tst: winfsp-tests: notify_multiple_end_test
This commit is contained in:
		| @@ -154,6 +154,31 @@ void notify_timeout_test(void) | ||||
| } | ||||
| #endif | ||||
|  | ||||
| static | ||||
| void notify_multiple_end_dotest(ULONG Flags) | ||||
| { | ||||
|     void *memfs = memfs_start(Flags); | ||||
|     FSP_FILE_SYSTEM *FileSystem = MemfsFileSystem(memfs); | ||||
|     NTSTATUS Result; | ||||
|  | ||||
|     Result = FspFileSystemNotifyEnd(FileSystem); | ||||
|     ASSERT(STATUS_SUCCESS == Result); | ||||
|  | ||||
|     Result = FspFileSystemNotifyEnd(FileSystem); | ||||
|     ASSERT(STATUS_SUCCESS == Result); | ||||
|  | ||||
|     memfs_stop(memfs); | ||||
| } | ||||
|  | ||||
| static | ||||
| void notify_multiple_end_test(void) | ||||
| { | ||||
|     if (WinFspDiskTests) | ||||
|         notify_multiple_end_dotest(MemfsDisk); | ||||
|     if (WinFspNetTests) | ||||
|         notify_multiple_end_dotest(MemfsNet); | ||||
| } | ||||
|  | ||||
| static | ||||
| void notify_change_dotest(ULONG Flags) | ||||
| { | ||||
| @@ -460,6 +485,7 @@ void notify_tests(void) | ||||
| #if 0 | ||||
|     TEST(notify_timeout_test); | ||||
| #endif | ||||
|     TEST(notify_multiple_end_test); | ||||
|     TEST(notify_change_test); | ||||
|     TEST(notify_open_change_test); | ||||
|     TEST(notify_dirnotify_test); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user