testGetDir

fnstring testGetDir(glib.types.TestFileType fileType)

Gets the pathname of the directory containing test files of the type specified by file_type.

This is approximately the same as calling g_test_build_filename("."), but you don't need to free the return value.

Parameters

fileTypethe type of file (built vs. distributed)

Returns

the path of the directory, owned by GLib