tests: rename 3GPP SMS part tester

This commit is contained in:
Aleksander Morgado
2013-07-22 23:15:50 +02:00
parent 5ecdae8dc8
commit c440f121cc
3 changed files with 38 additions and 38 deletions

2
.gitignore vendored
View File

@@ -52,7 +52,7 @@ src/tests/test-modem-helpers-qmi
src/tests/test-charsets src/tests/test-charsets
src/tests/test-qcdm-serial-port src/tests/test-qcdm-serial-port
src/tests/test-at-serial-port src/tests/test-at-serial-port
src/tests/test-sms-part src/tests/test-sms-part-3gpp
cli/mmcli cli/mmcli

View File

@@ -5,7 +5,7 @@ noinst_PROGRAMS = \
test-charsets \ test-charsets \
test-qcdm-serial-port \ test-qcdm-serial-port \
test-at-serial-port \ test-at-serial-port \
test-sms-part test-sms-part-3gpp
if WITH_QMI if WITH_QMI
noinst_PROGRAMS += test-modem-helpers-qmi noinst_PROGRAMS += test-modem-helpers-qmi
@@ -139,10 +139,10 @@ endif
################ ################
test_sms_part_SOURCES = \ test_sms_part_3gpp_SOURCES = \
test-sms-part.c test-sms-part-3gpp.c
test_sms_part_CPPFLAGS = \ test_sms_part_3gpp_CPPFLAGS = \
$(MM_CFLAGS) \ $(MM_CFLAGS) \
-I$(top_srcdir) \ -I$(top_srcdir) \
-I$(top_srcdir)/src \ -I$(top_srcdir)/src \
@@ -152,11 +152,11 @@ test_sms_part_CPPFLAGS = \
-I$(top_srcdir)/libmm-glib/generated \ -I$(top_srcdir)/libmm-glib/generated \
-I$(top_builddir)/libmm-glib/generated -I$(top_builddir)/libmm-glib/generated
test_sms_part_LDADD = \ test_sms_part_3gpp_LDADD = \
$(top_builddir)/src/libmodem-helpers.la \ $(top_builddir)/src/libmodem-helpers.la \
$(MM_LIBS) $(MM_LIBS)
if WITH_QMI if WITH_QMI
test_sms_part_CPPFLAGS += $(QMI_CFLAGS) test_sms_part_3gpp_CPPFLAGS += $(QMI_CFLAGS)
test_sms_part_LDADD += $(QMI_LIBS) test_sms_part_3gpp_LDADD += $(QMI_LIBS)
endif endif

View File

@@ -862,39 +862,39 @@ int main (int argc, char **argv)
g_type_init (); g_type_init ();
g_test_init (&argc, &argv, NULL); g_test_init (&argc, &argv, NULL);
g_test_add_func ("/MM/SMS/PDU-Parser/pdu1", test_pdu1); g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu1", test_pdu1);
g_test_add_func ("/MM/SMS/PDU-Parser/pdu2", test_pdu2); g_test_add_func ("/MM/SMS/3GPP/PDU-Parser/pdu2", test_pdu2);
g_test_add_func ("/MM/SMS/PDU-Parser/pdu3", test_pdu3); g_test_add_func ("/MM/SMS/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/3GPP/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/Text-Split/two-pdu-UCS2", test_text_split_two_pdu_ucs2);
return g_test_run (); return g_test_run ();
} }