commit | 7ee00fb6809ac79e0479515878ad6b6db03dd847 | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Sun Dec 04 21:23:00 2016 +0000 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Sun Dec 04 21:23:00 2016 +0000 |
tree | 4deadfea4723db2057c8914606ec9d01cf3ab29c | |
parent | c29c0b01a76f4149f0101142bbb91ad3444f2748 [diff] [blame] |
table: cs::Policy::getPolicyNames refs #3148 Change-Id: I06f66e9780b9c5c4820ba18cca5fbc9b1061eae0
diff --git a/tests/daemon/table/cs-policy-priority-fifo.t.cpp b/tests/daemon/table/cs-policy-priority-fifo.t.cpp index 01380ef..04a613f 100644 --- a/tests/daemon/table/cs-policy-priority-fifo.t.cpp +++ b/tests/daemon/table/cs-policy-priority-fifo.t.cpp
@@ -38,6 +38,12 @@ BOOST_AUTO_TEST_SUITE(Table) BOOST_AUTO_TEST_SUITE(TestCsPriorityFifo) +BOOST_AUTO_TEST_CASE(Registration) +{ + std::set<std::string> policyNames = Policy::getPolicyNames(); + BOOST_CHECK_EQUAL(policyNames.count("priority_fifo"), 1); +} + BOOST_FIXTURE_TEST_CASE(EvictOne, UnitTestTimeFixture) { Cs cs(3);