diff options
Diffstat (limited to 'src/tests/test-sms-part.c')
-rw-r--r-- | src/tests/test-sms-part.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/tests/test-sms-part.c b/src/tests/test-sms-part.c index 33287e28..2e393138 100644 --- a/src/tests/test-sms-part.c +++ b/src/tests/test-sms-part.c @@ -23,7 +23,7 @@ #define _LIBMM_INSIDE_MM #include <libmm-glib.h> -#include "mm-sms-part.h" +#include "mm-sms-part-3gpp.h" #include "mm-log.h" /* If defined will print debugging traces */ @@ -58,7 +58,7 @@ common_test_part_from_hexpdu (const gchar *hexpdu, MMSmsPart *part; GError *error = NULL; - part = mm_sms_part_new_from_pdu (0, hexpdu, &error); + part = mm_sms_part_3gpp_new_from_pdu (0, hexpdu, &error); g_assert_no_error (error); g_assert (part != NULL); @@ -356,7 +356,7 @@ test_pdu_insufficient_data (void) }; hexpdu = mm_utils_bin2hexstr (pdu, sizeof (pdu)); - part = mm_sms_part_new_from_pdu (0, hexpdu, &error); + part = mm_sms_part_3gpp_new_from_pdu (0, hexpdu, &error); g_assert (part == NULL); /* We don't care for the specific error type */ g_assert (error != NULL); @@ -464,7 +464,7 @@ common_test_address_encode (const gchar *address, guint8 buf[20]; gsize enclen; - enclen = mm_sms_part_encode_address (address, buf, sizeof (buf), smsc); + enclen = mm_sms_part_3gpp_encode_address (address, buf, sizeof (buf), smsc); g_assert_cmpuint (enclen, ==, expected_size); g_assert_cmpint (memcmp (buf, expected, expected_size), ==, 0); } @@ -531,7 +531,7 @@ common_test_create_pdu (const gchar *smsc, MMSmsEncoding encoding = MM_SMS_ENCODING_UNKNOWN; /* Detect best encoding */ - mm_sms_part_util_split_text (text, &encoding); + mm_sms_part_3gpp_util_split_text (text, &encoding); mm_sms_part_set_text (part, text); mm_sms_part_set_encoding (part, encoding); } @@ -540,10 +540,10 @@ common_test_create_pdu (const gchar *smsc, if (class >= 0) mm_sms_part_set_class (part, class); - pdu = mm_sms_part_get_submit_pdu (part, - &len, - &msgstart, - &error); + pdu = mm_sms_part_3gpp_get_submit_pdu (part, + &len, + &msgstart, + &error); trace_pdu (pdu, len); @@ -716,7 +716,7 @@ common_test_text_split (const gchar *text, MMSmsEncoding out_encoding = MM_SMS_ENCODING_UNKNOWN; guint i; - out = mm_sms_part_util_split_text (text, &out_encoding); + out = mm_sms_part_3gpp_util_split_text (text, &out_encoding); g_assert (out != NULL); g_assert (out_encoding != MM_SMS_ENCODING_UNKNOWN); |