Process Hacker
t_basesup.c File Reference
#include "tests.h"

Go to the source code of this file.

Macros

#define DO_STRSTR_TEST(func, s1, s2, expected,...)
 

Functions

VOID Test_stringref (VOID)
 
VOID Test_hexstring (VOID)
 
VOID Test_strint (VOID)
 
VOID Test_unicode (VOID)
 
VOID Test_basesup (VOID)
 

Macro Definition Documentation

#define DO_STRSTR_TEST (   func,
  s1,
  s2,
  expected,
  ... 
)
Value:
do { \
PH_STRINGREF ___t2; \
PhInitializeStringRef(&___t1, s1); \
PhInitializeStringRef(&___t2, s2); \
assert(func(&___t1, &___t2, __VA_ARGS__) == expected); \
} while (0)

Function Documentation

VOID Test_basesup ( VOID  )

Definition at line 342 of file t_basesup.c.

VOID Test_hexstring ( VOID  )

Definition at line 219 of file t_basesup.c.

VOID Test_stringref ( VOID  )

Definition at line 92 of file t_basesup.c.

VOID Test_strint ( VOID  )

Definition at line 244 of file t_basesup.c.

VOID Test_unicode ( VOID  )

Definition at line 291 of file t_basesup.c.