[webkit-dev] testing question for code that calls abstract methods (like ChromeClient)

Darin Adler darin at apple.com
Wed May 27 17:44:28 PDT 2009


On May 27, 2009, at 4:11 PM, John Gregg wrote:

> What's a good strategy for testing WebKit code that calls out to the  
> ChromeClient interface or some other abstract interface? I can't  
> find anything obvious in the codebase-- is there any way to mock out  
> those calls for unit tests?

Typically we add features to DumpRenderTree that use the public  
interfaces on the various platforms to test such things.

     -- Darin



More information about the webkit-dev mailing list