// Functions from the ConnectionObject interface.
COConnectResult Connect();
+ std::string GetDefaultPrefix();
+ COServerResponse AddContact(std::string Location, std::string Data);
+
+ void SetupData(std::string Method, std::string Location, std::string Data);
+
bool CanDoProcessing();
bool CanDoSSL();
bool SSLVerify();
// Variables to set for fake connection object.
- std::string ServerPrefixInput = "";
- COConnectResult ResultStatus;
+ std::string ResultServerPrefix = "";
+ COConnectResult ResultStatus = COCONNECT_UNITTESTFAIL;
+ bool ResultAuthPassed = false;
+ bool ResultCanProcess = false;
+ bool ResultSSLStatus = false;
+ bool ResultSSLVerified = false;
+ bool ResultValidResponse = false;
+ bool ResultSelfSigned = false;
+ bool NoConnection = false;
+ CORequestResult TestRequestResult;
+ std::string TestEntityTag;
+ int TestResultCode;
+ std::string TestResultMessage;
protected:
private: