From 7fc0ef2b1cb53f798ee9e8b18b438c8ee87e9061 Mon Sep 17 00:00:00 2001 From: Balazs Racz Date: Sat, 14 Nov 2020 19:11:36 +0100 Subject: [PATCH] Adds bulk allocator to the test. --- src/openlcb/AliasAllocator.cxxtest | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/openlcb/AliasAllocator.cxxtest b/src/openlcb/AliasAllocator.cxxtest index 67a284dcd..436e0bd13 100644 --- a/src/openlcb/AliasAllocator.cxxtest +++ b/src/openlcb/AliasAllocator.cxxtest @@ -4,6 +4,7 @@ #include "openlcb/AliasAllocator.hxx" #include "openlcb/AliasCache.hxx" #include "openlcb/CanDefs.hxx" +#include "openlcb/BulkAliasAllocator.hxx" namespace openlcb { @@ -13,6 +14,7 @@ protected: AsyncAliasAllocatorTest() : b_(nullptr) , alias_allocator_(TEST_NODE_ID, ifCan_.get()) + , bulkAllocator_(create_bulk_alias_allocator(ifCan_.get())) { } @@ -50,6 +52,7 @@ protected: Buffer *b_; AliasAllocator alias_allocator_; + std::unique_ptr bulkAllocator_; }; TEST_F(AsyncAliasAllocatorTest, SetupTeardown)