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

Unified Diff: test/BaseJsTest.h

Issue 10800079: Implemented update checking functionality (Closed)
Patch Set: Created June 5, 2013, 6:47 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
« no previous file with comments | « src/FilterEngine.cpp ('k') | test/UpdateCheck.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/BaseJsTest.h
===================================================================
--- a/test/BaseJsTest.h
+++ b/test/BaseJsTest.h
@@ -117,26 +117,28 @@ public:
std::string Resolve(const std::string& path) const
{
return path;
}
};
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 LazyLogSystem : public AdblockPlus::LogSystem
{
+public:
void operator()(LogLevel logLevel, const std::string& message,
const std::string& source)
{
}
};
class BaseJsTest : public ::testing::Test
{
« no previous file with comments | « src/FilterEngine.cpp ('k') | test/UpdateCheck.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld