XMMS2
Macros | Functions
t_cond.c File Reference
#include "xcu.h"
#include "s4.h"
#include <glib.h>

Macros

#define TEST_COND(c, s, m)   ((m)?(CU_ASSERT_FALSE (test_cond ((c), (s)))):(CU_ASSERT (test_cond ((c), (s)))))
 
#define TEST_COMBINER(c, s, m)   ((m)?(CU_ASSERT_FALSE (test_combiner(c,s))):(CU_ASSERT(test_combiner(c,s))))
 

Functions

 SETUP (Condition)
 
 CLEANUP ()
 
 CASE (test_equal)
 
 CASE (test_greater)
 
 CASE (test_smaller)
 
 CASE (test_match)
 
 CASE (test_exists)
 
 CASE (test_and)
 
 CASE (test_or)
 
 CASE (test_not)
 
 CASE (test_custom_filter)
 
 CASE (test_custom_combiner)
 

Macro Definition Documentation

#define TEST_COMBINER (   c,
  s,
 
)    ((m)?(CU_ASSERT_FALSE (test_combiner(c,s))):(CU_ASSERT(test_combiner(c,s))))

Referenced by CASE().

#define TEST_COND (   c,
  s,
 
)    ((m)?(CU_ASSERT_FALSE (test_cond ((c), (s)))):(CU_ASSERT (test_cond ((c), (s)))))

Referenced by CASE().

Function Documentation

CASE ( test_equal  )
CASE ( test_greater  )
CASE ( test_smaller  )
CASE ( test_match  )
CASE ( test_exists  )
CASE ( test_and  )
CASE ( test_or  )
CASE ( test_not  )
CASE ( test_custom_filter  )
CASE ( test_custom_combiner  )
CLEANUP ( )
SETUP ( Condition  )