summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-07-22 23:15:50 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-10-25 19:47:19 +0200
commitc440f121cc8625332e5dce63cda054e1ca8ce66f (patch)
tree060e35d57669cccbe39b8435cfe019fbf02c0e08
parent5ecdae8dc807c95ffeca7266288c0ee0ce6398a6 (diff)
downloadModemManager-c440f121cc8625332e5dce63cda054e1ca8ce66f.tar.gz
tests: rename 3GPP SMS part tester
-rw-r--r--.gitignore2
-rw-r--r--src/tests/Makefile.am14
-rw-r--r--src/tests/test-sms-part-3gpp.c (renamed from src/tests/test-sms-part.c)66
3 files changed, 41 insertions, 41 deletions
diff --git a/.gitignore b/.gitignore
index d6580be9a..ae9d5b1e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,7 +52,7 @@ src/tests/test-modem-helpers-qmi
src/tests/test-charsets
src/tests/test-qcdm-serial-port
src/tests/test-at-serial-port
-src/tests/test-sms-part
+src/tests/test-sms-part-3gpp
cli/mmcli
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
index dc5836681..4d80f0da1 100644
--- a/src/tests/Makefile.am
+++ b/src/tests/Makefile.am
@@ -5,7 +5,7 @@ noinst_PROGRAMS = \
test-charsets \
test-qcdm-serial-port \
test-at-serial-port \
- test-sms-part
+ test-sms-part-3gpp
if WITH_QMI
noinst_PROGRAMS += test-modem-helpers-qmi
@@ -139,10 +139,10 @@ endif
################
-test_sms_part_SOURCES = \
- test-sms-part.c
+test_sms_part_3gpp_SOURCES = \
+ test-sms-part-3gpp.c
-test_sms_part_CPPFLAGS = \
+test_sms_part_3gpp_CPPFLAGS = \
$(MM_CFLAGS) \
-I$(top_srcdir) \
-I$(top_srcdir)/src \
@@ -152,11 +152,11 @@ test_sms_part_CPPFLAGS = \
-I$(top_srcdir)/libmm-glib/generated \
-I$(top_builddir)/libmm-glib/generated
-test_sms_part_LDADD = \
+test_sms_part_3gpp_LDADD = \
$(top_builddir)/src/libmodem-helpers.la \
$(MM_LIBS)
if WITH_QMI
-test_sms_part_CPPFLAGS += $(QMI_CFLAGS)
-test_sms_part_LDADD += $(QMI_LIBS)
+test_sms_part_3gpp_CPPFLAGS += $(QMI_CFLAGS)
+test_sms_part_3gpp_LDADD += $(QMI_LIBS)
endif
diff --git a/src/tests/test-sms-part.c b/src/tests/test-sms-part-3gpp.c
index 2e3931386..58de8a612 100644
--- a/src/tests/test-sms-part.c
+++ b/src/tests/test-sms-part-3gpp.c
@@ -862,39 +862,39 @@ int main (int argc, char **argv)
g_type_init ();
g_test_init (&argc, &argv, NULL);
- g_test_add_func ("/MM/SMS/PDU-Parser/pdu1", test_pdu1);
- g_test_add_func ("/MM/SMS/PDU-Parser/pdu2", test_pdu2);
- g_test_add_func ("/MM/SMS/PDU-Parser/pdu3", test_pdu3);
- g_test_add_func ("/MM/SMS/PDU-Parser/pdu3-nonzero-pid", test_pdu3_nzpid);
- g_test_add_func ("/MM/SMS/PDU-Parser/pdu3-mms", test_pdu3_mms);
- g_test_add_func ("/MM/SMS/PDU-Parser/pdu3-natl", test_pdu3_natl);
- g_test_add_func ("/MM/SMS/PDU-Parser/pdu3-8bit", test_pdu3_8bit);
- g_test_add_func ("/MM/SMS/PDU-Parser/pdu-dcsf1", test_pdu_dcsf1);
- g_test_add_func ("/MM/SMS/PDU-Parser/pdu-dcsf-8bit", test_pdu_dcsf_8bit);
- g_test_add_func ("/MM/SMS/PDU-Parser/pdu-insufficient-data", test_pdu_insufficient_data);
- g_test_add_func ("/MM/SMS/PDU-Parser/pdu-udhi", test_pdu_udhi);
- g_test_add_func ("/MM/SMS/PDU-Parser/pdu-multipart", test_pdu_multipart);
- g_test_add_func ("/MM/SMS/PDU-Parser/pdu-stored-by-us", test_pdu_stored_by_us);
- g_test_add_func ("/MM/SMS/PDU-Parser/pdu-not-stored", test_pdu_not_stored);
-
- g_test_add_func ("/MM/SMS/Address-Encoder/smsc-intl", test_address_encode_smsc_intl);
- g_test_add_func ("/MM/SMS/Address-Encoder/smsc-unknown", test_address_encode_smsc_unknown);
- g_test_add_func ("/MM/SMS/Address-Encoder/intl", test_address_encode_intl);
- g_test_add_func ("/MM/SMS/Address-Encoder/unknown", test_address_encode_unknown);
-
- g_test_add_func ("/MM/SMS/PDU-Creator/UCS2-with-smsc", test_create_pdu_ucs2_with_smsc);
- g_test_add_func ("/MM/SMS/PDU-Creator/UCS2-no-smsc", test_create_pdu_ucs2_no_smsc);
- g_test_add_func ("/MM/SMS/PDU-Creator/GSM-with-smsc", test_create_pdu_gsm_with_smsc);
- g_test_add_func ("/MM/SMS/PDU-Creator/GSM-no-smsc", test_create_pdu_gsm_no_smsc);
- g_test_add_func ("/MM/SMS/PDU-Creator/GSM-3", test_create_pdu_gsm_3);
- g_test_add_func ("/MM/SMS/PDU-Creator/GSM-no-validity", test_create_pdu_gsm_no_validity);
-
- g_test_add_func ("/MM/SMS/Text-Split/short", test_text_split_short);
- g_test_add_func ("/MM/SMS/Text-Split/short-UCS2", test_text_split_short_ucs2);
- g_test_add_func ("/MM/SMS/Text-Split/max-single-pdu", test_text_split_max_single_pdu);
- g_test_add_func ("/MM/SMS/Text-Split/max-single-pdu-UCS2", test_text_split_max_single_pdu_ucs2);
- g_test_add_func ("/MM/SMS/Text-Split/two-pdu", test_text_split_two_pdu);
- g_test_add_func ("/MM/SMS/Text-Split/two-pdu-UCS2", test_text_split_two_pdu_ucs2);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu1", test_pdu1);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu2", test_pdu2);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu3", test_pdu3);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu3-nonzero-pid", test_pdu3_nzpid);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu3-mms", test_pdu3_mms);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu3-natl", test_pdu3_natl);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu3-8bit", test_pdu3_8bit);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu-dcsf1", test_pdu_dcsf1);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu-dcsf-8bit", test_pdu_dcsf_8bit);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu-insufficient-data", test_pdu_insufficient_data);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu-udhi", test_pdu_udhi);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu-multipart", test_pdu_multipart);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu-stored-by-us", test_pdu_stored_by_us);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu-not-stored", test_pdu_not_stored);
+
+ g_test_add_func ("/MM/SMS/3GPP/Address-Encoder/smsc-intl", test_address_encode_smsc_intl);
+ g_test_add_func ("/MM/SMS/3GPP/Address-Encoder/smsc-unknown", test_address_encode_smsc_unknown);
+ g_test_add_func ("/MM/SMS/3GPP/Address-Encoder/intl", test_address_encode_intl);
+ g_test_add_func ("/MM/SMS/3GPP/Address-Encoder/unknown", test_address_encode_unknown);
+
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Creator/UCS2-with-smsc", test_create_pdu_ucs2_with_smsc);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Creator/UCS2-no-smsc", test_create_pdu_ucs2_no_smsc);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Creator/GSM-with-smsc", test_create_pdu_gsm_with_smsc);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Creator/GSM-no-smsc", test_create_pdu_gsm_no_smsc);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Creator/GSM-3", test_create_pdu_gsm_3);
+ g_test_add_func ("/MM/SMS/3GPP/PDU-Creator/GSM-no-validity", test_create_pdu_gsm_no_validity);
+
+ g_test_add_func ("/MM/SMS/3GPP/Text-Split/short", test_text_split_short);
+ g_test_add_func ("/MM/SMS/3GPP/Text-Split/short-UCS2", test_text_split_short_ucs2);
+ g_test_add_func ("/MM/SMS/3GPP/Text-Split/max-single-pdu", test_text_split_max_single_pdu);
+ g_test_add_func ("/MM/SMS/3GPP/Text-Split/max-single-pdu-UCS2", test_text_split_max_single_pdu_ucs2);
+ g_test_add_func ("/MM/SMS/3GPP/Text-Split/two-pdu", test_text_split_two_pdu);
+ g_test_add_func ("/MM/SMS/3GPP/Text-Split/two-pdu-UCS2", test_text_split_two_pdu_ucs2);
return g_test_run ();
}