26 #ifdef DBUS_ENABLE_EMBEDDED_TESTS
27 #include "dbus-marshal-byteswap.h"
28 #include "dbus-test.h"
32 do_byteswap_test (
int byte_order)
45 while (dbus_internal_do_not_use_generate_bodies (sequence,
69 if (!_dbus_type_reader_equal_values (&body_reader, ©_reader))
72 _dbus_string_get_length (&signature));
74 _dbus_string_get_length (&body));
76 _dbus_string_get_length (©));
78 _dbus_warn (
"Byte-swapped data did not have same values as original data\n");
92 printf (
" %d blocks swapped from order '%c' to '%c'\n",
93 sequence, byte_order, opposite_order);
97 _dbus_marshal_byteswap_test (
void)