mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2024-11-25 01:42:47 +01:00
badb5c1fba
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
35 lines
694 B
C++
35 lines
694 B
C++
/*
|
|
* This software is in the public domain, furnished "as is", without technical
|
|
* support, and with no warranty, express or implied, as to its usefulness for
|
|
* any purpose.
|
|
*
|
|
*/
|
|
|
|
#include <qglobal.h>
|
|
#include <QTemporaryDir>
|
|
#include <QtTest>
|
|
|
|
#include "common/utility.h"
|
|
#include "folderman.h"
|
|
#include "account.h"
|
|
#include "accountstate.h"
|
|
#include "configfile.h"
|
|
#include "testhelper.h"
|
|
|
|
using namespace OCC;
|
|
|
|
class TestAccount: public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
private slots:
|
|
void testAccountDavPath_unitialized_noCrash()
|
|
{
|
|
AccountPtr account = Account::create();
|
|
account->davPath();
|
|
}
|
|
};
|
|
|
|
QTEST_APPLESS_MAIN(TestAccount)
|
|
#include "testaccount.moc"
|