face: Implementation of encode/decode of LocalControlHeader
LocalControlHeader can only be used on faces that are derived from
LocalFace. UnixStreamFace is directly inherited from LocalFace,
TCP face has two specializations: generic TcpFace (strictly not local),
and LocalTcpFace.
refs #1213
Change-Id: I8a158c3bc4bb929eedd15757cfddecc0d1049f9f
diff --git a/tests/face/face.cpp b/tests/face/face.cpp
index 07e3fb4..3fb4ea4 100644
--- a/tests/face/face.cpp
+++ b/tests/face/face.cpp
@@ -5,6 +5,7 @@
*/
#include "face/face.hpp"
+#include "face/local-face.hpp"
#include "dummy-face.hpp"
#include <boost/test/unit_test.hpp>
@@ -22,7 +23,7 @@
BOOST_AUTO_TEST_CASE(LocalControlHeaderEnabled)
{
- DummyFace face;
+ DummyLocalFace face;
BOOST_CHECK_EQUAL(face.isLocalControlHeaderEnabled(), false);