diff options
Diffstat (limited to 'ceee/ie/common/mock_ceee_module_util.h')
-rw-r--r-- | ceee/ie/common/mock_ceee_module_util.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/ceee/ie/common/mock_ceee_module_util.h b/ceee/ie/common/mock_ceee_module_util.h new file mode 100644 index 0000000..af70657 --- /dev/null +++ b/ceee/ie/common/mock_ceee_module_util.h @@ -0,0 +1,43 @@ +// Copyright (c) 2010 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. +// +// ceee_module_util mocks. + +#ifndef CEEE_IE_COMMON_MOCK_CEEE_MODULE_UTIL_H_ +#define CEEE_IE_COMMON_MOCK_CEEE_MODULE_UTIL_H_ + +#include "ceee/ie/common/ceee_module_util.h" +#include "ceee/testing/utils/mock_static.h" + +namespace testing { + +MOCK_STATIC_CLASS_BEGIN(MockCeeeModuleUtils) + MOCK_STATIC_INIT_BEGIN(MockCeeeModuleUtils) + MOCK_STATIC_INIT2(ceee_module_util::SetOptionToolbandIsHidden, + SetOptionToolbandIsHidden); + MOCK_STATIC_INIT2(ceee_module_util::GetOptionToolbandIsHidden, + GetOptionToolbandIsHidden); + MOCK_STATIC_INIT2(ceee_module_util::SetOptionToolbandForceReposition, + SetOptionToolbandForceReposition); + MOCK_STATIC_INIT2(ceee_module_util::GetOptionToolbandForceReposition, + GetOptionToolbandForceReposition); + MOCK_STATIC_INIT2(ceee_module_util::SetIgnoreShowDWChanges, + SetIgnoreShowDWChanges); + MOCK_STATIC_INIT2(ceee_module_util::GetIgnoreShowDWChanges, + GetIgnoreShowDWChanges); + MOCK_STATIC_INIT2(ceee_module_util::GetExtensionPath, + GetExtensionPath); + MOCK_STATIC_INIT_END() + MOCK_STATIC1(void, , SetOptionToolbandIsHidden, bool); + MOCK_STATIC0(bool, , GetOptionToolbandIsHidden); + MOCK_STATIC1(void, , SetOptionToolbandForceReposition, bool); + MOCK_STATIC0(bool, , GetOptionToolbandForceReposition); + MOCK_STATIC1(void, , SetIgnoreShowDWChanges, bool); + MOCK_STATIC0(bool, , GetIgnoreShowDWChanges); + MOCK_STATIC0(std::wstring, , GetExtensionPath); +MOCK_STATIC_CLASS_END(MockCeeeModuleUtils) + +} // namespace testing + +#endif // CEEE_IE_COMMON_MOCK_CEEE_MODULE_UTIL_H_ |