On 2013-05-30 3:14 PM, Milan Sreckovic wrote:
I'm thinking C++, I imagine JS may have different answers or suggestions.

Do we have a precedent or a preferred approach when unit testing requires 
changes or additions to the code?

I've needed to do this in the past and resorted to an entirely different interface (imgIContainerDebug <http://mxr.mozilla.org/mozilla-central/source/image/public/imgIContainerDebug.idl>, only implemented in debug builds) to expose my unit test bits. I don't know what others have done, though!

joe
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to