webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
TestWebKitAPI::Util Namespace Reference

Functions

std::string toSTD (NSString *string)
 
void run (bool *done)
 
void sleep (double seconds)
 
WKURLRef createURLForResource (const char *resource, const char *extension)
 
WKStringRef createInjectedBundlePath ()
 
WKURLRef URLForNonExistentResource ()
 
WKRetainPtr< WKStringRefMIMETypeForWKURLResponse (WKURLResponseRef wkResponse)
 
bool isKeyDown (WKNativeEventPtr event)
 
WKContextRef createContextWithInjectedBundle ()
 
WKDictionaryRef createInitializationDictionaryForInjectedBundleTest (const std::string &testName, WKTypeRef userData)
 
WKContextRef createContextForInjectedBundleTest (const std::string &testName, WKTypeRef userData)
 
std::string toSTD (WKStringRef string)
 
std::string toSTD (WKRetainPtr< WKStringRef > string)
 
WKRetainPtr< WKStringReftoWK (const char *utf8String)
 
std::string toSTD (const char *string)
 

Function Documentation

◆ createContextForInjectedBundleTest()

WKContextRef TestWebKitAPI::Util::createContextForInjectedBundleTest ( const std::string testName,
WKTypeRef  userData 
)

◆ createContextWithInjectedBundle()

WKContextRef TestWebKitAPI::Util::createContextWithInjectedBundle ( )

◆ createInitializationDictionaryForInjectedBundleTest()

WKDictionaryRef TestWebKitAPI::Util::createInitializationDictionaryForInjectedBundleTest ( const std::string testName,
WKTypeRef  userData 
)

◆ createInjectedBundlePath()

WKStringRef TestWebKitAPI::Util::createInjectedBundlePath ( )

◆ createURLForResource()

WKURLRef TestWebKitAPI::Util::createURLForResource ( const char *  resource,
const char *  extension 
)

◆ isKeyDown()

bool TestWebKitAPI::Util::isKeyDown ( WKNativeEventPtr  event)

◆ MIMETypeForWKURLResponse()

WKRetainPtr< WKStringRef > TestWebKitAPI::Util::MIMETypeForWKURLResponse ( WKURLResponseRef  wkResponse)

◆ run()

void TestWebKitAPI::Util::run ( bool *  done)

◆ sleep()

void TestWebKitAPI::Util::sleep ( double  seconds)

◆ toSTD() [1/4]

std::string TestWebKitAPI::Util::toSTD ( NSString string)

◆ toSTD() [2/4]

std::string TestWebKitAPI::Util::toSTD ( WKStringRef  string)

◆ toSTD() [3/4]

std::string TestWebKitAPI::Util::toSTD ( WKRetainPtr< WKStringRef string)

◆ toSTD() [4/4]

std::string TestWebKitAPI::Util::toSTD ( const char *  string)

◆ toWK()

WKRetainPtr<WKStringRef> TestWebKitAPI::Util::toWK ( const char *  utf8String)

◆ URLForNonExistentResource()

WKURLRef TestWebKitAPI::Util::URLForNonExistentResource ( )