summaryrefslogtreecommitdiff
path: root/src/tests/test-sms-part-3gpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test-sms-part-3gpp.c')
-rw-r--r--src/tests/test-sms-part-3gpp.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/tests/test-sms-part-3gpp.c b/src/tests/test-sms-part-3gpp.c
index db6aa7a0..4da299e7 100644
--- a/src/tests/test-sms-part-3gpp.c
+++ b/src/tests/test-sms-part-3gpp.c
@@ -119,7 +119,7 @@ test_pdu1 (void)
pdu, sizeof (pdu),
"+12404492164", /* smsc */
"+16175927198", /* number */
- "2011-02-28T11:50:50-05:00", /* timestamp */
+ "2011-02-28T11:50:50-05", /* timestamp */
FALSE,
"Here's a longer message [{with some extended characters}] "
"thrown in, such as £ and ΩΠΨ and §¿ as well.", /* text */
@@ -140,7 +140,7 @@ test_pdu2 (void)
pdu, sizeof (pdu),
"+79037011111", /* smsc */
"InternetSMS", /* number */
- "2011-03-29T19:20:04+04:00", /* timestamp */
+ "2011-03-29T19:20:04+04", /* timestamp */
FALSE,
"тест", /* text */
NULL, 0);
@@ -160,7 +160,7 @@ test_pdu3 (void)
pdu, sizeof (pdu),
"+12345678901", /* smsc */
"+18005551212", /* number */
- "2011-01-01T12:34:56+00:00", /* timestamp */
+ "2011-01-01T12:34:56Z", /* timestamp */
FALSE,
"hellohello", /* text */
NULL, 0);
@@ -181,7 +181,7 @@ test_pdu3_nzpid (void)
pdu, sizeof (pdu),
"+12345678901", /* smsc */
"+18005551212", /* number */
- "2011-01-01T12:34:56+00:00", /* timestamp */
+ "2011-01-01T12:34:56Z", /* timestamp */
FALSE,
"hellohello", /* text */
NULL, 0);
@@ -202,7 +202,7 @@ test_pdu3_mms (void)
pdu, sizeof (pdu),
"+12345678901", /* smsc */
"+18005551212", /* number */
- "2011-01-01T12:34:56+00:00", /* timestamp */
+ "2011-01-01T12:34:56Z", /* timestamp */
FALSE,
"hellohello", /* text */
NULL, 0);
@@ -223,7 +223,7 @@ test_pdu3_natl (void)
pdu, sizeof (pdu),
"+12345678901", /* smsc */
"18005551212", /* number, no plus */
- "2011-01-01T12:34:56+00:00", /* timestamp */
+ "2011-01-01T12:34:56Z", /* timestamp */
FALSE,
"hellohello", /* text */
NULL, 0);
@@ -245,7 +245,7 @@ test_pdu3_8bit (void)
pdu, sizeof (pdu),
"+12345678901", /* smsc */
"+18005551212", /* number */
- "2011-01-01T12:34:56+00:00", /* timestamp */
+ "2011-01-01T12:34:56Z", /* timestamp */
FALSE,
NULL, /* text */
expected_data, /* data */
@@ -293,7 +293,7 @@ test_pdu_dcsf1 (void)
pdu, sizeof (pdu),
"+33609001390", /* smsc */
"1800", /* number */
- "2011-06-24T13:08:15+02:00", /* timestamp */
+ "2011-06-24T13:08:15+02", /* timestamp */
FALSE,
"Info SFR - Confidentiel, à ne jamais transmettre -\r\n"
"Voici votre nouveau mot de passe : sw2ced pour gérer "
@@ -317,7 +317,7 @@ test_pdu_dcsf_8bit (void)
pdu, sizeof (pdu),
"+12345678901", /* smsc */
"+18005551212", /* number */
- "2011-01-01T12:34:56+00:00", /* timestamp */
+ "2011-01-01T12:34:56Z", /* timestamp */
FALSE,
NULL, /* text */
expected_data, /* data */
@@ -363,7 +363,7 @@ test_pdu_udhi (void)
hexpdu,
"+31653131316", /* smsc */
"1002", /* number */
- "2011-06-29T23:32:19+02:00", /* timestamp */
+ "2011-06-29T23:32:19+02", /* timestamp */
TRUE,
"Welkom, bel om uw Voicemail te beluisteren naar +31612001233"
" (PrePay: *100*1233#). Voicemail ontvangen is altijd gratis."
@@ -388,7 +388,7 @@ test_pdu_multipart (void)
hexpdu1,
"+12063130025", /* smsc */
"+16175046925", /* number */
- "2012-04-25T19:56:50-04:00", /* timestamp */
+ "2012-04-25T19:56:50-04", /* timestamp */
TRUE, /* multipart! */
"This is a very long test designed to exercise multi part capability. It should "
"show up as one message, not as two, as the underlying encoding represents ", /* text */
@@ -398,7 +398,7 @@ test_pdu_multipart (void)
hexpdu2,
"+12063130026", /* smsc */
"+16175046925", /* number */
- "2012-04-25T19:56:51-04:00", /* timestamp */
+ "2012-04-25T19:56:51-04", /* timestamp */
TRUE, /* multipart! */
"that the parts are related to one another. ", /* text */
NULL, 0);
@@ -431,7 +431,7 @@ test_pdu_not_stored (void)
hexpdu1,
"+34656000311", /* smsc */
"639337937", /* number */
- "2012-09-11T07:40:36+02:00", /* timestamp */
+ "2012-09-11T07:40:36+02", /* timestamp */
FALSE, /* multipart! */
NULL, /* text */
NULL, 0);