Function

GLib-2.0GLibtest_get_pathSince 2.68

  • Gets the test path for the test currently being run.

    In essence, it will be the same string passed as the first argument to e.g. GLib.test_add when the test was added.

    This function returns a valid string only within a test function.

    Note that this is a test path, not a file system path.

    Returns string

    the test path for the test currently being run

    2.68