Chromium Code Reviews| Index: sync/internal_api/public/base/invalidation_state_test_util.h |
| diff --git a/sync/internal_api/public/base/invalidation_state_test_util.h b/sync/internal_api/public/base/invalidation_state_test_util.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4935ac507c7b565af0a2198787eb57476fb244e3 |
| --- /dev/null |
| +++ b/sync/internal_api/public/base/invalidation_state_test_util.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright (c) 2012 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. |
| + |
| +#ifndef SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_STATE_TEST_UTIL_H_ |
| +#define SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_STATE_TEST_UTIL_H_ |
| + |
| +#include <ostream> |
| + |
| +#include "sync/internal_api/public/base/invalidation_state.h" |
|
akalin
2012/08/22 23:24:27
possible to forward-declare InvalidationState?
dcheng
2012/08/22 23:47:11
Done.
|
| +#include "testing/gmock/include/gmock/gmock.h" |
| + |
| +namespace syncer { |
| + |
| +void PrintTo(const InvalidationState& state, ::std::ostream* os); |
| + |
| +::testing::Matcher<const InvalidationState&> Eq( |
| + const InvalidationState& expected); |
| + |
| +} // namespace syncer |
| + |
| +#endif // SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_STATE_TEST_UTIL_H_ |