[webkit-dev] Why are the mock implementations in WebCore/platform?
jorlow at chromium.org
Fri Nov 26 10:42:24 PST 2010
Note that it's still a bit of an open question as to where mocks should live
in general. IIRC, the top candidates are like device orientation and speech
do now, somehow in some central place but not compiled into production
libraries, or in DRT (which means more copied code, but the platform layers
will be better exercised).
It would be nice to get this resolved once and for all and get the code
On Fri, Nov 26, 2010 at 6:33 PM, Sam Weinig <sam.weinig at gmail.com> wrote:
> Just a general question as to why the decision was made to put the mock
> implementation classes (DeviceOrientationClientMock, GeolocationServiceMock
> and SpeechInputClientMock) beneath WebCore/platform. WebCore/platform is
> not supposed to know about classes outside of WebCore/platform in WebCore
> (such as DeviceOrientationController) and this seems to be perpetuating the
> laying violation. Perhaps a top-level WebCore/mock/ would be preferable.
> - Sam
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev