qt-interest@trolltech.com
[Top] [All Lists]

Re: unit testing for signals and slots

Subject: Re: unit testing for signals and slots
From: "Manjeet Dahiya"
Date: Wed, 31 Oct 2007 14:22:10 +0530
Hi,

> I still don't understand. Emitting a signal *will* call the respective 
> connected slot. Why test that? What are you after exactly?

Unit testing.
Please read about it, you will know. http://c2.com/cgi/wiki?UnitTest

Manjeet Dahiya


"Dimitri" <dimitri@xxxxxxxxxxxxx> wrote in message 
news:fg9743$d5k$1@xxxxxxxxxxxxxxxxxxxxx
> Hi,
>
>> I just want to test that emitting a signal calls the respective connected 
>> slot.
>
> I still don't understand. Emitting a signal *will* call the respective 
> connected slot. Why test that? What are you after exactly?
>
> I guess my problem is that I don't understand what is the "respective 
> connected slot" of a signal.
>
> --
> Dimitri 


--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>