Index: test/FilterEngine.cpp |
=================================================================== |
--- a/test/FilterEngine.cpp |
+++ b/test/FilterEngine.cpp |
@@ -26,17 +26,17 @@ namespace |
protected: |
FilterEnginePtr filterEngine; |
void SetUp() |
{ |
BaseJsTest::SetUp(); |
jsEngine->SetFileSystem(AdblockPlus::FileSystemPtr(new LazyFileSystem)); |
jsEngine->SetWebRequest(AdblockPlus::WebRequestPtr(new LazyWebRequest)); |
- jsEngine->SetErrorCallback(AdblockPlus::ErrorCallbackPtr(new AdblockPlus::DefaultErrorCallback)); |
+ jsEngine->SetLogSystem(AdblockPlus::LogSystemPtr(new AdblockPlus::DefaultLogSystem)); |
filterEngine = FilterEnginePtr(new AdblockPlus::FilterEngine(jsEngine)); |
} |
}; |
} |
TEST_F(FilterEngineTest, FilterCreation) |
{ |
AdblockPlus::FilterPtr filter1 = filterEngine->GetFilter("foo"); |