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

◆ TEST_COMBINER

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

Referenced by CASE(), CASE(), CASE(), and CASE().

◆ TEST_COND

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

Referenced by CASE(), CASE(), CASE(), CASE(), and CASE().

Function Documentation

◆ CASE() [1/10]

CASE ( test_and )

◆ CASE() [2/10]

CASE ( test_custom_combiner )

◆ CASE() [3/10]

CASE ( test_custom_filter )

◆ CASE() [4/10]

CASE ( test_equal )

◆ CASE() [5/10]

CASE ( test_exists )

◆ CASE() [6/10]

CASE ( test_greater )

◆ CASE() [7/10]

CASE ( test_match )

◆ CASE() [8/10]

CASE ( test_not )

◆ CASE() [9/10]

CASE ( test_or )

◆ CASE() [10/10]

CASE ( test_smaller )

◆ CLEANUP()

CLEANUP ( )

◆ SETUP()

SETUP ( Condition )