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/unix-stream-transport.t.cpp b/tests/daemon/face/unix-stream-transport.t.cpp
index 5049678..32142eb 100644
--- a/tests/daemon/face/unix-stream-transport.t.cpp
+++ b/tests/daemon/face/unix-stream-transport.t.cpp
@@ -24,6 +24,7 @@
*/
#include "face/unix-stream-transport.hpp"
+#include "transport-properties.hpp"
#include "tests/test-common.hpp"
#include <boost/filesystem.hpp>
@@ -88,6 +89,7 @@
BOOST_CHECK(connectToAcceptor(acceptor1, sock1, sock2));
UnixStreamTransport transport(std::move(sock1));
+ checkStaticPropertiesInitialized(transport);
BOOST_CHECK_EQUAL(transport.getLocalUri().getScheme(), "unix");
BOOST_CHECK_EQUAL(transport.getLocalUri().getHost(), "");