Unit test support
This commit is contained in:
@@ -15,7 +15,8 @@ public:
|
||||
ServerVersionMismatch,
|
||||
InvalidRequiredVersion,
|
||||
NoResponse,
|
||||
Failed
|
||||
InvalidRequestPath,
|
||||
UnknownFailure
|
||||
};
|
||||
|
||||
public:
|
||||
@@ -29,6 +30,9 @@ private:
|
||||
|
||||
Property(SiaHostConfig, HostConfig, public, public)
|
||||
|
||||
private:
|
||||
static _SiaCurlError CheckApiError(const json& result);
|
||||
|
||||
private:
|
||||
std::string ConstructPath(const String& relativePath) const;
|
||||
_SiaCurlError _Get(const String& path, json& response) const;
|
||||
|
Reference in New Issue
Block a user