ReactOS 0.4.15-dev-8614-gbc76250
|
#include "shelltest.h"
#include "closewnd.h"
#include <pstypes.h>
#include <psfuncs.h>
#include <stdlib.h>
#include <stdio.h>
#include <strsafe.h>
#include <versionhelpers.h>
#include "shell32_apitest_sub.h"
Go to the source code of this file.
Classes | |
struct | TEST_ENTRY |
Macros | |
#define | REG_APPPATHS L"Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\" |
Typedefs | |
typedef enum TEST_RESULT | TEST_RESULT |
typedef struct TEST_ENTRY | TEST_ENTRY |
typedef struct TEST_ENTRY * | PTEST_ENTRY |
Enumerations | |
enum | TEST_RESULT { TEST_FAILED , TEST_SUCCESS_NO_PROCESS , TEST_SUCCESS_WITH_PROCESS } |
Functions | |
static void | TEST_DoTestEntry (INT line, TEST_RESULT result, LPCWSTR lpFile, LPCWSTR cmdline=NULL) |
static void | TEST_DoTestEntries (void) |
static LPWSTR | getCommandLineFromProcess (HANDLE hProcess) |
static void | TEST_DoTestEntryStruct (const TEST_ENTRY *pEntry) |
static BOOL | enableTokenPrivilege (LPCWSTR pszPrivilege) |
static BOOL | TEST_Start (void) |
static void | TEST_End (void) |
static void | test_properties () |
static void | test_sei_lpIDList () |
static BOOL | CreateAppPath (LPCWSTR pszName, LPCWSTR pszValue) |
static VOID | DeleteAppPath (LPCWSTR pszName) |
static void | TEST_AppPath (void) |
static void | test_DoInvalidDir (void) |
START_TEST (ShellExecuteEx) | |
Variables | |
static WCHAR | s_win_dir [MAX_PATH] |
static WCHAR | s_sys_dir [MAX_PATH] |
static WCHAR | s_win_notepad [MAX_PATH] |
static WCHAR | s_sys_notepad [MAX_PATH] |
static WCHAR | s_win_test_exe [MAX_PATH] |
static WCHAR | s_sys_test_exe [MAX_PATH] |
static WCHAR | s_win_bat_file [MAX_PATH] |
static WCHAR | s_sys_bat_file [MAX_PATH] |
static WCHAR | s_win_txt_file [MAX_PATH] |
static WCHAR | s_sys_txt_file [MAX_PATH] |
static WCHAR | s_win_notepad_cmdline [MAX_PATH] |
static WCHAR | s_sys_notepad_cmdline [MAX_PATH] |
static WCHAR | s_win_test_exe_cmdline [MAX_PATH] |
static WCHAR | s_sys_test_exe_cmdline [MAX_PATH] |
static BOOL | s_bWow64 |
static WINDOW_LIST | s_List1 |
static WINDOW_LIST | s_List2 |
#define REG_APPPATHS L"Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\" |
Definition at line 35 of file ShellExecuteEx.cpp.
typedef struct TEST_ENTRY * PTEST_ENTRY |
typedef struct TEST_ENTRY TEST_ENTRY |
typedef enum TEST_RESULT TEST_RESULT |
Enumerator | |
---|---|
TEST_FAILED | |
TEST_SUCCESS_NO_PROCESS | |
TEST_SUCCESS_WITH_PROCESS |
Definition at line 37 of file ShellExecuteEx.cpp.
Definition at line 394 of file ShellExecuteEx.cpp.
Referenced by TEST_AppPath().
Definition at line 203 of file ShellExecuteEx.cpp.
Referenced by TEST_Start().
Definition at line 111 of file ShellExecuteEx.cpp.
Referenced by TEST_DoTestEntryStruct().
START_TEST | ( | ShellExecuteEx | ) |
Definition at line 469 of file ShellExecuteEx.cpp.
Definition at line 427 of file ShellExecuteEx.cpp.
Referenced by START_TEST().
Definition at line 444 of file ShellExecuteEx.cpp.
Referenced by START_TEST().
Definition at line 55 of file ShellExecuteEx.cpp.
Referenced by START_TEST().
|
static |
Definition at line 196 of file ShellExecuteEx.cpp.
Referenced by TEST_AppPath(), and TEST_DoTestEntries().
|
static |
Definition at line 151 of file ShellExecuteEx.cpp.
Referenced by TEST_DoTestEntry().
Definition at line 314 of file ShellExecuteEx.cpp.
Referenced by START_TEST().
Definition at line 330 of file ShellExecuteEx.cpp.
Referenced by START_TEST().
|
static |
Definition at line 369 of file ShellExecuteEx.cpp.
Referenced by START_TEST().
Definition at line 220 of file ShellExecuteEx.cpp.
Referenced by START_TEST().
|
static |
Definition at line 33 of file ShellExecuteEx.cpp.
Referenced by TEST_DoTestEntryStruct(), and TEST_Start().
|
static |
Definition at line 218 of file ShellExecuteEx.cpp.
Referenced by TEST_End(), and TEST_Start().
|
static |
Definition at line 218 of file ShellExecuteEx.cpp.
Referenced by TEST_End().
Definition at line 26 of file ShellExecuteEx.cpp.
Referenced by TEST_DoTestEntries(), TEST_End(), and TEST_Start().
Definition at line 20 of file ShellExecuteEx.cpp.
Referenced by TEST_DoTestEntries(), and TEST_Start().
Definition at line 22 of file ShellExecuteEx.cpp.
Referenced by TEST_Start().
Definition at line 30 of file ShellExecuteEx.cpp.
Referenced by TEST_DoTestEntries(), and TEST_Start().
Definition at line 24 of file ShellExecuteEx.cpp.
Referenced by TEST_AppPath(), TEST_DoTestEntries(), TEST_End(), and TEST_Start().
Definition at line 32 of file ShellExecuteEx.cpp.
Referenced by TEST_DoTestEntries(), and TEST_Start().
Definition at line 28 of file ShellExecuteEx.cpp.
Referenced by TEST_DoTestEntries(), TEST_End(), and TEST_Start().
Definition at line 25 of file ShellExecuteEx.cpp.
Referenced by TEST_DoTestEntries(), TEST_End(), and TEST_Start().
Definition at line 19 of file ShellExecuteEx.cpp.
Referenced by TEST_DoTestEntries(), and TEST_Start().
Definition at line 21 of file ShellExecuteEx.cpp.
Referenced by TEST_DoTestEntries(), and TEST_Start().
Definition at line 29 of file ShellExecuteEx.cpp.
Referenced by TEST_DoTestEntries(), and TEST_Start().
Definition at line 23 of file ShellExecuteEx.cpp.
Referenced by TEST_AppPath(), TEST_DoTestEntries(), TEST_End(), and TEST_Start().
Definition at line 31 of file ShellExecuteEx.cpp.
Referenced by TEST_DoTestEntries(), and TEST_Start().
Definition at line 27 of file ShellExecuteEx.cpp.
Referenced by TEST_DoTestEntries(), TEST_End(), and TEST_Start().