More stubbing for test functions

This commit is contained in:
Luca Beltrame 2015-08-29 10:02:38 +02:00
parent 70fe9d5cce
commit 2c9a6a152f
3 changed files with 58 additions and 0 deletions

View file

@ -6,3 +6,10 @@ ecm_add_test(test_danbooru_post.cpp LINK_LIBRARIES
Qt5::Core
danbooru
TEST_NAME test_danbooru_post)
ecm_add_test(test_danbooru_pool.cpp LINK_LIBRARIES
Qt5::Widgets
Qt5::Test
Qt5::Core
danbooru
TEST_NAME test_danbooru_pool)

View file

@ -19,3 +19,34 @@
*/
#include "test_danbooru_pool.h"
void TestDanbooruPool::initTestCase()
{
}
void TestDanbooruPool::testPoolEntryLoading()
{
}
void TestDanbooruPool::testPoolEntryLoading_data()
{
}
void TestDanbooruPool::testPoolIndexLoadingXml()
{
}
void TestDanbooruPool::testPoolIndexLoadingXml_data()
{
}
void TestDanbooruPool::testPoolIndexLoading()
{
}
void TestDanbooruPool::testPoolIndexLoading_data()
{
}
QTEST_MAIN(TestDanbooruPool);

View file

@ -21,6 +21,26 @@
#ifndef TEST_DANBOORUPOOL_H
#define TEST_DANBOORUPOOL_H
#include <QTest>
namespace Danbooru {
class DanbooruPool;
}
class TestDanbooruPool: public QObject
{
Q_OBJECT
private Q_SLOTS:
void initTestCase();
void testPoolIndexLoading();
void testPoolIndexLoading_data();
void testPoolIndexLoadingXml();
void testPoolIndexLoadingXml_data();
void testPoolEntryLoading();
void testPoolEntryLoading_data();
};
#endif