[Qt-interest] QTest: Marking slots as not test functions

Murray Cumming murrayc at murrayc.com
Mon Feb 22 12:59:05 CET 2010


QTest assumes that all private slots are test functions that it should
call. That's rather strange, though I understand why it's reusing
QObject's introspection slot-introspection feature to list methods.

But I want to handle signals in my tests. For instance, how can I tell
QTest not my QTimer::singleShot() slot directly?

-- 
murrayc at murrayc.com
www.murrayc.com
www.openismus.com




More information about the Qt-interest-old mailing list