aboutsummaryrefslogtreecommitdiff
path: root/src/data_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/data_test.cpp')
-rw-r--r--src/data_test.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/data_test.cpp b/src/data_test.cpp
new file mode 100644
index 0000000..f1a1a1c
--- /dev/null
+++ b/src/data_test.cpp
@@ -0,0 +1,17 @@
1#include <vector>
2
3#include <gtest/gtest.h>
4#include <gmock/gmock.h>
5#include <mw/error.hpp>
6#include <mw/utils.hpp>
7#include <mw/test_utils.hpp>
8
9#include "data.hpp"
10
11using ::testing::IsEmpty;
12
13TEST(DataSource, CanAddAndDeleteLink)
14{
15 ASSIGN_OR_FAIL(std::unique_ptr<DataSourceSQLite> data,
16 DataSourceSQLite::newFromMemory());
17}