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
Junxiao Shi
4e837f8d12
table: limit prefix length in StrategyChoice
...
refs #4262
Change-Id: Iddebeb555b2f3315515a298f8cded353fb51854d
2017-10-02 22:14:43 +00:00
Junxiao Shi
55e21b9e17
table: clear StrategyInfo only if Strategy type differs
...
refs #3868
Change-Id: I164ccba3bd6c69cef9d2ebba303f8d8d941aac99
2017-01-25 09:29:02 -05:00
Junxiao Shi
530cf00d68
table: StrategyChoice::insert return value includes error description
...
The error description is used in the response to a strategy-choice/set
management command failure.
refs #3868
Change-Id: I14e0eb4dc311806a90ebfe60fa17177d2809d104
2017-01-03 14:43:16 +00:00
Junxiao Shi
91f6ee0c72
fw: instantiate strategy of next higher version
...
When an exact strategy version is unavailable, strategy registry now
instantiates the next higher version which can offer backwards compatibility.
All existing strategies do not support other versions.
refs #3868
Change-Id: Id2cf9ae3a1fa078ce8be815eea9396f5aa81ecbb
2016-12-29 21:44:44 +00:00
Junxiao Shi
7f566dd0e5
table: StrategyChoice no longer supports installed instances
...
All strategies should be registered in the strategy registry.
refs #3868
Change-Id: Ie89b0ffaf9943e591f9f2d80546b013d5cc16ff8
2016-12-27 02:28:31 +00:00
Junxiao Shi
4cb74319f9
fw: delete deprecated Strategy::getName in favor of getInstanceName
...
This commit also renames strategy_choice::Entry::getStrategyName
to getStrategyInstanceName.
refs #3868
Change-Id: I40301e744fc236918d6be1c1262eba952198e22f
2016-12-25 20:48:47 +00:00
Junxiao Shi
3aba7548f4
table: make FIB and StrategyChoice iterators default-constructible
...
They were previously not default-constructible when compiled with gcc 4.8.4.
refs #3882
Change-Id: I2431c869fb61b7adbe83d5551705981bf8618280
2016-12-24 02:42:52 +00:00
Junxiao Shi
0e4a1f112d
tests: register instead of install DummyStrategy
...
refs #3868
Change-Id: I5e44582625be51ef874e2a92e4bb7cc22d5b607b
2016-12-24 02:39:01 +00:00
Junxiao Shi
18739c4ac1
fw: pass parameters to Strategy subclass constructors
...
refs #3868
Change-Id: I1a09e7353c047d548065c4ed669d1f7993676428
2016-12-22 08:03:00 +00:00
Junxiao Shi
5b3feb6008
table: rename StrategyInfoHost::getOrCreateStrategyInfo to insertStrategyInfo
...
refs #3205
Change-Id: Icd3ab9e4fdb5a2ffc39a8d0e0c713e22f13fe28c
2016-08-19 01:51:41 +00:00
Junxiao Shi
80f9fcdaa1
table: don't use shared_ptr in Measurements
...
refs #3164
Change-Id: I7705d00ac155b15b5db69809610b68e96360a0ae
2016-07-24 22:52:28 -07:00
Junxiao Shi
a49a1abf12
table: StrategyChoice uses unique_ptr instead of shared_ptr
...
refs #3164
Change-Id: Id3110f72aab83982b0768e596a04bad9f7336975
2016-07-15 18:24:36 +00:00
Junxiao Shi
4370fde844
table: fix PIT not matching full name
...
refs #3363
Change-Id: I4ff3d02aaf43c3aaba843cfcf6221c218c1cea99
2016-02-24 13:28:45 -08:00
Spyridon Mastorakis
d0381c05a6
tests: Change to updated naming conventions
...
Change-Id: I9351c669282c3c02fd533237489beeb10fe7d15e
Refs: #2497
2015-02-21 13:02:47 -08:00