Index: test/GlobalJsObject.cpp |
diff --git a/test/GlobalJsObject.cpp b/test/GlobalJsObject.cpp |
index da4ebc8b2decf7ffc4fd6639965e14e7f09bded7..1ee9074cf2ba69a6a820be896e2920987220b345 100644 |
--- a/test/GlobalJsObject.cpp |
+++ b/test/GlobalJsObject.cpp |
@@ -20,8 +20,17 @@ |
namespace |
{ |
- class GlobalJsObjectTest : public BaseJsTest |
+ class GlobalJsObjectTest : public ::testing::Test |
{ |
+ protected: |
+ AdblockPlus::JsEnginePtr jsEngine; |
+ |
+ void SetUp() override |
+ { |
+ JsEngineCreationParameters jsEngineParams; |
+ jsEngineParams.timer = AdblockPlus::CreateDefaultTimer(); |
+ jsEngine = CreateJsEngine(std::move(jsEngineParams)); |
+ } |
}; |
} |