| Index: test/BaseJsTest.h | 
| diff --git a/test/BaseJsTest.h b/test/BaseJsTest.h | 
| index 48a01f219c4a2718bbb96d367be7d263882c581c..e68aec4a1c7081d2575dd26dd2250f571b5b53f6 100644 | 
| --- a/test/BaseJsTest.h | 
| +++ b/test/BaseJsTest.h | 
| @@ -138,6 +138,8 @@ public: | 
| } | 
| }; | 
| +AdblockPlus::JsEnginePtr createJsEngine(const AdblockPlus::AppInfo& appInfo = AdblockPlus::AppInfo()); | 
| + | 
| class BaseJsTest : public ::testing::Test | 
| { | 
| protected: | 
| @@ -145,11 +147,12 @@ protected: | 
| virtual void SetUp() | 
| { | 
| - jsEngine = AdblockPlus::JsEngine::New(); | 
| + jsEngine = createJsEngine(); | 
| jsEngine->SetLogSystem(AdblockPlus::LogSystemPtr(new ThrowingLogSystem)); | 
| jsEngine->SetFileSystem(AdblockPlus::FileSystemPtr(new ThrowingFileSystem)); | 
| jsEngine->SetWebRequest(AdblockPlus::WebRequestPtr(new ThrowingWebRequest)); | 
| } | 
| }; | 
| + | 
| #endif |