8 #define fail_if(expr, ...) fail_unless(!(expr), "Failure '"#expr"' occured")
14 void start_test_case (void);
16 void end_test_case (void);
18 void set_waiting_signal (GObject
*o
, const char *name
);
19 void wait_for_signal (void);
21 void test_rhythmdb_setup (void);
22 void test_rhythmdb_shutdown (void);
24 void set_entry_string (RhythmDB
*db
, RhythmDBEntry
*entry
, RhythmDBPropType prop
, const char *value
);
25 void set_entry_ulong (RhythmDB
*db
, RhythmDBEntry
*entry
, RhythmDBPropType prop
, gulong value
);
26 void set_entry_hidden (RhythmDB
*db
, RhythmDBEntry
*entry
, gboolean hidden
);
28 #endif /* __TEST_UTILS_H */