It's a confusing situation i'm in. While testing state transitions for a QStateMachine, the following code fails to spy on the signal that causes the ...
It's a confusing situation i'm in. While testing state transitions for a QStateMachine, the following code fails to spy on the signal that causes the ...
I'm currently coding some unit tests for one of my classes. However, I quickly ran into an issue. It seems that QSignalSpy sometimes does not catch th ...
I have some class which can emit some signal with another my class. Example: I wrote unix test for CMainClass: header: Source: But, in log f ...
I am writing a QTest based test case for a class that derives from QWidget. After showing the widget, I want the test to end as soon as the widget is ...
I would like to test a Qt piece of code that is using signals/slots with std::shared_ptr as parameters. My issue is that the QSignalSpy class, that w ...
I'm writing a C++ class ScriptProcess, meant to be used in QML, that acts as an interface to a child process. Said child process loads a script, then ...
I wrote a thread that executes a worker object. Everything works fine. Also the resulting signals are emitted as they should. Of course I took care of ...
I defined some signals which are emitted on different occasions: Now I would just like to see how these signals look like and if the parameters are ...