mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
27 lines
508 B
C++
27 lines
508 B
C++
|
|
#include "Plugin.h"
|
|
|
|
#include <zeek/3rdparty/doctest.h>
|
|
|
|
namespace btest::plugin::Demo_Doctest
|
|
{
|
|
Plugin plugin;
|
|
}
|
|
|
|
using namespace btest::plugin::Demo_Doctest;
|
|
|
|
zeek::plugin::Configuration Plugin::Configure()
|
|
{
|
|
zeek::plugin::Configuration config;
|
|
config.name = "Demo::Doctest";
|
|
config.description = "Run doctest in a unit-test enabled build";
|
|
config.version.major = 1;
|
|
config.version.minor = 0;
|
|
config.version.patch = 0;
|
|
return config;
|
|
}
|
|
|
|
TEST_CASE("doctest-plugin/demotest")
|
|
{
|
|
CHECK(true);
|
|
}
|