Update for class changes
This commit is contained in:
parent
3ef9d0f281
commit
1026087083
1 changed files with 8 additions and 26 deletions
|
@ -17,41 +17,23 @@
|
||||||
* along with Danbooru Client. If not, see <http://www.gnu.org/licenses/>.
|
* along with Danbooru Client. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef DANBOORU_TEST_CONNECT_H_
|
#ifndef DANBOORU_TEST_SERVICE_H_
|
||||||
#define DANBOORU_TEST_CONNECT_H_
|
#define DANBOORU_TEST_SERVICE_H_
|
||||||
|
|
||||||
#include "../konachan.h"
|
#include "../moebooru.h"
|
||||||
|
#include "../danbooru_donmai.h"
|
||||||
#include "../servicebase.h"
|
#include "../servicebase.h"
|
||||||
#include "../danboorupost.h"
|
#include "../danboorupost.h"
|
||||||
#include "../danboorupool.h"
|
#include "../danboorupool.h"
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
/*
|
|
||||||
* Copyright 2015 Luca Beltrame <lbeltrame@kde.org>
|
|
||||||
*
|
|
||||||
* This file is part of Danbooru Client.
|
|
||||||
*
|
|
||||||
* Danbooru Client 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.
|
|
||||||
*
|
|
||||||
* Danbooru Client 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 Danbooru Client. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
class QLabel;
|
class QLabel;
|
||||||
|
|
||||||
namespace Danbooru {
|
namespace Danbooru {
|
||||||
|
|
||||||
class KonachanServiceTest: public QObject
|
class DanbooruServiceTest: public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -59,8 +41,8 @@ private:
|
||||||
DanbooruServiceBase* m_service;
|
DanbooruServiceBase* m_service;
|
||||||
QLabel* m_label;
|
QLabel* m_label;
|
||||||
public:
|
public:
|
||||||
KonachanServiceTest(QUrl boardUrl);
|
DanbooruServiceTest(QUrl boardUrl, Danbooru::ApiType type = Danbooru::MoeBooru);
|
||||||
~KonachanServiceTest();
|
~DanbooruServiceTest();
|
||||||
|
|
||||||
void testPostService();
|
void testPostService();
|
||||||
void testPoolService();
|
void testPoolService();
|
||||||
|
@ -78,4 +60,4 @@ private Q_SLOTS:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue