diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-03-23 18:27:52 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-03-23 18:34:50 +0530 |
| commit | 9cc72e8ea9f59f9a9627d05528d54a559ebd412c (patch) | |
| tree | 7007e42dbbd003f6c57d90d35b175983a2e829b7 /spec/WebViewStackSpec.cpp | |
| parent | 18b3e4939931c0d2bf779d2e52cb0c90e282ec97 (diff) | |
| download | null-browser-9cc72e8ea9f59f9a9627d05528d54a559ebd412c.tar.gz null-browser-9cc72e8ea9f59f9a9627d05528d54a559ebd412c.zip | |
Fix segfault with luaruntime destructor
Diffstat (limited to '')
| -rw-r--r-- | spec/WebViewStackSpec.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/WebViewStackSpec.cpp b/spec/WebViewStackSpec.cpp index 040fb8f..0cd58ed 100644 --- a/spec/WebViewStackSpec.cpp +++ b/spec/WebViewStackSpec.cpp @@ -18,7 +18,7 @@ class WebViewStackSpec : public QObject { }; private slots: - void testInitialState() { + void test_initial_state() { context("when initialized"); it("opens a single tab") { Configuration configuration; @@ -30,7 +30,7 @@ private slots: } } - void testOpenUrl() { + void test_open_url() { context("when openUrl is called without an open type"); it("replaces current tab url with newtab url") { Configuration configuration; @@ -79,7 +79,7 @@ private slots: } } - void testNextNavigation() { + void test_next_navigation() { context("when nextWebView is called"); context("- and there is only 1 tab"); it("does nothing") { @@ -122,7 +122,7 @@ private slots: } } - void testPreviousNavigation() { + void test_previous_navigation() { context("when previousWebView is called"); context("- and there is only 1 tab"); it("does nothing") { @@ -165,7 +165,7 @@ private slots: } } - void testCloseWebView() { + void test_close_web_view() { context("when closeWebView is called"); context("- with out of bounds index"); it("does nothing") { @@ -241,7 +241,7 @@ private slots: } } - void testNewWindowRequestSignal() { + void test_new_window_request_signal() { context("when webview emits a newWindowRequested signal"); context("- of type new tab"); it("opens a new web view and focusses it") { |
