|
| | MAKE_GLIB_TEST_FIXTURE (SendRequestTest) |
| |
| void | resourceSentRequest (WebKitWebResource *resource, WebKitURIRequest *request, WebKitURIResponse *redirectResponse) |
| |
| void | resourceFailed (WebKitWebResource *resource, GError *error) |
| |
| void | setExpectedNewResourceURI (const CString &uri) |
| |
| void | setExpectedCancelledResourceURI (const CString &uri) |
| |
| void | setExpectedNewResourceURIAfterRedirection (const CString &uri) |
| |
| | MAKE_GLIB_TEST_FIXTURE (SingleResourceLoadTest) |
| |
| | SingleResourceLoadTest () |
| |
| void | resourceLoadStarted (WebKitWebResource *resource, WebKitURIRequest *request) |
| |
| void | resourceReceivedResponse (WebKitWebResource *resource) |
| |
| void | resourceReceivedData (WebKitWebResource *resource, guint64 bytesReceived) |
| |
| void | resourceFinished (WebKitWebResource *resource) |
| |
| void | waitUntilResourceLoadFinished () |
| |
| WebKitURIResponse * | waitUntilResourceLoadFinishedAndReturnURIResponse () |
| |
| | MAKE_GLIB_TEST_FIXTURE (ResourcesTest) |
| |
| void | clearSubresources () |
| |
| | ResourcesTest () |
| |
| | ~ResourcesTest () |
| |
| void | waitUntilResourcesLoaded (size_t resourcesCount) |
| |
| GList * | subresources () |
| |
| void | checkResourceData (WebKitWebResource *resource) |
| |
| | MAKE_GLIB_TEST_FIXTURE (WebViewTest) |
| |
| | WebViewTest () |
| |
| virtual | ~WebViewTest () |
| |
| void | initializeWebView () |
| |
| virtual void | loadURI (const char *uri) |
| |
| virtual void | loadHtml (const char *html, const char *baseURI) |
| |
| virtual void | loadPlainText (const char *plainText) |
| |
| virtual void | loadRequest (WebKitURIRequest *) |
| |
| virtual void | loadBytes (GBytes *, const char *mimeType, const char *encoding, const char *baseURI) |
| |
| void | loadAlternateHTML (const char *html, const char *contentURI, const char *baseURI) |
| |
| void | goBack () |
| |
| void | goForward () |
| |
| void | goToBackForwardListItem (WebKitBackForwardListItem *) |
| |
| void | quitMainLoop () |
| |
| void | quitMainLoopAfterProcessingPendingEvents () |
| |
| void | wait (double seconds) |
| |
| void | waitUntilLoadFinished () |
| |
| void | waitUntilTitleChangedTo (const char *expectedTitle) |
| |
| void | waitUntilTitleChanged () |
| |
| void | showInWindow (GtkWindowType=GTK_WINDOW_POPUP) |
| |
| void | showInWindowAndWaitUntilMapped (GtkWindowType=GTK_WINDOW_POPUP, int width=0, int height=0) |
| |
| void | resizeView (int width, int height) |
| |
| void | selectAll () |
| |
| const char * | mainResourceData (size_t &mainResourceDataSize) |
| |
| bool | isEditable () |
| |
| void | setEditable (bool) |
| |
| void | mouseMoveTo (int x, int y, unsigned mouseModifiers=0) |
| |
| void | clickMouseButton (int x, int y, unsigned button=1, unsigned mouseModifiers=0) |
| |
| void | keyStroke (unsigned keyVal, unsigned keyModifiers=0) |
| |
| void | emitPopupMenuSignal () |
| |
| WebKitJavascriptResult * | runJavaScriptAndWaitUntilFinished (const char *javascript, GError **) |
| |
| WebKitJavascriptResult * | runJavaScriptFromGResourceAndWaitUntilFinished (const char *resource, GError **) |
| |
| cairo_surface_t * | getSnapshotAndWaitUntilReady (WebKitSnapshotRegion, WebKitSnapshotOptions) |
| |
| bool | runWebProcessTest (const char *suiteName, const char *testName) |
| |
| void | initializeWebExtensions () final |
| |
| | MAKE_GLIB_TEST_FIXTURE (Test) |
| |
| | Test () |
| |
| | ~Test () |
| |
| void | assertObjectIsDeletedWhenTestFinishes (GObject *object) |
| |
| void | addLogFatalFlag (unsigned flag) |
| |
| void | removeLogFatalFlag (unsigned flag) |
| |
|
| enum | LoadEvents {
Started,
SentRequest,
Redirected,
ReceivedResponse,
ReceivedData,
Finished,
Failed
} |
| |
| enum | ResourcesDir { WebKit2GTKResources,
WebKit2Resources
} |
| |
| static void | resourceSentRequestCallback (WebKitWebResource *resource, WebKitURIRequest *request, WebKitURIResponse *redirectResponse, ResourcesTest *test) |
| |
| static void | resourceReceivedResponseCallback (WebKitWebResource *resource, GParamSpec *, ResourcesTest *test) |
| |
| static void | resourceReceivedDataCallback (WebKitWebResource *resource, guint64 bytesReceived, ResourcesTest *test) |
| |
| static void | resourceFinishedCallback (WebKitWebResource *resource, ResourcesTest *test) |
| |
| static void | resourceFailedCallback (WebKitWebResource *resource, GError *error, ResourcesTest *test) |
| |
| static void | resourceLoadStartedCallback (WebKitWebView *webView, WebKitWebResource *resource, WebKitURIRequest *request, ResourcesTest *test) |
| |
| static void | resourceGetDataCallback (GObject *object, GAsyncResult *result, gpointer userData) |
| |
| static char * | javascriptResultToCString (WebKitJavascriptResult *) |
| |
| static double | javascriptResultToNumber (WebKitJavascriptResult *) |
| |
| static bool | javascriptResultToBoolean (WebKitJavascriptResult *) |
| |
| static bool | javascriptResultIsNull (WebKitJavascriptResult *) |
| |
| static bool | javascriptResultIsUndefined (WebKitJavascriptResult *) |
| |
| static gboolean | webProcessCrashed (WebKitWebView *, WebViewTest *) |
| |
| static const char * | dataDirectory () |
| |
| static void | initializeWebExtensionsCallback (WebKitWebContext *context, Test *test) |
| |
| static void | objectFinalized (Test *test, GObject *finalizedObject) |
| |
| static CString | getResourcesDir (ResourcesDir resourcesDir=WebKit2GTKResources) |
| |
| static bool | cairoSurfacesEqual (cairo_surface_t *s1, cairo_surface_t *s2) |
| |
| static bool | shouldInitializeWebViewInConstructor = true |
| |
| static uint32_t | s_webExtensionID = 0 |
| |