summaryrefslogtreecommitdiff
path: root/hyprtester/src/tests/plugin/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hyprtester/src/tests/plugin/plugin.cpp')
-rw-r--r--hyprtester/src/tests/plugin/plugin.cpp10
1 files changed, 10 insertions, 0 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;
+}