More stubbing for test functions
This commit is contained in:
		
					parent
					
						
							
								70fe9d5cce
							
						
					
				
			
			
				commit
				
					
						2c9a6a152f
					
				
			
		
					 3 changed files with 58 additions and 0 deletions
				
			
		| 
						 | 
					@ -6,3 +6,10 @@ ecm_add_test(test_danbooru_post.cpp LINK_LIBRARIES
 | 
				
			||||||
             Qt5::Core
 | 
					             Qt5::Core
 | 
				
			||||||
             danbooru
 | 
					             danbooru
 | 
				
			||||||
             TEST_NAME test_danbooru_post)
 | 
					             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)
 | 
				
			||||||
| 
						 | 
					@ -19,3 +19,34 @@
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "test_danbooru_pool.h"
 | 
					#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);
 | 
				
			||||||
| 
						 | 
					@ -21,6 +21,26 @@
 | 
				
			||||||
#ifndef TEST_DANBOORUPOOL_H
 | 
					#ifndef TEST_DANBOORUPOOL_H
 | 
				
			||||||
#define 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
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue