| 113 | } // namespace TQ |
| 114 | |
| 115 | static ::ObjectInstance* new_test_gobject(GjsUnitTestFixture* fx) { |
| 116 | AutoUnref<GObject> gobject{G_OBJECT(g_object_new(G_TYPE_OBJECT, nullptr))}; |
| 117 | auto* object = ObjectInstance::new_for_gobject(fx->cx, gobject); |
| 118 | static_cast<ObjectInstance*>(object)->ensure_uses_toggle_ref(fx->cx); |
| 119 | return object; |
| 120 | } |
| 121 | |
| 122 | static void wait_for(int interval) { |
| 123 | AutoPointer<GMainLoop, GMainLoop, g_main_loop_unref> loop{ |
no test coverage detected