2015-10-04 14:20:12 +02:00
|
|
|
/************************************************************************
|
|
|
|
**
|
|
|
|
** @file tst_valentinacommandline.h
|
|
|
|
** @author Roman Telezhynskyi <dismine(at)gmail.com>
|
|
|
|
** @date 4 10, 2015
|
|
|
|
**
|
|
|
|
** @brief
|
|
|
|
** @copyright
|
2017-10-05 11:20:01 +02:00
|
|
|
** This source code is part of the Valentina project, a pattern making
|
2015-10-04 14:20:12 +02:00
|
|
|
** program, whose allow create and modeling patterns of clothing.
|
|
|
|
** Copyright (C) 2015 Valentina project
|
2020-01-31 07:00:05 +01:00
|
|
|
** <https://gitlab.com/smart-pattern/valentina> All Rights Reserved.
|
2015-10-04 14:20:12 +02:00
|
|
|
**
|
|
|
|
** Valentina 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 3 of the License, or
|
|
|
|
** (at your option) any later version.
|
|
|
|
**
|
|
|
|
** Valentina 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.
|
|
|
|
**
|
|
|
|
** You should have received a copy of the GNU General Public License
|
|
|
|
** along with Valentina. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
**
|
|
|
|
*************************************************************************/
|
|
|
|
|
|
|
|
#ifndef TST_VALENTINACOMMANDLINE_H
|
|
|
|
#define TST_VALENTINACOMMANDLINE_H
|
|
|
|
|
2017-06-01 12:04:25 +02:00
|
|
|
#include "../vtest/abstracttest.h"
|
2022-08-12 17:50:13 +02:00
|
|
|
#include "../vmisc/defglobal.h"
|
2015-10-04 14:20:12 +02:00
|
|
|
|
|
|
|
class TST_ValentinaCommandLine : public AbstractTest
|
|
|
|
{
|
2022-08-12 17:50:13 +02:00
|
|
|
Q_OBJECT // NOLINT
|
2015-10-04 14:20:12 +02:00
|
|
|
public:
|
2016-02-24 16:31:44 +01:00
|
|
|
explicit TST_ValentinaCommandLine(QObject *parent = nullptr);
|
2015-10-04 14:20:12 +02:00
|
|
|
|
|
|
|
private slots:
|
2016-07-25 17:25:13 +02:00
|
|
|
void initTestCase();
|
2015-10-04 14:20:12 +02:00
|
|
|
void OpenPatterns_data() const;
|
|
|
|
void OpenPatterns();
|
|
|
|
void ExportMode_data() const;
|
|
|
|
void ExportMode();
|
2015-12-22 14:29:16 +01:00
|
|
|
void TestMode_data() const;
|
|
|
|
void TestMode();
|
2015-12-22 15:42:00 +01:00
|
|
|
void TestOpenCollection_data() const;
|
|
|
|
void TestOpenCollection();
|
2016-07-25 17:25:13 +02:00
|
|
|
void cleanupTestCase();
|
2015-10-04 14:20:12 +02:00
|
|
|
|
|
|
|
private:
|
2022-08-12 17:50:13 +02:00
|
|
|
Q_DISABLE_COPY_MOVE(TST_ValentinaCommandLine) // NOLINT
|
2015-10-04 14:20:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // TST_VALENTINACOMMANDLINE_H
|