Welcome to mirror list, hosted at ThFree Co, Russian Federation.

testutils.h « testutils « test - github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5577e067b5af30cb6f494ac91f7bb375ebcca0ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "account.h"
#include "folder.h"
#include "folderman.h"

#include <QJsonArray>
#include <QJsonObject>

namespace OCC {

namespace TestUtils {
    FolderMan *folderMan();
    FolderDefinition createDummyFolderDefinition(const AccountPtr &account, const QString &path);
    AccountPtr createDummyAccount();
    bool writeRandomFile(const QString &fname, int size = -1);


    const QVariantMap testCapabilities();
}
}