mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-05 17:55:45 +08:00
create a dummy implementation of INetwork for testing purposes, and use it in the atc list unittest
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user