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

Unified Diff: test/GlobalJsObject.cpp

Issue 29433591: Issue 5180 - start to inject implementation of WebRequest into JsEngine::ctr (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created May 8, 2017, 11:59 a.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
« no previous file with comments | « test/FilterEngine.cpp ('k') | test/Notification.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
+ }
};
}
« no previous file with comments | « test/FilterEngine.cpp ('k') | test/Notification.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld