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

Unified Diff: test/FilterEngine.cpp

Issue 10524054: Rename ErrorCallback into LogSystem, provide a proper console API (Closed)
Patch Set: Created May 10, 2013, 2:01 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/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");

Powered by Google App Engine
This is Rietveld