-
1 Attachment(s)
UNit Testing
Dear All,
Attachment 6338
I've written a sample unit testing application.
There is a push button. On clicking this button QMessageBox should be opened. Can any body check my application and tell if the code is write or wron. This app us target for Linux (Ubuntu).
-
Re: UNit Testing
hi Qt_Kid,
add Q_OBJECT in CSample. and in testCase1 why you are using QTest::mouseRelease.
It should be QTest::mouseClick
This should work.
hope it helps,
Bala
-
Re: UNit Testing
Thank you very much. Its wrking nw