FreeRDP
TestClientCmdLine.c File Reference
#include <freerdp/client.h>
#include <freerdp/client/cmdline.h>
#include <freerdp/settings.h>
#include <winpr/cmdline.h>
#include <winpr/spec.h>
#include <winpr/strlst.h>
#include <winpr/collections.h>

Macros

#define printref()   printf("%s:%d: in function %-40s:", __FILE__, __LINE__, __FUNCTION__)
 
#define ERROR(format, ...)
 
#define FAILURE(format, ...)
 
#define DRIVE_REDIRECT_PATH   "/tmp"
 

Typedefs

typedef BOOL(* validate_settings_pr) (rdpSettings *settings)
 

Functions

static void print_test_title (int argc, char **argv)
 
static INLINE BOOL testcase (const char *name, char **argv, size_t argc, int expected_return, validate_settings_pr validate_settings)
 
static BOOL check_settings_smartcard_no_redirection (rdpSettings *settings)
 
void check_modified_arguments (test *test, char **command_line, int *rc)
 
int TestClientCmdLine (int argc, char *argv[])
 

Variables

static test tests []
 

Macro Definition Documentation

#define DRIVE_REDIRECT_PATH   "/tmp"
#define ERROR (   format,
  ... 
)
Value:
do{ \
fprintf(stderr, format, ##__VA_ARGS__); \
printf(format, ##__VA_ARGS__); \
fflush(stdout); \
}while(0)
#define printref()
Definition: TestClientCmdLine.c:12
#define FAILURE (   format,
  ... 
)
Value:
do{ \
printf(" FAILURE "); \
printf(format, ##__VA_ARGS__); \
fflush(stdout); \
}while(0)
#define printref()
Definition: TestClientCmdLine.c:12
#define printref ( )    printf("%s:%d: in function %-40s:", __FILE__, __LINE__, __FUNCTION__)

Typedef Documentation

typedef BOOL(* validate_settings_pr) (rdpSettings *settings)

Function Documentation

void check_modified_arguments ( test *  test,
char **  command_line,
int *  rc 
)

Here is the caller graph for this function:

static BOOL check_settings_smartcard_no_redirection ( rdpSettings *  settings)
static

Here is the call graph for this function:

static void print_test_title ( int  argc,
char **  argv 
)
static

Here is the caller graph for this function:

static INLINE BOOL testcase ( const char *  name,
char **  argv,
size_t  argc,
int  expected_return,
validate_settings_pr  validate_settings 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

int TestClientCmdLine ( int  argc,
char *  argv[] 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

test tests[]
static