mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
fix: instantiate test environments
This commit is contained in:
parent
23dbe9f358
commit
4aab6ccf9b
@ -7,10 +7,14 @@ namespace webfuse_test
|
|||||||
class JanssonTestEnvironment: public ::testing::Environment
|
class JanssonTestEnvironment: public ::testing::Environment
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void SetUp()
|
~JanssonTestEnvironment() override { }
|
||||||
|
|
||||||
|
void SetUp() override
|
||||||
{
|
{
|
||||||
json_object_seed(0);
|
json_object_seed(0);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
#
|
|
||||||
|
::testing::Environment * const jansson_env = ::testing::AddGlobalTestEnvironment(new JanssonTestEnvironment());
|
||||||
|
|
||||||
}
|
}
|
@ -13,4 +13,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
::testing::Environment * const lws_env = ::testing::AddGlobalTestEnvironment(new LwsTestEnvironment());
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user