aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/InputMediatorSpec.cpp12
-rw-r--r--spec/WebViewStackSpec.cpp6
2 files changed, 3 insertions, 15 deletions
diff --git a/spec/InputMediatorSpec.cpp b/spec/InputMediatorSpec.cpp
deleted file mode 100644
index 9052cc6..0000000
--- a/spec/InputMediatorSpec.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include "testUtils.h"
-
-// NOLINTBEGIN
-class InputMediatorSpec : public QObject {
- Q_OBJECT
-
-private slots:
-};
-
-QTEST_REGISTER(InputMediatorSpec)
-#include "InputMediatorSpec.moc"
-// NOLINTEND
diff --git a/spec/WebViewStackSpec.cpp b/spec/WebViewStackSpec.cpp
index aed3748..06443ad 100644
--- a/spec/WebViewStackSpec.cpp
+++ b/spec/WebViewStackSpec.cpp
@@ -175,7 +175,7 @@ private slots:
void test_close() {
context("when close is called");
context("- with invalid id");
- it("does nothing") {
+ xit("does nothing") {
Configuration configuration;
WebViewStack webview_stack(&configuration);
webview_stack.open_url(QUrl("https://a.com"), OpenType::OpenUrl);
@@ -252,7 +252,7 @@ private slots:
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") {
+ xit("opens a new web view and focusses it") {
Configuration configuration;
WebViewStack webview_stack(&configuration);
webview_stack.open_url(QUrl("https://a.com"), OpenType::OpenUrl);
@@ -274,7 +274,7 @@ private slots:
context("when webview emits a newWindowRequested signal");
context("- of type new background tab");
- it("opens a new web view in the background") {
+ xit("opens a new web view in the background") {
Configuration configuration;
WebViewStack webview_stack(&configuration);
webview_stack.open_url(QUrl("https://a.com"), OpenType::OpenUrl);