diff options
Diffstat (limited to 'WebKitTools/WebKitTestRunner/mac/TestControllerMac.mm')
-rw-r--r-- | WebKitTools/WebKitTestRunner/mac/TestControllerMac.mm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/WebKitTools/WebKitTestRunner/mac/TestControllerMac.mm b/WebKitTools/WebKitTestRunner/mac/TestControllerMac.mm index 1a71b5d..dbe35e2 100644 --- a/WebKitTools/WebKitTestRunner/mac/TestControllerMac.mm +++ b/WebKitTools/WebKitTestRunner/mac/TestControllerMac.mm @@ -45,4 +45,14 @@ void TestController::initializeTestPluginDirectory() m_testPluginDirectory.adopt(WKStringCreateWithCFString((CFStringRef)[[NSBundle mainBundle] bundlePath])); } +void TestController::runUntil(bool& done) +{ + while (!done) + [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]]; +} + +void TestController::platformInitializeContext() +{ +} + } // namespace WTR |