FreeRDP
|
#include <errno.h>
#include <winpr/crt.h>
#include <winpr/assert.h>
#include <winpr/tchar.h>
#include <winpr/cmdline.h>
#include <winpr/strlst.h>
Functions | |
static BOOL | checkResult (size_t index, char **actual, size_t actualCount) |
static BOOL | TestCommandLineParseCommaSeparatedValuesEx (void) |
int | TestCmdLine (int argc, char *argv[]) |
Variables | |
static const char * | testArgv [] |
static const char | testListAppName [] = "test app name" |
static const char * | testListArgs [] |
static const char * | testListArgs1 [] = { testListAppName, "a", "b", "c", "d" } |
static const char * | testListArgs2 [] = { testListAppName, "a:", "b:xxx, yyy", "c" } |
static const char * | testListArgs5 [] = { testListAppName, "a", "b", "c", "d d d", "fff" } |
static const char * | testListArgs6 [] = { testListAppName } |
static const char * | testListArgs7 [] = { testListAppName } |
static const char * | testListArgs8 [] = { testListAppName, "a", "b", "\"", "c" } |
static const char * | testListArgs9 [] = { testListAppName, "a", "b", "'", "c" } |
static const char ** | testListArgsResult [] |
static const size_t | testListArgsCount [] |
|
static |
int TestCmdLine | ( | int | argc, |
char * | argv[] | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |