topic_invalidation_map_test_util.h 787 B

1234567891011121314151617181920
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_INVALIDATION_IMPL_TOPIC_INVALIDATION_MAP_TEST_UTIL_H_
  5. #define COMPONENTS_INVALIDATION_IMPL_TOPIC_INVALIDATION_MAP_TEST_UTIL_H_
  6. // Convince googletest to use the correct overload for PrintTo().
  7. #include "components/invalidation/impl/invalidation_test_util.h"
  8. #include "components/invalidation/public/topic_invalidation_map.h"
  9. #include "testing/gmock/include/gmock/gmock.h"
  10. namespace invalidation {
  11. ::testing::Matcher<const TopicInvalidationMap&> Eq(
  12. const TopicInvalidationMap& expected);
  13. } // namespace invalidation
  14. #endif // COMPONENTS_INVALIDATION_IMPL_TOPIC_INVALIDATION_MAP_TEST_UTIL_H_