face: change Transport static properties initialization
Transport constructor now initializes static properties to invalid values.
Subclass constructor must explicitly set every static property.
refs #3259
Change-Id: I7ac3819694e0772c33a8a5d573e260f0eb944bff
diff --git a/tests/daemon/face/multicast-udp-transport.t.cpp b/tests/daemon/face/multicast-udp-transport.t.cpp
index e895970..457cb4a 100644
--- a/tests/daemon/face/multicast-udp-transport.t.cpp
+++ b/tests/daemon/face/multicast-udp-transport.t.cpp
@@ -24,6 +24,7 @@
*/
#include "face/multicast-udp-transport.hpp"
+#include "transport-properties.hpp"
#include "tests/test-common.hpp"
@@ -53,6 +54,7 @@
MulticastUdpTransport transport(sockRx.local_endpoint(),
udp::endpoint(ip::address::from_string("230.15.19.47"), 7001),
std::move(sockRx), std::move(sockTx));
+ checkStaticPropertiesInitialized(transport);
BOOST_CHECK_EQUAL(transport.getLocalUri(), FaceUri("udp4://127.0.0.1:7001"));
BOOST_CHECK_EQUAL(transport.getRemoteUri(), FaceUri("udp4://230.15.19.47:7001"));