diff options
author | MetroWind <chris.corsair@gmail.com> | 2025-09-07 09:42:33 -0700 |
---|---|---|
committer | MetroWind <chris.corsair@gmail.com> | 2025-09-07 09:42:33 -0700 |
commit | ea0d3220db995018335c48eb06b9794235ff436b (patch) | |
tree | 892564cdd4946c6ee9c1051bc31ff5c7bba6ddf1 /src/data_test.cpp |
Initial commit, mostly just copied from shrt.
Diffstat (limited to 'src/data_test.cpp')
-rw-r--r-- | src/data_test.cpp | 17 |
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 | |||
11 | using ::testing::IsEmpty; | ||
12 | |||
13 | TEST(DataSource, CanAddAndDeleteLink) | ||
14 | { | ||
15 | ASSIGN_OR_FAIL(std::unique_ptr<DataSourceSQLite> data, | ||
16 | DataSourceSQLite::newFromMemory()); | ||
17 | } | ||