[SMS] Add test case for the PDU parsing
authorHolger Freyther <zecke@selfish.org>
Wed, 27 Aug 2008 14:17:56 +0000 (16:17 +0200)
committerHolger Freyther <zecke@selfish.org>
Wed, 27 Aug 2008 14:17:56 +0000 (16:17 +0200)
commit980968fa7e7362b5450c6d7b147e287efe3a20d8
tree0e17ddd1289d6f20e3dab685fa401ffb0a40f600
parent13101ab6ddaec380871ae8021a92140af526c4df
[SMS] Add test case for the PDU parsing
    Add the PDUs from https://docs.openmoko.org/trac/ticket/1728 and some other
    to test that the text and sender can be properly extracted.

    Currently we pass, so if Tick's change regressed some other PDU and we get
    a bug report we can fix it and make sure the other stuff does not break

./pdutest
********* Start testing of TestPDUParsing *********
Config: Using QTest library 4.3.4, Qt 4.3.4
PASS   : TestPDUParsing::initTestCase()
PASS   : TestPDUParsing::testPDUParsing()
PASS   : TestPDUParsing::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of TestPDUParsing *********
src/general.pri
src/tests/pdutest/pdutest.cpp [new file with mode: 0644]
src/tests/pdutest/pdutest.pro [new file with mode: 0644]