Initial commit
This commit is contained in:
21
example_module/tests/test_app.cpp
Normal file
21
example_module/tests/test_app.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include <testutils/testutils.h>
|
||||
#include <testutils/bb_memcheck_listener.h>
|
||||
#include <coreobjects/util.h>
|
||||
#include <opendaq/module_manager_init.h>
|
||||
#include <coretypes/stringobject_factory.h>
|
||||
|
||||
|
||||
int main(int argc, char** args)
|
||||
{
|
||||
daq::daqInitializeCoreObjectsTesting();
|
||||
daqInitModuleManagerLibrary();
|
||||
|
||||
testing::InitGoogleTest(&argc, args);
|
||||
|
||||
testing::TestEventListeners& listeners = testing::UnitTest::GetInstance()->listeners();
|
||||
listeners.Append(new DaqMemCheckListener());
|
||||
|
||||
auto res = RUN_ALL_TESTS();
|
||||
|
||||
return res;
|
||||
}
|
||||
Reference in New Issue
Block a user