From 9cc72e8ea9f59f9a9627d05528d54a559ebd412c Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 23 Mar 2025 18:27:52 +0530 Subject: Fix segfault with luaruntime destructor --- spec/WebViewStackSpec.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'spec/WebViewStackSpec.cpp') 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") { -- cgit v1.3.1