add initial DSSeat class and testcase for it.
Change-Id: Iaf71bad6c99506b85689259f94af6aaed70136a2
'src/lib/DSOutput/DSOutput.cpp',
'src/lib/DSInput/DSInput.cpp',
'src/lib/DSCanvas/DSCanvas.cpp',
+ 'src/lib/DSSeat/DSSeat.cpp',
]
pkgconfig = import('pkgconfig')
--- /dev/null
+#include "DSSeat.h"
+
+namespace display_server
+{
+ DSSeat::DSSeat()
+ {
+ }
+
+ DSSeat::~DSSeat()
+ {
+ }
+} // namespace display_server
\ No newline at end of file
--- /dev/null
+#ifndef _DSSEAT_H_
+#define _DSSEAT_H_
+
+namespace display_server
+{
+ class DSSeat
+ {
+ public:
+ DSSeat();
+ virtual ~DSSeat();
+
+ private:
+ /* data */
+ };
+}
+
+#endif
\ No newline at end of file
--- /dev/null
+#include "libds-tests.h"
+#include "DSSeat.h"
+
+using namespace display_server;
+
+class DSSeatTest : public ::testing::Test
+{
+public:
+ void SetUp(void) override {}
+ void TearDown(void) override {}
+};
+
+TEST_F(DSSeatTest, NewDSSeat)
+{
+ DSSeat *seat = new DSSeat;
+ delete seat;
+ ASSERT_TRUE(true);
+}
'../src/lib/DSOutput',
'../src/lib/DSInput',
'../src/lib/DSCanvas',
+ '../src/lib/DSSeat',
)
libds_unittests_src = [
'DSOutput-test.cpp',
'DSInput-test.cpp',
'DSCanvas-test.cpp',
+ 'DSSeat-test.cpp',
]
gmock_dep = dependency('gmock', method : 'pkg-config')