[webkit-dev] Chromium's TestRunner library is now a component!

Jochen Eisinger jochen at chromium.org
Mon Feb 11 05:38:53 PST 2013


Hi,

the TestRunner library used by chromium's DumpRenderTree is now a component
(i.e. it builds as a DLL on Windows). It defines all the test runner
objects such as testRunner or eventSender and is implemented entirely in
terms of the public chromium WebKit API (i.e. it has no dependencies on WTF
or WebCore, nor chromium's webkit_support for that matter).

If you need to add a method to e.g. eventSender, and it's only using the
public WebKit API, you can just add it to
Tools/DumpRenderTree/chromium/TestRunner/src/EventSender.cpp.

If your method needs to interact with a WebFrameClient or WebViewClient
callback or return a mock from such a callback, you can modify the
WebTestProxy, a template that is injected between the WebView / WebFrame
and the actual implementation in TestShell / ContentShell.

If you want to add something that depends on interactions with the embedder
(TestShell / ContentShell), you should add a callback to the
WebTestDelegate.

best
-jochen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130211/0b313153/attachment.html>


More information about the webkit-dev mailing list