Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
CardDAV2: Fixed FakeConnectionObject unit tests
[xestiaab/.git] / source / tests / classes / FakeConnectionObject.h
index 9a214a7..41f5ce4 100644 (file)
@@ -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
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy