#include "testing/gtest/include/gtest/gtest.h"
#include "base/allocator/dispatcher/configuration.h"
#include "base/allocator/dispatcher/initializer.h"
#include "base/allocator/dispatcher/testing/observer_mock.h"
#include "base/allocator/dispatcher/testing/tools.h"
#include <functional>
#include <map>
#include <tuple>
namespace base::allocator::dispatcher {
namespace testing {
struct Dispatcher { … };
}
ObserverMock;
struct BaseAllocatorDispatcherInitializerTest : public ::testing::Test { … };
TEST_F(BaseAllocatorDispatcherInitializerTest, VerifyEmptyInitializer) { … }
TEST_F(BaseAllocatorDispatcherInitializerTest, VerifySettingOptionalObservers) { … }
TEST_F(BaseAllocatorDispatcherInitializerTest, VerifyAddingOptionalObservers) { … }
TEST_F(BaseAllocatorDispatcherInitializerTest,
VerifySettingMandatoryObservers) { … }
TEST_F(BaseAllocatorDispatcherInitializerTest, VerifyAddingMandatoryObservers) { … }
TEST_F(BaseAllocatorDispatcherInitializerTest, VerifyBasicInitialization) { … }
TEST_F(BaseAllocatorDispatcherInitializerTest,
VerifyInitializationWithMandatoryNullObservers) { … }
TEST_F(BaseAllocatorDispatcherInitializerTest,
VerifyInitializationWithOptionalNullObservers) { … }
}