mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00

This largely copies over Spicy's `.clang-format` configuration file. The one place where we deviate is header include order since Zeek depends on headers being included in a certain order.
22 lines
522 B
C++
22 lines
522 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); }
|