~ubuntu-branches/debian/jessie/glib2.0/jessie

« back to all changes in this revision

Viewing changes to tests/convert-test.c

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-02-15 13:00:43 UTC
  • mfrom: (1.3.1 upstream) (69.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20090215130043-q47fbt3owmt42m2f
Tags: 2.18.4-2
* Release to unstable
* debian/rules:
- bump SHVER, since we are already forcing a 2.18.0 dependecy on the
  symbols introduced in the development versions
* debian/control.in:
- added Homepage and Vcs-* control fields

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
  out = g_convert (in, -1, "UTF-8", "CP1255", 
46
46
                   &bytes_read, &bytes_written, &error);
47
 
  
 
47
 
 
48
  if (error && error->code == G_CONVERT_ERROR_NO_CONVERSION)
 
49
    return; /* silently skip if CP1255 is not supported, see bug 467707 */ 
 
50
 
48
51
  g_assert (error == NULL);
49
52
  g_assert (bytes_read == 5);
50
53
  g_assert (bytes_written == 10);