create a dummy implementation of INetwork for testing purposes, and use it in the atc list unittest

This commit is contained in:
Mathew Sutcliffe
2013-08-22 17:56:35 +01:00
parent 974f8b0141
commit 0107d24523
6 changed files with 62 additions and 31 deletions

View File

@@ -13,11 +13,6 @@
#include "blackmisc/atclist.h"
#include <QObject>
namespace BlackCoreTest
{
class EnableTesting;
}
namespace BlackCore
{
@@ -79,13 +74,6 @@ namespace BlackCore
void clear();
/*! \} */
public:
/*!
* Constructor that does not connect INetwork signals to CAtcListManager slots.
* \warning Only used for testing purposes.
*/
explicit CAtcListManager(const BlackCoreTest::EnableTesting&);
private:
BlackMisc::CAtcList m_list;
};