GLib.test_bug_base
function test_bug_base(uri_pattern: String): void { // Gjs wrapper for g_test_bug_base() }
Specify the base URI for bug reports.
The base URI is used to construct bug report messages for GLib.test_message when GLib.test_bug is called. Calling this function outside of a test case sets the default base URI for all test cases. Calling it from within a test case changes the base URI for the scope of the test case only. Bug URIs are constructed by appending a bug specific URI portion to uri_pattern, or by replacing the special string '\%s' within uri_pattern if that is present.
Since 2.16
- uri_pattern
the base pattern for bug URIs