{
prepare_data (data, FALSE);
+ g_test_bug ("617937");
+
/* just close asynchronously */
g_output_stream_close_async (data->conv_stream,
G_PRIORITY_DEFAULT,
{
GError *error = NULL;
+ g_test_bug ("617937");
+
prepare_data (data, TRUE);
g_output_stream_flush (data->conv_stream, NULL, &error);
test_with_async_flush (SetupData *data,
gconstpointer user_data)
{
+ g_test_bug ("617937");
+
prepare_data (data, TRUE);
/* first flush async */
g_test_init (&argc, &argv, NULL);
+ g_test_bug_base ("http://bugzilla.gnome.org/");
+
data = g_slice_new (SetupData);
/* test closing asynchronously without flushing manually */
{
const CompressorTest *test = data;
+ g_test_bug ("162549");
+
test_corruption (test->format, test->level);
}
g_type_init ();
g_test_init (&argc, &argv, NULL);
+ g_test_bug_base ("http://bugzilla.gnome.org/");
+
g_test_add_func ("/converter-input-stream/expander", test_expander);
g_test_add_func ("/converter-input-stream/compressor", test_compressor);
* if advised of the possibility of such damage.
*/
+/* We test for errors in optimize-only definitions in gmem.h */
+
+#pragma GCC optimize (1)
+
#include "glib.h"
#include <stdlib.h>
free (q);
}
+typedef struct
+{
+} Empty;
+
+static void
+empty_alloc (void)
+{
+ g_test_bug ("615379");
+
+ g_assert_cmpint (sizeof (Empty), ==, 0);
+
+ if (g_test_trap_fork (0, 0))
+ {
+ Empty *empty;
+
+ empty = g_new0 (Empty, 1);
+ g_assert (empty == NULL);
+ exit (0);
+ }
+ g_test_trap_assert_passed ();
+}
+
int
main (int argc,
char *argv[])
{
g_test_init (&argc, &argv, NULL);
+ g_test_bug_base ("http://bugzilla.gnome.org/");
+
g_test_add_func ("/mem/overflow", mem_overflow);
+ g_test_add_func ("/mem/empty-alloc", empty_alloc);
return g_test_run();
}
BindingSource *c = g_object_new (binding_source_get_type (), NULL);
GBinding *binding_1, *binding_2;
+ g_test_bug ("621782");
+
/* A -> B, B -> C */
binding_1 = g_object_bind_property (a, "foo", b, "foo", G_BINDING_BIDIRECTIONAL);
binding_2 = g_object_bind_property (b, "foo", c, "foo", G_BINDING_BIDIRECTIONAL);
g_type_init ();
g_test_init (&argc, &argv, NULL);
+ g_test_bug_base ("http://bugzilla.gnome.org/");
+
g_test_add_func ("/binding/default", binding_default);
g_test_add_func ("/binding/bidirectional", binding_bidirectional);
g_test_add_func ("/binding/transform", binding_transform);