1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
/*
File : DatasetsTest.h
Project : LabPlot
Description : Tests for Dataset related features
--------------------------------------------------------------------
SPDX-FileCopyrightText: 2019 Kovacs Ferencz <kferike98@gmail.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef DATASETSTEST_H
#define DATASETSTEST_H
#include <QtTest>
class DatasetsTest : public QObject {
Q_OBJECT
private Q_SLOTS:
void initTestCase();
//Test processing metadata files.
void testCategories();
void testSubcategories();
void testDatasets();
//Test processing and downloading dataset
void testProcessDataset();
//Test adding new datasets to the existing collection
void testNewCollection();
void testNewCategory();
void testNewSubcategory();
void testNewDataset();
private:
void copyFiles();
void removeFiles();
QString m_dataDir;
QString m_jsonDir;
};
#endif
|