Index: test/FilterEngine.cpp |
=================================================================== |
--- a/test/FilterEngine.cpp |
+++ b/test/FilterEngine.cpp |
@@ -61,17 +61,17 @@ |
typedef FilterEngineTestGeneric<LazyFileSystem, AdblockPlus::DefaultLogSystem> FilterEngineTest; |
typedef FilterEngineTestGeneric<VeryLazyFileSystem, LazyLogSystem> FilterEngineTestNoData; |
struct MockFilterChangeCallback |
{ |
MockFilterChangeCallback(int& timesCalled) : timesCalled(timesCalled) {} |
- void operator()(const std::string&, const AdblockPlus::JsValuePtr) |
+ void operator()(const std::string&, const AdblockPlus::JsValue&) |
{ |
timesCalled++; |
} |
private: |
int& timesCalled; |
}; |
@@ -1087,9 +1087,9 @@ |
auto subscription = EnsureExampleSubscriptionAndForceUpdate("subB"); |
EXPECT_EQ("synchronize_ok", subscription->GetProperty("downloadStatus")->AsString()); |
EXPECT_EQ(1u, subscription->GetProperty("filters")->AsList().size()); |
auto capturedConnectionTypes = this->capturedConnectionTypes.GetStrings(); |
ASSERT_EQ(1u, capturedConnectionTypes.size()); |
EXPECT_TRUE(capturedConnectionTypes[0].first); |
EXPECT_EQ(testConnection, capturedConnectionTypes[0].second); |
} |
-} |
+} |