| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 1 | |
HI, I have to do unit testing for QT applications. In the Qtest lib manual currently given examples are for standard classes such as QString, QLineEdit. But I need to be able to do the same for customized user-defined classes. Can any one give an test example that test your customized classes other than QT classes Regards Naveen The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
On Wednesday 04 July 2007 20:34, naveen.kmrvm@xxxxxxxxx wrote: > I have to do unit testing for QT applications. In the Qtest lib manual > currently given examples are for standard classes such as QString, > QLineEdit. But I need to be able to do the same for customized > user-defined classes. It is the same. > Can any one give an test example that test your customized classes other > than QT classes Here is a trivial example: http://websvn.kde.org/trunk/kdesupport/qca/unittest/keylengthunittest/keylengthunittest.cpp?revision=594727&view=markup There are a few more here, and in other parts of KDE's subversion archive. http://websvn.kde.org/trunk/kdesupport/qca/unittest/ Don't worry - its just the same as the examples you've already got. Brad
Attachment:
Attachment:
pgpa8WDT9aHVy.pgp
Description: PGP signature