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

Unified Diff: test/FilterEngine.cpp

Issue 29512648: Issue 5475 - Update adblockpluscore dependency to revision hg:b935a0402215 (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created Aug. 11, 2017, 12:36 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
diff --git a/test/FilterEngine.cpp b/test/FilterEngine.cpp
index 1abe15d0910e2d8391478de8d1859b479a85af21..108672353080bc4e7a9915a7d732e13436792b10 100644
--- a/test/FilterEngine.cpp
+++ b/test/FilterEngine.cpp
@@ -38,7 +38,7 @@ namespace
class NoFilesFileSystem : public LazyFileSystem
{
public:
- void Stat(const std::string& path, const StatCallback& callback) const override
+ void Stat(const std::string& fileName, const StatCallback& callback) const override
{
scheduler([callback]
{
@@ -122,11 +122,11 @@ namespace
fileSystem.reset();
BaseJsTest::TearDown();
}
- void removeFileIfExists(const std::string& path)
+ void removeFileIfExists(const std::string& fileName)
{
bool hasStatRun = false;
bool doesFileExists;
- fileSystem->Stat(path, [&hasStatRun, &doesFileExists](const IFileSystem::StatResult& stats, const std::string& error)
+ fileSystem->Stat(fileName, [&hasStatRun, &doesFileExists](const IFileSystem::StatResult& stats, const std::string& error)
{
EXPECT_TRUE(error.empty()) << error;
doesFileExists = stats.exists;
@@ -142,7 +142,7 @@ namespace
return;
bool hasRemoveRun = false;
- fileSystem->Remove(path, [&hasRemoveRun](const std::string& error)
+ fileSystem->Remove(fileName, [&hasRemoveRun](const std::string& error)
{
EXPECT_TRUE(error.empty()) << error;
hasRemoveRun = true;
« libadblockplus.gyp ('K') | « test/FileSystemJsObject.cpp ('k') | test/Prefs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld