mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
20 lines
372 B
C++
20 lines
372 B
C++
#include <gtest/gtest.h>
|
|
#include <jansson.h>
|
|
|
|
namespace webfuse_test
|
|
{
|
|
|
|
class JanssonTestEnvironment: public ::testing::Environment
|
|
{
|
|
public:
|
|
~JanssonTestEnvironment() override { }
|
|
|
|
void SetUp() override
|
|
{
|
|
json_object_seed(0);
|
|
}
|
|
};
|
|
|
|
::testing::Environment * const jansson_env = ::testing::AddGlobalTestEnvironment(new JanssonTestEnvironment());
|
|
|
|
} |