GnuCash c935c2f+
Loading...
Searching...
No Matches
Data Fields
TestErrorStruct Struct Reference

Struct to pass as user_data for the handlers. More...

#include <unittest-support.h>

Data Fields

GLogLevelFlags log_level
 
char * log_domain
 
char * msg
 
guint hits
 

Detailed Description

Struct to pass as user_data for the handlers.

Setting a parameter to NULL or 0 will match any value in the error, so if you have the same message and log level being issued in two domains you can match both of them by setting log_domain = NULL.

Definition at line 102 of file unittest-support.h.

Field Documentation

◆ hits

guint TestErrorStruct::hits

Definition at line 107 of file unittest-support.h.

◆ log_domain

char* TestErrorStruct::log_domain

Definition at line 105 of file unittest-support.h.

◆ log_level

GLogLevelFlags TestErrorStruct::log_level

Definition at line 104 of file unittest-support.h.

◆ msg

char* TestErrorStruct::msg

Definition at line 106 of file unittest-support.h.


The documentation for this struct was generated from the following file: