Lines Matching defs:TestController
27 #include "TestController.h"
50 static TestController* controller;
52 TestController& TestController::shared()
58 TestController::TestController(int argc, const char* argv[])
76 TestController::~TestController()
82 PlatformWebView* view = static_cast<TestController*>(const_cast<void*>(clientInfo))->mainWebView();
88 PlatformWebView* view = static_cast<TestController*>(const_cast<void*>(clientInfo))->mainWebView();
117 void TestController::runModal(WKPageRef page, const void* clientInfo)
129 WKPageRef TestController::createOtherPage(WKPageRef oldPage, WKDictionaryRef, WKEventModifiers, WKEventMouseButton, const void*)
183 const char* TestController::libraryPathForTesting()
195 void TestController::initialize(int argc, const char* argv[])
347 bool TestController::resetStateToConsistentValues()
352 WKContextPostMessageToInjectedBundle(TestController::shared().context(), messageName.get(), 0);
395 bool TestController::runTest(const char* test)
423 void TestController::runTestingServerLoop()
439 void TestController::run()
451 void TestController::runUntil(bool& done, TimeoutDuration timeoutDuration)
458 void TestController::didReceiveMessageFromInjectedBundle(WKContextRef context, WKStringRef messageName, WKTypeRef messageBody, const void* clientInfo)
460 static_cast<TestController*>(const_cast<void*>(clientInfo))->didReceiveMessageFromInjectedBundle(messageName, messageBody);
463 void TestController::didReceiveSynchronousMessageFromInjectedBundle(WKContextRef context, WKStringRef messageName, WKTypeRef messageBody, WKTypeRef* returnData, const void* clientInfo)
465 *returnData = static_cast<TestController*>(const_cast<void*>(clientInfo))->didReceiveSynchronousMessageFromInjectedBundle(messageName, messageBody).leakRef();
468 void TestController::didReceiveMessageFromInjectedBundle(WKStringRef messageName, WKTypeRef messageBody)
475 WKRetainPtr<WKTypeRef> TestController::didReceiveSynchronousMessageFromInjectedBundle(WKStringRef messageName, WKTypeRef messageBody)
482 void TestController::didFinishLoadForFrame(WKPageRef page, WKFrameRef frame, WKTypeRef, const void* clientInfo)
484 static_cast<TestController*>(const_cast<void*>(clientInfo))->didFinishLoadForFrame(page, frame);
487 void TestController::processDidCrash(WKPageRef page, const void* clientInfo)
489 static_cast<TestController*>(const_cast<void*>(clientInfo))->processDidCrash();
492 void TestController::didFinishLoadForFrame(WKPageRef page, WKFrameRef frame)
508 void TestController::processDidCrash()