summaryrefslogtreecommitdiff
path: root/chromium/sync/notifier/unacked_invalidation_set_test_util.h
blob: e93726b28aa7d12fd49c90007392b72f04d2c436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "sync/notifier/unacked_invalidation_set.h"

#include "testing/gmock/include/gmock/gmock-matchers.h"

namespace syncer {

namespace test_util {

void PrintTo(const UnackedInvalidationSet& invalidations, ::std::ostream* os);

void PrintTo(const UnackedInvalidationsMap& map, ::std::ostream* os);

::testing::Matcher<const UnackedInvalidationSet&> Eq(
    const UnackedInvalidationSet& expected);

::testing::Matcher<const UnackedInvalidationsMap&> Eq(
    const UnackedInvalidationsMap& expected);

}  // namespace test_util

}  // namespace syncer