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

Unified Diff: test/BaseJsTest.h

Issue 29372702: Issue #4826 - Use latch to replace thread-sleeping in tests
Patch Set: Created Jan. 19, 2017, 5:56 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
« no previous file with comments | « src/Latch.cpp ('k') | test/BaseJsTest.cpp » ('j') | test/GlobalJsObject.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/BaseJsTest.h
===================================================================
--- a/test/BaseJsTest.h
+++ b/test/BaseJsTest.h
@@ -23,6 +23,7 @@
#include <thread>
#include <AdblockPlus.h>
+#include "../src/JsEngineInternal.h"
#include <gtest/gtest.h>
class ThrowingLogSystem : public AdblockPlus::LogSystem
@@ -181,6 +182,7 @@
{
protected:
AdblockPlus::JsEnginePtr jsEngine;
+ JsEngineInternal* engine;
virtual void SetUp();
virtual void TearDown();
};
« no previous file with comments | « src/Latch.cpp ('k') | test/BaseJsTest.cpp » ('j') | test/GlobalJsObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld