Function

GLib-2.0GLibtest_add_data_func_fullSince 2.34

  • Creates a new test case.

    In contrast to GLib.test_add_data_func, this function is freeing test_data after the test run is complete.

    Parameters

    • testpath: string

      a /-separated name for the test

    • test_data: any

      data for test_func

    • test_func: TestDataFunc

      the test function to invoke for this test

    Returns void

    2.34