--- /dev/null
+#include "libds-tests.h"
+#include "DSRefBase.h"
+
+class DSRefBaseTest : public ::testing::Test
+{
+public:
+ void SetUp(void) override {
+ std::cout << "setup\n";
+ }
+ void TearDown(void) override {
+ std::cout << "teardown\n";
+ }
+};
+
+TEST_F(DSRefBaseTest, CreateRefBase)
+{
+ display_server::DSRefBase* refBase = new display_server::DSRefBase();
+
+ int count = refBase->getref();
+ ASSERT_TRUE(count == 1);
+}
\ No newline at end of file
incdir = include_directories('../src/lib')
-libds_unittests_src = ['libds-tests.cpp']
+libds_unittests_src = ['libds-tests.cpp',
+ 'DSRefBase-test.cpp']
gmock_dep = dependency('gmock', method : 'pkg-config')