Index: test/BaseJsTest.h |
=================================================================== |
--- a/test/BaseJsTest.h |
+++ b/test/BaseJsTest.h |
@@ -123,16 +123,23 @@ class LazyWebRequest : public AdblockPlu |
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 |
+{ |
+ void operator()(LogLevel logLevel, const std::string& message, |
+ const std::string& source) |
+ { |
+ } |
+}; |
class BaseJsTest : public ::testing::Test |
{ |
protected: |
AdblockPlus::JsEnginePtr jsEngine; |
virtual void SetUp() |
{ |