summaryrefslogtreecommitdiff
path: root/hyprtester/src/tests/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'hyprtester/src/tests/plugin')
-rw-r--r--hyprtester/src/tests/plugin/plugin.cpp10
-rw-r--r--hyprtester/src/tests/plugin/plugin.hpp3
2 files changed, 12 insertions, 1 deletions
diff --git a/hyprtester/src/tests/plugin/plugin.cpp b/hyprtester/src/tests/plugin/plugin.cpp
index 94470d6f..ffcc351a 100644
--- a/hyprtester/src/tests/plugin/plugin.cpp
+++ b/hyprtester/src/tests/plugin/plugin.cpp
@@ -19,3 +19,13 @@ bool testPlugin() {
}
return true;
}
+
+bool testVkb() {
+ const auto RESPONSE = getFromSocket("/dispatch plugin:test:vkb");
+
+ if (RESPONSE != "ok") {
+ NLog::log("{}Vkb tests failed, tests returned:\n{}{}", Colors::RED, Colors::RESET, RESPONSE);
+ return false;
+ }
+ return true;
+}
diff --git a/hyprtester/src/tests/plugin/plugin.hpp b/hyprtester/src/tests/plugin/plugin.hpp
index bd93c087..1766c66e 100644
--- a/hyprtester/src/tests/plugin/plugin.hpp
+++ b/hyprtester/src/tests/plugin/plugin.hpp
@@ -1,3 +1,4 @@
#pragma once
-bool testPlugin(); \ No newline at end of file
+bool testPlugin();
+bool testVkb();