~ubuntu-branches/ubuntu/saucy/evolution-data-server/saucy

« back to all changes in this revision

Viewing changes to camel/tests/lib/messages.c

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2012-10-08 12:58:16 UTC
  • mfrom: (181.1.7 quantal)
  • Revision ID: package-import@ubuntu.com-20121008125816-i3n76e8c0m64e7xp
Tags: 3.6.0-0ubuntu2
* Fix LP: #1038047 part 1 - Don't abort in e_source_registry_new* when a
  problem occurs connecting to the Dbus service
  - add debian/patches/dont-abort-in-e_source_registry_new.patch
  - update debian/patches/series
* Fix LP: #1038047 part 2 - libedataserver depends on
  evolution-data-server-common to ensure that the GSettings schemas are
  present
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
239
239
 
240
240
        check_unref (msg2, 1);
241
241
 
242
 
        check_msg (byte_array1->len == byte_array2->len,
243
 
                   "byte_array1->len = %d, byte_array2->len = %d",
244
 
                   byte_array1->len, byte_array2->len);
 
242
        check_msg (
 
243
                byte_array1->len == byte_array2->len,
 
244
                "byte_array1->len = %d, byte_array2->len = %d",
 
245
                byte_array1->len, byte_array2->len);
245
246
 
246
247
        check_msg (memcmp (byte_array1->data, byte_array2->data, byte_array1->len) == 0, "msg/stream compare");
247
248
 
283
284
        printf ("%sPart <%s>\n", s, G_OBJECT_TYPE_NAME (part));
284
285
        printf ("%sContent-Type: %s\n", s, mime_type);
285
286
        g_free (mime_type);
286
 
        printf ("%s encoding: %s\n", s, camel_transfer_encoding_to_string (((CamelDataWrapper *)part)->encoding));
 
287
        printf ("%s encoding: %s\n", s, camel_transfer_encoding_to_string (((CamelDataWrapper *) part)->encoding));
287
288
        printf ("%s part encoding: %s\n", s, camel_transfer_encoding_to_string (camel_mime_part_get_encoding (part)));
288
289
 
289
290
        containee = camel_medium_get_content (CAMEL_MEDIUM (part));
295
296
        printf ("%sContent <%s>\n", s, G_OBJECT_TYPE_NAME (containee));
296
297
        printf ("%sContent-Type: %s\n", s, mime_type);
297
298
        g_free (mime_type);
298
 
        printf ("%s encoding: %s\n", s, camel_transfer_encoding_to_string (((CamelDataWrapper *)containee)->encoding));
 
299
        printf ("%s encoding: %s\n", s, camel_transfer_encoding_to_string (((CamelDataWrapper *) containee)->encoding));
299
300
 
300
301
        /* using the object types is more accurate than using the mime/types */
301
302
        if (CAMEL_IS_MULTIPART (containee)) {