Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/BaseJsTest.h

Issue 29435650: Issue 5182, 4688 - improve IsSubscriptionDowloadAllowedCallback and corresponding tests (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created May 10, 2017, 4:55 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/BaseJsTest.h
diff --git a/test/BaseJsTest.h b/test/BaseJsTest.h
index b02745fcb848662139b7ce2a0f9f081db736a492..84f439db38aad538b77e59ba01f313918f1276c6 100644
--- a/test/BaseJsTest.h
+++ b/test/BaseJsTest.h
@@ -192,17 +192,6 @@ public:
}
};
-class LazyWebRequest : public AdblockPlus::WebRequest
-{
-public:
- AdblockPlus::ServerResponse GET(const std::string& url, const AdblockPlus::HeaderList& requestHeaders) const
- {
- while (true)
- AdblockPlus::Sleep(100000);
- return AdblockPlus::ServerResponse();
- }
-};
-
class NoopWebRequest : public AdblockPlus::IWebRequest
{
public:
« no previous file with comments | « src/FilterEngine.cpp ('k') | test/FilterEngine.cpp » ('j') | test/FilterEngine.cpp » ('J')

Powered by Google App Engine
This is Rietveld