add_data_func_full
Description:
[ Version ( since = "2.34" ) ]
public void add_data_func_full (string testpath, owned TestDataFunc test_func)
public void add_data_func_full (string testpath, owned TestDataFunc test_func)
Creates a new test case.
In contrast to [func@GLib.test_add_data_func], this function is freeing test_data after the test run is complete.
Parameters:
| testpath |
a /-separated name for the test |
| test_func |
the test function to invoke for this test |
| data_free_func |
DestroyNotify for |
| test_data |
data for |
Namespace: GLib.Test
Package: glib-2.0