From 19b0a7e28fa27556db8f09f93c8628a3fa21aeaa Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Sat, 18 Jan 2014 14:16:59 +0100 Subject: altair-lte: add 'mm' prefix in the exported helper methods --- plugins/altair/tests/test-modem-helpers-altair-lte.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'plugins/altair/tests') diff --git a/plugins/altair/tests/test-modem-helpers-altair-lte.c b/plugins/altair/tests/test-modem-helpers-altair-lte.c index 50f2b205..2df3eefa 100644 --- a/plugins/altair/tests/test-modem-helpers-altair-lte.c +++ b/plugins/altair/tests/test-modem-helpers-altair-lte.c @@ -65,8 +65,8 @@ test_ceer (void) static void test_parse_cid (void) { - g_assert (altair_parse_cid ("%CGINFO: 2", NULL) == 2); - g_assert (altair_parse_cid ("%CGINFO:blah", NULL) == -1); + g_assert (mm_altair_parse_cid ("%CGINFO: 2", NULL) == 2); + g_assert (mm_altair_parse_cid ("%CGINFO:blah", NULL) == -1); } static void @@ -75,26 +75,26 @@ test_parse_vendor_pco_info (void) guint pco_value; /* Valid PCO values */ - pco_value = altair_parse_vendor_pco_info ("%PCOINFO: 1,3,FF00,13018400", 3, NULL); + pco_value = mm_altair_parse_vendor_pco_info ("%PCOINFO: 1,3,FF00,13018400", 3, NULL); g_assert (pco_value == 0); - pco_value = altair_parse_vendor_pco_info ("%PCOINFO: 1,3,FF00,13018403", 3, NULL); + pco_value = mm_altair_parse_vendor_pco_info ("%PCOINFO: 1,3,FF00,13018403", 3, NULL); g_assert (pco_value == 3); - pco_value = altair_parse_vendor_pco_info ("%PCOINFO: 1,3,FF00,13018405", 3, NULL); + pco_value = mm_altair_parse_vendor_pco_info ("%PCOINFO: 1,3,FF00,13018405", 3, NULL); g_assert (pco_value == 5); /* Different container */ - pco_value = altair_parse_vendor_pco_info ("%PCOINFO: 1,3,F000,13018401", 3, NULL); + pco_value = mm_altair_parse_vendor_pco_info ("%PCOINFO: 1,3,F000,13018401", 3, NULL); g_assert (pco_value == -1); /* Different CID */ - pco_value = altair_parse_vendor_pco_info ("%PCOINFO: 1,3,FF00,13018401", 1, NULL); + pco_value = mm_altair_parse_vendor_pco_info ("%PCOINFO: 1,3,FF00,13018401", 1, NULL); g_assert (pco_value == -1); /* Different payload */ - pco_value = altair_parse_vendor_pco_info ("%PCOINFO: 1,3,FF00,13018501", 1, NULL); + pco_value = mm_altair_parse_vendor_pco_info ("%PCOINFO: 1,3,FF00,13018501", 1, NULL); g_assert (pco_value == -1); /* Bad PCO info */ - pco_value = altair_parse_vendor_pco_info ("%PCOINFO: blah,blah,FF00,13018401", 1, NULL); + pco_value = mm_altair_parse_vendor_pco_info ("%PCOINFO: blah,blah,FF00,13018401", 1, NULL); g_assert (pco_value == -1); /* Multiline PCO info */ - pco_value = altair_parse_vendor_pco_info ("%PCOINFO: 1,1,FF00,13018400\r\n%PCOINFO: 1,3,FF00,13018403", 3, NULL); + pco_value = mm_altair_parse_vendor_pco_info ("%PCOINFO: 1,1,FF00,13018400\r\n%PCOINFO: 1,3,FF00,13018403", 3, NULL); g_assert (pco_value == 3); } -- cgit v1.2.3-70-g09d2