api: Use new callback interfaces
Change-Id: I1871df54c3061c0c8d5765ff69207b8307bc7569
diff --git a/tests/test_socket.cc b/tests/test_socket.cc
index fd17c44..60a87f3 100644
--- a/tests/test_socket.cc
+++ b/tests/test_socket.cc
@@ -138,14 +138,14 @@
class TestSet1{
public:
TestSet1(ndn::shared_ptr<boost::asio::io_service> ioService)
- : m_syncPrefix("/let/us/sync")
- , m_validator(new ndn::ValidatorNull())
+ : m_validator(new ndn::ValidatorNull())
, m_face1(new ndn::Face(ioService))
, m_face2(new ndn::Face(ioService))
, m_face3(new ndn::Face(ioService))
, m_p1("/irl.cs.ucla.edu")
, m_p2("/yakshi.org")
, m_p3("/google.com")
+ , m_syncPrefix("/let/us/sync")
{}
void
@@ -250,12 +250,12 @@
class TestSet2{
public:
TestSet2(ndn::shared_ptr<boost::asio::io_service> ioService)
- : m_syncPrefix("/this/is/the/prefix")
- , m_validator(new ndn::ValidatorNull())
+ : m_validator(new ndn::ValidatorNull())
, m_face1(new ndn::Face(ioService))
, m_face2(new ndn::Face(ioService))
, m_p1("/xiaonei.com")
, m_p2("/mitbbs.com")
+ , m_syncPrefix("/this/is/the/prefix")
{}
void