summaryrefslogtreecommitdiff
path: root/src/bookmarks/test/bookmarkmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/test/bookmarkmanager.cpp')
-rw-r--r--src/bookmarks/test/bookmarkmanager.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/bookmarks/test/bookmarkmanager.cpp b/src/bookmarks/test/bookmarkmanager.cpp
deleted file mode 100644
index 5bfaf649..00000000
--- a/src/bookmarks/test/bookmarkmanager.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-#include "../bookmarkmanager.hpp"
-#include <QStandardPaths>
-#include <gtest/gtest.h>
-
-// clazy:excludeall=non-pod-global-static
-
-namespace {
-TEST(BookmarkManager, QStandardPaths)
-{
- const auto file = QStandardPaths::locate(QStandardPaths::AppLocalDataLocation, QString::fromLatin1("bookmarks.xbel"));
- EXPECT_TRUE(file.isEmpty()) << qUtf8Printable(file);
-}
-
-TEST(BookmarkManager, Manager)
-{
- BookmarkManager manager("bookmarks.xbel");
-
- const auto load_errors = manager.errors();
- EXPECT_EQ(load_errors.length(), 0) << qUtf8Printable(load_errors.join('\n'));
-}
-} // namespace \ No newline at end of file