EaseFilter Demo Project
UnitTest.cpp File Reference
#include "stdafx.h"
#include "Tools.h"
#include "UnitTest.h"

Go to the source code of this file.

Macros

#define MAX_ERROR_MESSAGE_SIZE   1024
 

Functions

BOOL IsTestFile (WCHAR *fileName, ULONG fileNameLength)
 
BOOL IsTestFolder (WCHAR *fileName)
 
WCHAR * GetFilterMask ()
 
WCHAR * GetTestReparseFileName ()
 
CHAR * GetReplaceData ()
 
LONGLONG GetTestFileSize ()
 
LARGE_INTEGER GetTestFileTime ()
 
BOOL CreateTestFile (WCHAR *folder, WCHAR *fileName, CHAR *data)
 
BOOL SetupTestEnvironment ()
 
BOOL AccessFlagControlTest ()
 
BOOL ReparseFilterRuleTest ()
 
BOOL ReadControlFilterTest ()
 
BOOL WriteControlFilterTest ()
 
BOOL QueryInformationControlTest ()
 
BOOL SetInformationControlTest ()
 
BOOL BrowseDirectoryControlTest ()
 
BOOL IncludeExcludeProcessNameTest ()
 
BOOLEAN IncludeExcludeUserNameTest ()
 
void ControlFilterUnitTest ()
 

Macro Definition Documentation

◆ MAX_ERROR_MESSAGE_SIZE

#define MAX_ERROR_MESSAGE_SIZE   1024

Definition at line 15 of file UnitTest.cpp.

Function Documentation

◆ AccessFlagControlTest()

BOOL AccessFlagControlTest ( )

Definition at line 179 of file UnitTest.cpp.

◆ BrowseDirectoryControlTest()

BOOL BrowseDirectoryControlTest ( )

Definition at line 1105 of file UnitTest.cpp.

◆ ControlFilterUnitTest()

void ControlFilterUnitTest ( )

Definition at line 1246 of file UnitTest.cpp.

◆ CreateTestFile()

BOOL CreateTestFile ( WCHAR *  folder,
WCHAR *  fileName,
CHAR *  data 
)

Definition at line 108 of file UnitTest.cpp.

◆ GetFilterMask()

WCHAR* GetFilterMask ( )

Definition at line 56 of file UnitTest.cpp.

◆ GetReplaceData()

CHAR* GetReplaceData ( )

Definition at line 68 of file UnitTest.cpp.

◆ GetTestFileSize()

LONGLONG GetTestFileSize ( )

Definition at line 74 of file UnitTest.cpp.

◆ GetTestFileTime()

LARGE_INTEGER GetTestFileTime ( )

Definition at line 80 of file UnitTest.cpp.

◆ GetTestReparseFileName()

WCHAR* GetTestReparseFileName ( )

Definition at line 62 of file UnitTest.cpp.

◆ IncludeExcludeProcessNameTest()

BOOL IncludeExcludeProcessNameTest ( )

Definition at line 1163 of file UnitTest.cpp.

◆ IncludeExcludeUserNameTest()

BOOLEAN IncludeExcludeUserNameTest ( )

Definition at line 1200 of file UnitTest.cpp.

◆ IsTestFile()

BOOL IsTestFile ( WCHAR *  fileName,
ULONG  fileNameLength 
)

Definition at line 30 of file UnitTest.cpp.

◆ IsTestFolder()

BOOL IsTestFolder ( WCHAR *  fileName)

Definition at line 43 of file UnitTest.cpp.

◆ QueryInformationControlTest()

BOOL QueryInformationControlTest ( )

Definition at line 996 of file UnitTest.cpp.

◆ ReadControlFilterTest()

BOOL ReadControlFilterTest ( )

Definition at line 823 of file UnitTest.cpp.

◆ ReparseFilterRuleTest()

BOOL ReparseFilterRuleTest ( )

Definition at line 744 of file UnitTest.cpp.

◆ SetInformationControlTest()

BOOL SetInformationControlTest ( )

Definition at line 1060 of file UnitTest.cpp.

◆ SetupTestEnvironment()

BOOL SetupTestEnvironment ( )

Definition at line 164 of file UnitTest.cpp.

◆ WriteControlFilterTest()

BOOL WriteControlFilterTest ( )

Definition at line 900 of file UnitTest.cpp.

Social Network


Services Overview

Architect, implement and test file system filter drivers for a wide range of functionality. We can offer several levels of assistance to meet your specific.

Contact Us

You are welcome to contact us for salse or partnership.

Sales: sales@easefilter.com
Support: support@easefilter.com
Info: info@easefilter.com