~ubuntu-branches/ubuntu/trusty/glib2.0/trusty-proposed

« back to all changes in this revision

Viewing changes to glib/tests/array-test.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-02-22 15:00:46 UTC
  • mfrom: (3.4.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20100222150046-qae9q3ivbus5o0gd
Tags: 2.23.4-1ubuntu1
* Resync on Debian
* debian/patches/01_gettext-desktopfiles.patch:
  - updated to use gettext for X-GNOME-Fullname too
* debian/patches/71_gio_launch_handler.patch:
  - new gio default launch handle feature required for wncksync
* debian/libglib2.0-0.symbols:
  - updated the symbols list for the gio launcher handler

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
      g_array_set_size (array, 1073750016);
116
116
      exit (0); /* success */
117
117
    }
118
 
  g_test_trap_assert_passed ();
 
118
 
 
119
  if (!g_test_trap_has_passed ())
 
120
    {
 
121
      g_test_trap_assert_stderr ("*failed to allocate 2147483648 bytes*");
 
122
    }
119
123
 
120
124
  g_array_free (array, TRUE);
121
125
}
315
319
  g_test_add_func ("/array/append", array_append);
316
320
  g_test_add_func ("/array/prepend", array_prepend);
317
321
  g_test_add_func ("/array/ref-count", array_ref_count);
318
 
#if 0
319
322
  g_test_add_func ("/array/large-size", array_large_size);
320
 
#endif
321
323
 
322
324
  /* pointer arrays */
323
325
  g_test_add_func ("/pointerarray/add", pointer_array_add);