mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
parent
a28dcb02fc
commit
c3fde98677
@ -79,8 +79,6 @@ BOOST_AUTO_TEST_CASE(object)
|
|||||||
{
|
{
|
||||||
PerfdataValue::Ptr pdv = make_shared<PerfdataValue>(100, true, "bytes");
|
PerfdataValue::Ptr pdv = make_shared<PerfdataValue>(100, true, "bytes");
|
||||||
|
|
||||||
std::cout << JsonSerialize(Serialize(pdv)) << std::endl;
|
|
||||||
|
|
||||||
PerfdataValue::Ptr result = Deserialize(Serialize(pdv));
|
PerfdataValue::Ptr result = Deserialize(Serialize(pdv));
|
||||||
|
|
||||||
BOOST_CHECK(result->GetValue() == pdv->GetValue());
|
BOOST_CHECK(result->GetValue() == pdv->GetValue());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user