Forwarder persistent loop test case: use UnitTestClock
FwForwarder/Bug1953 test case to use UnitTestClock, and C++11 features such as lambda expression.
Rename it to
#3 Updated by Junxiao Shi almost 5 years ago
- Status changed from Code review to In Progress
- % Done changed from 100 to 40
- Estimated time changed from 0.50 h to 1.50 h
There's a design problem of how
io_service could be called when clock is mocked.
I'll work on this after I have sufficient understanding of the problem addressed in http://gerrit.named-data.net/1441
#4 Updated by Junxiao Shi almost 5 years ago
The fixture has appeared in ndn-cxx d3a55b29ece1df247ec7fc01771332ebd678cb2f.
I'm requesting approval of importing this code http://www.lists.cs.ucla.edu/pipermail/nfd-dev/2014-November/000623.html
#5 Updated by Junxiao Shi almost 5 years ago
Importing UnitTestTimeFixture from ndn-cxx has been approved http://www.lists.cs.ucla.edu/pipermail/nfd-dev/2014-November/000626.html.
Work on this Task is now resumed.
There is a suggestion of letting
LimitedIo recognize mocked clocks.
However, this isn't necessary for this test case, so I'll do that in another Task if that test case needs this.