From: Source Maintenance Date: Thu, 16 Feb 2017 12:12:17 +0000 (+0000) Subject: SourceFormat Enforcement X-Git-Tag: M-staged-PR71~266 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ee40ab2a776a783cb516466452003e802ee1d98;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/tests/stub_HttpReply.cc b/src/tests/stub_HttpReply.cc index 39d815607a..febf7ddb0c 100644 --- a/src/tests/stub_HttpReply.cc +++ b/src/tests/stub_HttpReply.cc @@ -15,19 +15,19 @@ HttpReply::HttpReply() : Http::Message(hoReply), date (0), last_modified (0), expires (0), surrogate_control (NULL), content_range (NULL), keep_alive (0), protoPrefix("HTTP/"), do_clean(false), bodySizeMax(-2) - {STUB_NOP} - HttpReply::~HttpReply() STUB - void HttpReply::setHeaders(Http::StatusCode status, const char *reason, const char *ctype, int64_t clen, time_t lmt, time_t expires_) STUB - void HttpReply::packHeadersInto(Packable *) const STUB - void HttpReply::reset() STUB - void httpBodyPackInto(const HttpBody *, Packable *) STUB - bool HttpReply::sanityCheckStartLine(const char *buf, const size_t hdr_len, Http::StatusCode *error) STUB_RETVAL(false) - int HttpReply::httpMsgParseError() STUB_RETVAL(0) - bool HttpReply::expectingBody(const HttpRequestMethod&, int64_t&) const STUB_RETVAL(false) - bool HttpReply::parseFirstLine(const char *start, const char *end) STUB_RETVAL(false) - void HttpReply::hdrCacheInit() STUB - HttpReply * HttpReply::clone() const STUB_RETVAL(NULL) - bool HttpReply::inheritProperties(const Http::Message *aMsg) STUB_RETVAL(false) - bool HttpReply::updateOnNotModified(HttpReply const*) STUB_RETVAL(false) - int64_t HttpReply::bodySize(const HttpRequestMethod&) const STUB_RETVAL(0) +{STUB_NOP} +HttpReply::~HttpReply() STUB +void HttpReply::setHeaders(Http::StatusCode status, const char *reason, const char *ctype, int64_t clen, time_t lmt, time_t expires_) STUB +void HttpReply::packHeadersInto(Packable *) const STUB +void HttpReply::reset() STUB +void httpBodyPackInto(const HttpBody *, Packable *) STUB +bool HttpReply::sanityCheckStartLine(const char *buf, const size_t hdr_len, Http::StatusCode *error) STUB_RETVAL(false) +int HttpReply::httpMsgParseError() STUB_RETVAL(0) +bool HttpReply::expectingBody(const HttpRequestMethod&, int64_t&) const STUB_RETVAL(false) +bool HttpReply::parseFirstLine(const char *start, const char *end) STUB_RETVAL(false) +void HttpReply::hdrCacheInit() STUB +HttpReply * HttpReply::clone() const STUB_RETVAL(NULL) +bool HttpReply::inheritProperties(const Http::Message *aMsg) STUB_RETVAL(false) +bool HttpReply::updateOnNotModified(HttpReply const*) STUB_RETVAL(false) +int64_t HttpReply::bodySize(const HttpRequestMethod&) const STUB_RETVAL(0)