manual_executor.c File Reference

#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <time.h>
#include "testdefinitiondatatypes.h"
#include "manual_executor.h"

Go to the source code of this file.

Functions

LOCAL xmlChar * get_comments ()
LOCAL int check_user_input (char *buff, int *result)
void pre_manual (td_case *c)
int execute_manual (td_step *step)
void post_manual (td_case *c)


Function Documentation

LOCAL int check_user_input ( char *  buff,
int *  result 
)

Check that user input is valid.

Parameters:
buff user input
result [OUT] pass result for caller
Returns:
0 for valid input 1 for invalid

Definition at line 84 of file manual_executor.c.

int execute_manual ( td_step step  ) 

Execute manual test step

Parameters:
step test step data
Returns:
0 if step is passed

Definition at line 172 of file manual_executor.c.

LOCAL xmlChar * get_comments (  ) 

Prompt user for comments

Returns:
the comments in buffer or NULL in case of failure

Definition at line 138 of file manual_executor.c.

void post_manual ( td_case c  ) 

Do manual test case post processing.

Parameters:
c test case data

Definition at line 212 of file manual_executor.c.

void pre_manual ( td_case c  ) 

Print information before manual test case execution

Parameters:
c test case data

Definition at line 160 of file manual_executor.c.


Generated on Wed Nov 10 14:13:01 2010 for testrunner-lite by  doxygen 1.5.6