tests: follow DummyClientFace namespace change
Change-Id: Ia2ca95d8621e264747b299d1ecd5405bca0dd5af
diff --git a/tests/unit-tests/test-socket.cpp b/tests/unit-tests/test-socket.cpp
index 67f1c3e..3cde914 100644
--- a/tests/unit-tests/test-socket.cpp
+++ b/tests/unit-tests/test-socket.cpp
@@ -1,6 +1,6 @@
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
/*
- * Copyright (c) 2012-2022 University of California, Los Angeles
+ * Copyright (c) 2012-2023 University of California, Los Angeles
*
* This file is part of ChronoSync, synchronization library for distributed realtime
* applications for NDN.
@@ -28,7 +28,6 @@
namespace test {
using std::string;
-using ndn::util::DummyClientFace;
/**
* @brief Emulate an app that use the Socket class
@@ -41,7 +40,7 @@
public:
SocketTestApp(const Name& syncPrefix,
const Name& userPrefix,
- DummyClientFace& face,
+ ndn::DummyClientFace& face,
bool isNum)
: sum(0)
, socket(syncPrefix,
@@ -155,9 +154,9 @@
userPrefix[1] = Name("/user1");
userPrefix[2] = Name("/user2");
- faces[0].reset(new DummyClientFace(io, {true, true}));
- faces[1].reset(new DummyClientFace(io, {true, true}));
- faces[2].reset(new DummyClientFace(io, {true, true}));
+ faces[0].reset(new ndn::DummyClientFace(io, {true, true}));
+ faces[1].reset(new ndn::DummyClientFace(io, {true, true}));
+ faces[2].reset(new ndn::DummyClientFace(io, {true, true}));
for (int i = 0; i < 3; i++) {
readInterestOffset[i] = 0;
@@ -239,7 +238,7 @@
Name userPrefix[3];
Name sessionName[3];
- std::unique_ptr<DummyClientFace> faces[3];
+ std::unique_ptr<ndn::DummyClientFace> faces[3];
shared_ptr<SocketTestApp> app[3];
size_t readInterestOffset[3];