GLib.test_add_data_func_full
function test_add_data_func_full(testpath: String, test_data: void, test_func: GLib.TestDataFunc): void {
// Gjs wrapper for g_test_add_data_func_full()
}
Create a new test case, as with GLib.test_add_data_func, but freeing test_data after the test run is complete.
Since 2.34
- testpath
/-separated test case path name for the test.
- test_data
Test data argument for the test function.
- test_func
The test function to invoke for this test.