[email protected] | 001bbfdc | 2014-07-17 19:28:46 | [diff] [blame] | 1 | // Copyright 2014 The Chromium Authors. All rights reserved. |
[email protected] | a7b1639 | 2013-11-26 22:46:26 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
[email protected] | 001bbfdc | 2014-07-17 19:28:46 | [diff] [blame] | 5 | #ifndef COMPONENTS_INVALIDATION_UNACKED_INVALIDATION_SET_TEST_UTIL_H_ |
| 6 | #define COMPONENTS_INVALIDATION_UNACKED_INVALIDATION_SET_TEST_UTIL_H_ |
| 7 | |
| 8 | #include "components/invalidation/unacked_invalidation_set.h" |
[email protected] | a7b1639 | 2013-11-26 22:46:26 | [diff] [blame] | 9 | |
| 10 | #include "testing/gmock/include/gmock/gmock-matchers.h" |
| 11 | |
| 12 | namespace syncer { |
| 13 | |
| 14 | namespace test_util { |
| 15 | |
| 16 | void PrintTo(const UnackedInvalidationSet& invalidations, ::std::ostream* os); |
| 17 | |
| 18 | void PrintTo(const UnackedInvalidationsMap& map, ::std::ostream* os); |
| 19 | |
| 20 | ::testing::Matcher<const UnackedInvalidationSet&> Eq( |
| 21 | const UnackedInvalidationSet& expected); |
| 22 | |
| 23 | ::testing::Matcher<const UnackedInvalidationsMap&> Eq( |
| 24 | const UnackedInvalidationsMap& expected); |
| 25 | |
| 26 | } // namespace test_util |
| 27 | |
| 28 | } // namespace syncer |
[email protected] | 001bbfdc | 2014-07-17 19:28:46 | [diff] [blame] | 29 | |
| 30 | #endif // COMPONENTS_INVALIDATION_UNACKED_INVALIDATION_SET_TEST_UTIL_H_ |