From: Claudio Cambra Date: Tue, 12 Sep 2023 13:11:03 +0000 (+0800) Subject: Add date field backend test file X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~9^2~7^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ea44c0f7bdc5c3559dcc535cb5ae8cb808bb2a5b;p=nextcloud-desktop.git Add date field backend test file Signed-off-by: Claudio Cambra --- diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 69ebc08d5..e1ea80801 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -74,6 +74,7 @@ nextcloud_add_test(SortedShareModel) nextcloud_add_test(SecureFileDrop) nextcloud_add_test(FileTagModel) nextcloud_add_test(SyncConflictsModel) +nextcloud_add_test(DateFieldBackend) target_link_libraries(SecureFileDropTest PRIVATE Nextcloud::sync) configure_file(fake2eelocksucceeded.json "${PROJECT_BINARY_DIR}/bin/fake2eelocksucceeded.json" COPYONLY) diff --git a/test/testdatefieldbackend.cpp b/test/testdatefieldbackend.cpp new file mode 100644 index 000000000..eb1dfe5b3 --- /dev/null +++ b/test/testdatefieldbackend.cpp @@ -0,0 +1,25 @@ +/* + * Copyright (C) by Claudio Cambra + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + */ + +#include "gui/filedetails/datefieldbackend.h" + +#include +#include + +using namespace OCC; + +class TestDateFieldBackend : public QObject +{ + Q_OBJECT +}