mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
Add date field backend test file
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
bbbab0159e
commit
797663eb17
2 changed files with 26 additions and 0 deletions
|
@ -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)
|
||||
|
|
25
test/testdatefieldbackend.cpp
Normal file
25
test/testdatefieldbackend.cpp
Normal file
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* Copyright (C) by Claudio Cambra <claudio.cambra@nextcloud.com>
|
||||
*
|
||||
* 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 <QTest>
|
||||
#include <QSignalSpy>
|
||||
|
||||
using namespace OCC;
|
||||
|
||||
class TestDateFieldBackend : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
}
|
Loading…
Reference in a new issue