ReactOS 0.4.16-dev-340-g0540c21
|
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <stdlib.h>
#include <winerror.h>
#include <lzexpand.h>
#include "wine/test.h"
Go to the source code of this file.
Functions | |
static void | full_file_path_name_in_a_CWD (const char *src, char *dst, BOOL expect_short) |
static void | create_file (char *fname) |
static void | delete_file (char *fname) |
static void | test_LZOpenFileA_existing_compressed (void) |
static void | test_LZOpenFileA_nonexisting_compressed (void) |
static void | test_LZOpenFileA (void) |
static void | test_LZRead (void) |
static void | test_LZCopy (void) |
static void | create_fileW (WCHAR *fnameW) |
static void | delete_fileW (WCHAR *fnameW) |
static void | test_LZOpenFileW_existing_compressed (void) |
static void | test_LZOpenFileW_nonexisting_compressed (void) |
static void | test_LZOpenFileW (void) |
START_TEST (lzexpand_main) | |
Variables | |
static char | filename [] = "testfile.xxx" |
static char | filename_ [] = "testfile.xx_" |
static WCHAR | filenameW [] = {'t','e','s','t','f','i','l','e','.','x','x','x',0} |
static WCHAR | filenameW_ [] = {'t','e','s','t','f','i','l','e','.','x','x','_',0} |
static char | dotless [] = "dotless" |
static char | dotless_ [] = "dotless._" |
static WCHAR | dotlessW [] = {'d','o','t','l','e','s','s', 0} |
static WCHAR | dotlessW_ [] = {'d','o','t','l','e','s','s','.','_', 0} |
static char | extless [] = "extless." |
static char | extless_ [] = "extless._" |
static WCHAR | extlessW [] = {'e','x','t','l','e','s','s','.', 0} |
static WCHAR | extlessW_ [] = {'e','x','t','l','e','s','s','.','_', 0} |
static char | _terminated [] = "_terminated.xxxx_" |
static char | _terminated_ [] = "_terminated.xxxx_" |
static WCHAR | _terminatedW [] = {'_','t','e','r','m','i','n','a','t','e','d','.','x','x','x','x','_', 0} |
static WCHAR | _terminatedW_ [] = {'_','t','e','r','m','i','n','a','t','e','d','.','x','x','x','x','_', 0} |
static char | filename2 [] = "testfile.yyy" |
static const unsigned char | compressed_file [] |
static const DWORD | compressed_file_size = sizeof(compressed_file) |
static const char | uncompressed_data [] = "This is a test file." |
static const DWORD | uncompressed_data_size = sizeof(uncompressed_data) - 1 |
static char * | buf |
Definition at line 92 of file lzexpand_main.c.
Definition at line 498 of file lzexpand_main.c.
Referenced by test_LZOpenFileW_existing_compressed().
Definition at line 105 of file lzexpand_main.c.
Definition at line 511 of file lzexpand_main.c.
Referenced by test_LZOpenFileW_existing_compressed().
Definition at line 71 of file lzexpand_main.c.
Referenced by test_LZOpenFileA(), test_LZOpenFileA_existing_compressed(), test_LZOpenFileA_nonexisting_compressed(), test_LZOpenFileW(), test_LZOpenFileW_existing_compressed(), and test_LZOpenFileW_nonexisting_compressed().
START_TEST | ( | lzexpand_main | ) |
Definition at line 818 of file lzexpand_main.c.
Definition at line 453 of file lzexpand_main.c.
Referenced by START_TEST().
Definition at line 298 of file lzexpand_main.c.
Referenced by START_TEST().
Definition at line 118 of file lzexpand_main.c.
Referenced by test_LZOpenFileA().
Definition at line 209 of file lzexpand_main.c.
Referenced by test_LZOpenFileA().
Definition at line 698 of file lzexpand_main.c.
Referenced by START_TEST().
Definition at line 524 of file lzexpand_main.c.
Referenced by test_LZOpenFileW().
Definition at line 609 of file lzexpand_main.c.
Referenced by test_LZOpenFileW().
Definition at line 415 of file lzexpand_main.c.
Referenced by START_TEST().
|
static |
Definition at line 46 of file lzexpand_main.c.
Referenced by test_LZOpenFileA_existing_compressed(), and test_LZOpenFileA_nonexisting_compressed().
|
static |
Definition at line 47 of file lzexpand_main.c.
Referenced by test_LZOpenFileA_existing_compressed(), test_LZOpenFileA_nonexisting_compressed(), test_LZOpenFileW_existing_compressed(), and test_LZOpenFileW_nonexisting_compressed().
|
static |
Definition at line 48 of file lzexpand_main.c.
Referenced by test_LZOpenFileW_existing_compressed(), and test_LZOpenFileW_nonexisting_compressed().
|
static |
Definition at line 49 of file lzexpand_main.c.
Referenced by test_LZOpenFileW_existing_compressed().
Definition at line 69 of file lzexpand_main.c.
Definition at line 59 of file lzexpand_main.c.
Referenced by test_LZCopy(), and test_LZRead().
|
static |
Definition at line 64 of file lzexpand_main.c.
Referenced by test_LZCopy(), and test_LZRead().
|
static |
Definition at line 36 of file lzexpand_main.c.
Referenced by test_LZOpenFileA_existing_compressed(), and test_LZOpenFileA_nonexisting_compressed().
|
static |
Definition at line 37 of file lzexpand_main.c.
Referenced by test_LZOpenFileA_existing_compressed(), test_LZOpenFileA_nonexisting_compressed(), test_LZOpenFileW_existing_compressed(), and test_LZOpenFileW_nonexisting_compressed().
Definition at line 38 of file lzexpand_main.c.
Referenced by test_LZOpenFileW_existing_compressed(), and test_LZOpenFileW_nonexisting_compressed().
Definition at line 39 of file lzexpand_main.c.
Referenced by test_LZOpenFileW_existing_compressed().
|
static |
Definition at line 41 of file lzexpand_main.c.
Referenced by test_LZOpenFileA_existing_compressed(), and test_LZOpenFileA_nonexisting_compressed().
|
static |
Definition at line 42 of file lzexpand_main.c.
Referenced by test_LZOpenFileA_existing_compressed(), test_LZOpenFileA_nonexisting_compressed(), test_LZOpenFileW_existing_compressed(), and test_LZOpenFileW_nonexisting_compressed().
Definition at line 43 of file lzexpand_main.c.
Referenced by test_LZOpenFileW_existing_compressed(), and test_LZOpenFileW_nonexisting_compressed().
Definition at line 44 of file lzexpand_main.c.
Referenced by test_LZOpenFileW_existing_compressed().
Definition at line 31 of file lzexpand_main.c.
|
static |
Definition at line 51 of file lzexpand_main.c.
Referenced by test_FindFirstChangeNotification(), test_LZCopy(), and testAddCertificateLink().
|
static |
Definition at line 32 of file lzexpand_main.c.
Referenced by test_LZCopy(), test_LZOpenFileA(), test_LZOpenFileA_existing_compressed(), test_LZOpenFileA_nonexisting_compressed(), test_LZOpenFileW(), test_LZOpenFileW_existing_compressed(), test_LZOpenFileW_nonexisting_compressed(), and test_LZRead().
Definition at line 33 of file lzexpand_main.c.
Referenced by test_LZOpenFileW_existing_compressed(), and test_LZOpenFileW_nonexisting_compressed().
Definition at line 34 of file lzexpand_main.c.
Referenced by test_LZOpenFileW(), and test_LZOpenFileW_existing_compressed().
Definition at line 66 of file lzexpand_main.c.
Referenced by test_LZCopy(), and test_LZRead().
|
static |
Definition at line 67 of file lzexpand_main.c.
Referenced by START_TEST(), test_LZCopy(), and test_LZRead().