X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2Ftests%2Fclasses%2FFakeConnectionObject.h;h=41f5ce4d46005964a75705cc041ee4c6c4a3db03;hp=9a214a79768524fc5e5822999976db80ff8709d8;hb=d2f1e7f0975a5dabc007a5633df5f7266bbdfc7c;hpb=45cb2270fa3df3cc855fc5e039f44c8bae993a35 diff --git a/source/tests/classes/FakeConnectionObject.h b/source/tests/classes/FakeConnectionObject.h index 9a214a7..41f5ce4 100644 --- a/source/tests/classes/FakeConnectionObject.h +++ b/source/tests/classes/FakeConnectionObject.h @@ -25,7 +25,14 @@ class FakeConnectionObject : public ConnectionObject { public: - using ConnectionObject::ConnectionObject; + //using ConnectionObject::ConnectionObject; + + FakeConnectionObject(std::string ServerAddress, int ServerPort, std::string ServerUser, std::string ServerPass, bool ServerSSL); + FakeConnectionObject(std::string ServerAddress, int ServerPort, std::string ServerUser, std::string ServerPass, bool ServerSSL, std::string ServerPrefix, std::string ServerAccount); + + // Destructor. + + ~FakeConnectionObject(); // Functions for fake connection object. @@ -72,14 +79,15 @@ class FakeConnectionObject : public ConnectionObject { bool ResultTaskCompleted = false; CORequestResult TestRequestResult; COContactList TestContactList; - std::string TestEntityTag; - int TestSessionCode; - int TestResultCode; - std::string TestResultMessage; + std::string TestEntityTag = ""; + int TestSessionCode = 0; + int TestResultCode = 0; + std::string TestResultMessage = ""; + bool ResultTestMode = false; protected: private: }; -#endif \ No newline at end of file +#endif