Re: [Interest] Fwd: Is there a way to mock the QNAM?

2013-09-07 Thread Alejandro Exojo
El Martes, 3 de septiembre de 2013, André Somers escribió: It's an example of good API design, if you ask me: the public API to use is not the same as the (protected) API to extend the class. These are different tasks, and they should have a different API. I'm not the original poster, but,

Re: [Interest] Fwd: Is there a way to mock the QNAM?

2013-09-07 Thread Richard Moore
On 7 September 2013 10:58, Alejandro Exojo s...@badopi.org wrote: El Martes, 3 de septiembre de 2013, André Somers escribió: It's an example of good API design, if you ask me: the public API to use is not the same as the (protected) API to extend the class. These are different tasks, and they

Re: [Interest] Fwd: Is there a way to mock the QNAM?

2013-09-03 Thread Philipp Kursawe
Great! Spacibo ;) I had not seen that in the docs. On Tue, Sep 3, 2013 at 10:05 AM, Konstantin Tokarev annu...@yandex.ru wrote: 03.09.2013, 11:59, Philipp Kursawe phil.kurs...@gmail.com: I did not find a way to write unit-tests for my QNAM based code. My objects take a QNAM and perform