That's an option I should have added to the list, you're right. It does mean we are not exercising the code that we're shipping, but it's probably better than nothing.
Milan On 2013-05-30, at 3:46 PM, Joe Drew <j...@mozilla.com> wrote: > 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 _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform