testfilters.h File Reference

#include <libxml/xmlstring.h>
#include <libxml/list.h>
#include "testrunnerlite.h"
#include "testdefinitiondatatypes.h"

Go to the source code of this file.

Data Structures

struct  test_filter_

Typedefs

typedef struct test_filter_ test_filter

Functions

void init_filters ()
int parse_filter_string (char *)
int filter_suite (td_suite *)
int filter_set (td_set *)
int filter_case (td_case *)
void cleanup_filters ()


Typedef Documentation

typedef struct test_filter_ test_filter

Test filter


Function Documentation

void cleanup_filters (  ) 

Free the memory allocated for filters

Definition at line 565 of file testfilters.c.

int filter_case ( td_case c  ) 

Do filtering on case

Parameters:
c case to be checked against filters
Returns:
!= 0 if the case is filtered, 0 if not.

Definition at line 557 of file testfilters.c.

int filter_set ( td_set s  ) 

Do filtering on set

Parameters:
s set to be checked against filters
Returns:
!= 0 if the set is filtered, 0 if not.

Definition at line 547 of file testfilters.c.

int filter_suite ( td_suite s  ) 

Do filtering on suite level

Parameters:
s suite to be checked against filters
Returns:
!= 0 if the suite is filtered, 0 if not.

Definition at line 537 of file testfilters.c.

void init_filters (  ) 

Initialize filter list

Definition at line 459 of file testfilters.c.

int parse_filter_string ( char *  filters  ) 

Parses the filter string given from commandline and saves the data in to list of filters

Parameters:
filters filter string
Returns:
0 on success, 1 on parsing failure

Definition at line 471 of file testfilters.c.


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