mirror of https://github.com/kiwix/libkiwix.git
Clean-up promised in the previous commit
This commit is contained in:
parent
e93ccd18d4
commit
ed46541b6f
|
@ -369,34 +369,16 @@ ExpectedResponseData operator&&(const ExpectedResponseData& a,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestContentIn404HtmlResponse
|
class TestContentIn404HtmlResponse : public ExpectedResponseData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TestContentIn404HtmlResponse(const std::string& url,
|
TestContentIn404HtmlResponse(const std::string& url,
|
||||||
const ExpectedResponseData& erd)
|
const ExpectedResponseData& erd)
|
||||||
: url(url)
|
: ExpectedResponseData(erd)
|
||||||
, bookName(erd.bookName)
|
, url(url)
|
||||||
, bookTitle(erd.bookTitle)
|
|
||||||
, expectedBody(erd.expectedBody)
|
|
||||||
{}
|
{}
|
||||||
|
|
||||||
TestContentIn404HtmlResponse(const std::string& url,
|
const std::string url;
|
||||||
const std::string& expectedBody)
|
|
||||||
: url(url)
|
|
||||||
, expectedBody(expectedBody)
|
|
||||||
{}
|
|
||||||
|
|
||||||
TestContentIn404HtmlResponse(const std::string& url,
|
|
||||||
const std::string& bookName,
|
|
||||||
const std::string& bookTitle,
|
|
||||||
const std::string& expectedBody)
|
|
||||||
: url(url)
|
|
||||||
, bookName(bookName)
|
|
||||||
, bookTitle(bookTitle)
|
|
||||||
, expectedBody(expectedBody)
|
|
||||||
{}
|
|
||||||
|
|
||||||
const std::string url, bookName, bookTitle, expectedBody;
|
|
||||||
|
|
||||||
std::string expectedResponse() const;
|
std::string expectedResponse() const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue