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 values be reached? If the users 
can't reach them, then you don't have to test them.

Otherwise, you can just declare your test class as a friend of the main class.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to