Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added more code and unit tests for ConnectionObject & FakeConnectionObject
[xestiaab/.git] / source / tests / classes / FakeConnectionObject.h
index 96f03d0..a9eba6d 100644 (file)
@@ -39,6 +39,11 @@ class FakeConnectionObject : public ConnectionObject {
                COConnectResult Connect();
                std::string GetDefaultPrefix();
                COServerResponse AddContact(std::string Location, std::string Data);
+               COServerResponse EditContact(std::string Location, std::string Data);
+               COServerResponse DeleteContact(std::string Location, std::string EntityTag);
+               COServerResponse GetServerEntityTagValue(std::string Location);
+               COServerResponse GetContact(std::string Location);
+               COContactList GetContactList(std::string SyncToken);
 
                void SetupData(std::string Method, std::string Location, std::string Data);
        
@@ -59,9 +64,10 @@ class FakeConnectionObject : public ConnectionObject {
                bool ResultSSLVerified = false;
                bool ResultValidResponse = false;
                bool ResultSelfSigned = false;
-               bool NoConnection = false;
                CORequestResult TestRequestResult;
+               COContactList TestContactList;
                std::string TestEntityTag;
+               int TestSessionCode;
                int TestResultCode;
                std::string TestResultMessage;
        
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