#include <WebViewTest.h>
|
| 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) |
|
◆ WebViewTest()
WebViewTest::WebViewTest |
( |
| ) |
|
◆ ~WebViewTest()
WebViewTest::~WebViewTest |
( |
| ) |
|
|
virtual |
◆ clickMouseButton()
void WebViewTest::clickMouseButton |
( |
int |
x, |
|
|
int |
y, |
|
|
unsigned |
button = 1 , |
|
|
unsigned |
mouseModifiers = 0 |
|
) |
| |
◆ emitPopupMenuSignal()
void WebViewTest::emitPopupMenuSignal |
( |
| ) |
|
◆ getSnapshotAndWaitUntilReady()
◆ goBack()
void WebViewTest::goBack |
( |
| ) |
|
◆ goForward()
void WebViewTest::goForward |
( |
| ) |
|
◆ goToBackForwardListItem()
◆ initializeWebExtensions()
void WebViewTest::initializeWebExtensions |
( |
| ) |
|
|
inlinefinalvirtual |
◆ initializeWebView()
void WebViewTest::initializeWebView |
( |
| ) |
|
◆ isEditable()
bool WebViewTest::isEditable |
( |
| ) |
|
◆ javascriptResultIsNull()
◆ javascriptResultIsUndefined()
◆ javascriptResultToBoolean()
◆ javascriptResultToCString()
◆ javascriptResultToNumber()
◆ keyStroke()
void WebViewTest::keyStroke |
( |
unsigned |
keyVal, |
|
|
unsigned |
keyModifiers = 0 |
|
) |
| |
◆ loadAlternateHTML()
void WebViewTest::loadAlternateHTML |
( |
const char * |
html, |
|
|
const char * |
contentURI, |
|
|
const char * |
baseURI |
|
) |
| |
◆ loadBytes()
void WebViewTest::loadBytes |
( |
GBytes * |
bytes, |
|
|
const char * |
mimeType, |
|
|
const char * |
encoding, |
|
|
const char * |
baseURI |
|
) |
| |
|
virtual |
◆ loadHtml()
void WebViewTest::loadHtml |
( |
const char * |
html, |
|
|
const char * |
baseURI |
|
) |
| |
|
virtual |
◆ loadPlainText()
void WebViewTest::loadPlainText |
( |
const char * |
plainText | ) |
|
|
virtual |
◆ loadRequest()
◆ loadURI()
void WebViewTest::loadURI |
( |
const char * |
uri | ) |
|
|
virtual |
◆ mainResourceData()
const char * WebViewTest::mainResourceData |
( |
size_t & |
mainResourceDataSize | ) |
|
◆ MAKE_GLIB_TEST_FIXTURE()
◆ mouseMoveTo()
void WebViewTest::mouseMoveTo |
( |
int |
x, |
|
|
int |
y, |
|
|
unsigned |
mouseModifiers = 0 |
|
) |
| |
◆ quitMainLoop()
void WebViewTest::quitMainLoop |
( |
| ) |
|
◆ quitMainLoopAfterProcessingPendingEvents()
void WebViewTest::quitMainLoopAfterProcessingPendingEvents |
( |
| ) |
|
◆ resizeView()
void WebViewTest::resizeView |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
◆ runJavaScriptAndWaitUntilFinished()
WebKitJavascriptResult * WebViewTest::runJavaScriptAndWaitUntilFinished |
( |
const char * |
javascript, |
|
|
GError ** |
error |
|
) |
| |
◆ runJavaScriptFromGResourceAndWaitUntilFinished()
WebKitJavascriptResult * WebViewTest::runJavaScriptFromGResourceAndWaitUntilFinished |
( |
const char * |
resource, |
|
|
GError ** |
error |
|
) |
| |
◆ runWebProcessTest()
bool WebViewTest::runWebProcessTest |
( |
const char * |
suiteName, |
|
|
const char * |
testName |
|
) |
| |
◆ selectAll()
void WebViewTest::selectAll |
( |
| ) |
|
◆ setEditable()
void WebViewTest::setEditable |
( |
bool |
editable | ) |
|
◆ showInWindow()
void WebViewTest::showInWindow |
( |
GtkWindowType |
windowType = GTK_WINDOW_POPUP | ) |
|
◆ showInWindowAndWaitUntilMapped()
void WebViewTest::showInWindowAndWaitUntilMapped |
( |
GtkWindowType |
windowType = GTK_WINDOW_POPUP , |
|
|
int |
width = 0 , |
|
|
int |
height = 0 |
|
) |
| |
◆ wait()
void WebViewTest::wait |
( |
double |
seconds | ) |
|
◆ waitUntilLoadFinished()
void WebViewTest::waitUntilLoadFinished |
( |
| ) |
|
◆ waitUntilTitleChanged()
void WebViewTest::waitUntilTitleChanged |
( |
| ) |
|
◆ waitUntilTitleChangedTo()
void WebViewTest::waitUntilTitleChangedTo |
( |
const char * |
expectedTitle | ) |
|
◆ webProcessCrashed()
◆ m_activeURI
CString WebViewTest::m_activeURI |
◆ m_expectedTitle
CString WebViewTest::m_expectedTitle |
◆ m_expectedWebProcessCrash
bool WebViewTest::m_expectedWebProcessCrash { false } |
◆ m_javascriptError
GError** WebViewTest::m_javascriptError { nullptr } |
◆ m_javascriptResult
◆ m_mainLoop
◆ m_parentWindow
GtkWidget* WebViewTest::m_parentWindow { nullptr } |
◆ m_resourceData
GUniquePtr<char> WebViewTest::m_resourceData { nullptr } |
◆ m_resourceDataSize
size_t WebViewTest::m_resourceDataSize { 0 } |
◆ m_surface
◆ m_userContentManager
◆ m_webView
◆ shouldInitializeWebViewInConstructor
bool WebViewTest::shouldInitializeWebViewInConstructor = true |
|
static |
The documentation for this class was generated from the following files: