Debian Codegraph @

hyprtester/src/tests/misc/plugin.cpp

raw
1 #include "tests.hpp"
2
3 #include "../../shared.hpp"
4 #include "../../hyprctlCompat.hpp"
5 #include "../../Log.hpp"
6
7 TEST_CASE(plugin) {
8 const auto RESPONSE = getFromSocket("/eval hl.plugin.test.test()");
9
10 if (RESPONSE != "ok")
11 FAIL_TEST("Plugin tests failed, plugin returned:\n{}", RESPONSE);
12 }
13
14 TEST_CASE(pluginVkb) {
15 const auto RESPONSE = getFromSocket("/eval hl.plugin.test.vkb()");
16
17 if (RESPONSE != "ok")
18 FAIL_TEST("Vkb tests failed, tests returned:\n{}", RESPONSE);
19 }