Re: Question about Qt tests

2014-02-16 Thread Thiago Macieira
Em dom 16 fev 2014, às 06:38:35, Michael Stemle escreveu: > So, I'm still getting used to the dpointer paradigm. Is anybody familiar > with how to use QTest to simulate code paths dependent on values in the > dpointer which have no exposed mutators? If they have no exposed mutators, can those valu

Re: Question about Qt tests

2014-02-16 Thread Kevin Krammer
On Sunday, 2014-02-16, 06:38:35, Michael Stemle wrote: > So, I'm still getting used to the dpointer paradigm. Is anybody familiar > with how to use QTest to simulate code paths dependent on values in the > dpointer which have no exposed mutators? > > For instance, I have QApt::Transaction which ha

Question about Qt tests

2014-02-16 Thread Michael Stemle
So, I'm still getting used to the dpointer paradigm. Is anybody familiar with how to use QTest to simulate code paths dependent on values in the dpointer which have no exposed mutators? For instance, I have QApt::Transaction which has its dpointer, and its dpointer has a property "error". This pro