8#ifndef SEN_SEN_LIBS_UTILS_TEST_UTILS_KERNEL_FIXTURE_H_H
9#define SEN_SEN_LIBS_UTILS_TEST_UTILS_KERNEL_FIXTURE_H_H
12#include <gtest/gtest.h>
42 bool unloadCallbackInstalled_ =
false;
Wrapper class used in the integration tests that facilitates the interaction with the Sen kernel test...
Definition kernel_fixture.h:20
std::unique_ptr< sen::kernel::TestKernel > makeKernel()
Constructor for the Sen kernel test API that takes care about allocating and deallocating resources n...
void onInit(sen::kernel::TestComponent::InitFunc initFunc)
Wrapper for the onInit method of the Sen kernel test API.
void onRun(sen::kernel::TestComponent::RunFunc runFunc)
Wrapper for the onRun method of the Sen kernel test API.
virtual void deallocateResources()
Virtual method that can be implemented by integration test fixtures which need to deallocate specific...
void onUnload(sen::kernel::TestComponent::UnloadFunc unloadFunc)
Wrapper for the onUnload method of the Sen kernel test API.
Convenience class for using lambdas instead of inheritance when defining test components.
Definition test_kernel.h:58
std::function< FuncResult(UnloadApi &&)> UnloadFunc
Definition test_kernel.h:64
std::function< FuncResult(RunApi &)> RunFunc
Definition test_kernel.h:63
std::function< PassResult(InitApi &&)> InitFunc
Definition test_kernel.h:62