diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-05-31 21:53:52 +0300 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-05-31 21:53:52 +0300 |
commit | 737d688e5b173ef5155db3e4fc9e8debf9b33a11 (patch) | |
tree | 3fe6cd4aade797fc0c3b18d458834befd43a91cf /staging/smolblok/test/main.cpp | |
parent | staging: smolblok (diff) | |
download | smolbote-737d688e5b173ef5155db3e4fc9e8debf9b33a11.tar.xz |
enable smolblokstaging-smolblok
Build both HostlistFilter and AdblockFitler plugins by default.
Diffstat (limited to 'staging/smolblok/test/main.cpp')
-rw-r--r-- | staging/smolblok/test/main.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/staging/smolblok/test/main.cpp b/staging/smolblok/test/main.cpp deleted file mode 100644 index 5624ee9..0000000 --- a/staging/smolblok/test/main.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#define CATCH_CONFIG_MAIN - -#include "smolblok.hpp" -#include <catch2/catch.hpp> - -SCENARIO("smolblok") -{ - smolblok s; - - GIVEN("invalid plugins") - { - REQUIRE(!s.registerFormatPlugin("", "")); - REQUIRE(!s.registerFormatPlugin("Format", "missing.dll")); - } - - GIVEN("invalid subscriptions") - { - REQUIRE(!s.addSubscriptions("")); - REQUIRE(!s.addSubscriptions("missing.txt")); - } -} - |