Davide Pesavento
b7e72c3a0a
tests: use NullSignature
...
Change-Id: Icb8ff95905cfa2ba9d9a493d7a60b30a61a8d671
2020-10-02 20:00:03 -04:00
Davide Pesavento
51cf75c8f0
fw+table: use Interest::Nonce instead of uint32_t
...
Change-Id: I2a4b83696db80d2d0b675121da53a73c309e059c
2020-03-11 22:21:13 -04:00
Junxiao Shi
9d727857dc
tests: set CanBePrefix in daemon tests
...
This commit also updates makeInterest and makeNack functions
so that their APIs are compatible with ndn-cxx test suite.
refs #4581
Change-Id: I0c81740416c26a03450dc3a12c89944b72ce5901
2019-05-14 13:44:22 -06:00
Davide Pesavento
cf7db2fd83
tests: unit-tests-{core,tools} no longer require a global io_service
...
BaseFixture is moved to tests/daemon and renamed to GlobalIoFixture
Refs: #4528
Change-Id: If9184e9f7f1d6072b0103d3ea3ca6c31a9e505c8
2019-03-26 22:52:16 -04:00
Davide Pesavento
b7703adb88
tests: introduce ClockFixture
...
Identical to UnitTestTimeFixture, except that it does not derive
from BaseFixture, and thus does not depend on a global io_service.
Refs: #4528
Change-Id: Ia2e6c4835a1e461c73281e103109d5cc85be355e
2019-03-26 22:51:04 -04:00
Davide Pesavento
3dade00499
core+daemon: eliminate scheduler::{schedule,cancel} wrappers
...
Also move core/global-io.hpp to daemon/global.hpp
Refs: #4528 , #4883
Change-Id: I0b99029f1a19d7451aab57099cd3303b7eb42ff3
2019-03-19 11:29:56 -06:00
Junxiao Shi
d47cd63b1b
rib: put PrefixAnnouncement in Route and RibEntry
...
refs #4650
Change-Id: I03a846cd6e013d52f080bd7b092cd392b0284f88
2018-09-11 03:10:00 +00:00
Teng Liang
952d6fd3d7
core: add a facility to execute functions on the RIB io_service
...
refs #4279
Change-Id: I29222053348e5d1737d47c85a59d29280b4b791b
2018-08-05 14:12:14 -04:00
Junxiao Shi
fc2e13d58d
fw: replace Link with forwarding hint
...
Forwarding now processes forwarding hint on Interests,
and no longer considers the Link object.
refs #4055
Change-Id: I0331687ee8ec31afa2f1a105e903670689647c4d
2017-07-25 02:08:48 +00:00
Junxiao Shi
9954007722
fw: abstract Nack processing out of BestRouteStrategy2
...
refs #3176
Change-Id: Ib220269ff52acc47c65f854a610941afd862ad41
2017-01-27 19:57:33 +00:00
Junxiao Shi
d23de8b9ef
tests: don't inline functions in test-common.hpp
...
This commit also adds a signData(Data&) overload.
refs #1694
Change-Id: I8e3ff5be7c6734dec8b481d6c20eb6b6eaef0725
2016-07-23 20:05:42 +00:00