2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00

[#1818] Addressed review comments

Minor cosmetics.
This commit is contained in:
Thomas Markwalder
2021-05-19 16:12:22 -04:00
parent 7e53ff36b3
commit 4d4cc92a71
2 changed files with 3 additions and 8 deletions

View File

@@ -81,7 +81,7 @@ public:
/// @brief Removes all callbacks from the list.
void removeAll();
/// @brief Fetches the list of callbacks pairs.
/// @brief Fetches the list of callback pairs.
const std::list<CSCallbackPair>& getCallbackPairs();
private:

View File

@@ -386,11 +386,6 @@ public:
if (entries.size()) {
// We expect entry invocations.
ASSERT_EQ(invocations_.size(), entries.size());
for (auto val :invocations_) {
std::cout << val << " ";
}
std::cout << std::endl;
ASSERT_TRUE(invocations_ == entries);
} else {
// We do not expect entry invocations.
@@ -436,8 +431,8 @@ public:
std::vector<int> invocations_;
};
/// @brief Verifies that critical section callback maintenance.
/// Catch invalid pairs, add pairs, remover pairs.
/// @brief Verifies critical section callback maintenance:
/// catch invalid pairs, add pairs, remove pairs.
TEST_F(CriticalSectionCallbackTest, addAndRemove) {
auto& mgr = MultiThreadingMgr::instance();