diff options
author | kosak <kosak@google.com> | 2015-07-28 00:53:13 (GMT) |
---|---|---|
committer | kosak <kosak@google.com> | 2015-07-28 00:53:13 (GMT) |
commit | 6e1087218be351ce67af53328ccd5d97c8b8c169 (patch) | |
tree | f2260edc093ffec7cf9715e787ee83e26f99dd36 | |
parent | 01db9d469ba113cee5040ba65bb98b2cb04c8583 (diff) | |
download | googletest-6e1087218be351ce67af53328ccd5d97c8b8c169.zip googletest-6e1087218be351ce67af53328ccd5d97c8b8c169.tar.gz googletest-6e1087218be351ce67af53328ccd5d97c8b8c169.tar.bz2 |
Rename custom/callback-actions.h[.pump] =>
custom/gmock-generated-actions.h[.pump].
-rw-r--r-- | include/gmock/gmock-generated-actions.h | 4 | ||||
-rw-r--r-- | include/gmock/gmock-generated-actions.h.pump | 2 | ||||
-rw-r--r-- | include/gmock/internal/custom/callback-actions.h | 8 | ||||
-rw-r--r-- | include/gmock/internal/custom/gmock-generated-actions.h | 8 | ||||
-rw-r--r-- | include/gmock/internal/custom/gmock-generated-actions.h.pump (renamed from include/gmock/internal/custom/callback-actions.h.pump) | 6 | ||||
-rwxr-xr-x | scripts/gmock_doctor.py | 4 |
6 files changed, 16 insertions, 16 deletions
diff --git a/include/gmock/gmock-generated-actions.h b/include/gmock/gmock-generated-actions.h index f96b809..b5a889c 100644 --- a/include/gmock/gmock-generated-actions.h +++ b/include/gmock/gmock-generated-actions.h @@ -2369,9 +2369,9 @@ ACTION_TEMPLATE(ReturnNew, } // namespace testing -// Include any custom callback actions added by the local installation. +// Include any custom actions added by the local installation. // We must include this header at the end to make sure it can use the // declarations from this file. -#include "gmock/internal/custom/callback-actions.h" +#include "gmock/internal/custom/gmock-generated-actions.h" #endif // GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_ACTIONS_H_ diff --git a/include/gmock/gmock-generated-actions.h.pump b/include/gmock/gmock-generated-actions.h.pump index 77568c3..66d9f9d 100644 --- a/include/gmock/gmock-generated-actions.h.pump +++ b/include/gmock/gmock-generated-actions.h.pump @@ -789,6 +789,6 @@ ACTION_TEMPLATE(ReturnNew, // Include any custom callback actions added by the local installation. // We must include this header at the end to make sure it can use the // declarations from this file. -#include "gmock/internal/custom/callback-actions.h" +#include "gmock/internal/custom/gmock-generated-actions.h" #endif // GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_ACTIONS_H_ diff --git a/include/gmock/internal/custom/callback-actions.h b/include/gmock/internal/custom/callback-actions.h deleted file mode 100644 index 90db304..0000000 --- a/include/gmock/internal/custom/callback-actions.h +++ /dev/null @@ -1,8 +0,0 @@ -// This file was GENERATED by command: -// pump.py callback-actions.h.pump -// DO NOT EDIT BY HAND!!! - -#ifndef GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_CALLBACK_ACTIONS_H_ -#define GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_CALLBACK_ACTIONS_H_ - -#endif // GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_CALLBACK_ACTIONS_H_ diff --git a/include/gmock/internal/custom/gmock-generated-actions.h b/include/gmock/internal/custom/gmock-generated-actions.h new file mode 100644 index 0000000..7dc3b1a --- /dev/null +++ b/include/gmock/internal/custom/gmock-generated-actions.h @@ -0,0 +1,8 @@ +// This file was GENERATED by command: +// pump.py gmock-generated-actions.h.pump +// DO NOT EDIT BY HAND!!! + +#ifndef GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_GENERATED_ACTIONS_H_ +#define GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_GENERATED_ACTIONS_H_ + +#endif // GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_GENERATED_ACTIONS_H_ diff --git a/include/gmock/internal/custom/callback-actions.h.pump b/include/gmock/internal/custom/gmock-generated-actions.h.pump index df871a8..d26c8a0 100644 --- a/include/gmock/internal/custom/callback-actions.h.pump +++ b/include/gmock/internal/custom/gmock-generated-actions.h.pump @@ -4,7 +4,7 @@ $$ it to callback-actions.h. $$ $var max_callback_arity = 5 $$}} This meta comment fixes auto-indentation in editors. -#ifndef GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_CALLBACK_ACTIONS_H_ -#define GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_CALLBACK_ACTIONS_H_ +#ifndef GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_GENERATED_ACTIONS_H_ +#define GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_GENERATED_ACTIONS_H_ -#endif // GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_CALLBACK_ACTIONS_H_ +#endif // GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_GENERATED_ACTIONS_H_ diff --git a/scripts/gmock_doctor.py b/scripts/gmock_doctor.py index 94e7af6..9ac4653 100755 --- a/scripts/gmock_doctor.py +++ b/scripts/gmock_doctor.py @@ -308,7 +308,7 @@ def _OverloadedFunctionActionDiagnoser(msg): clang_regex = (_CLANG_FILE_LINE_RE + r'error: no matching ' r'function for call to \'Invoke\'\r?\n' r'(.*\n)*?' - r'.*\bcallback-actions\.h:\d+:\d+:\s+' + r'.*\bgmock-generated-actions\.h:\d+:\d+:\s+' r'note: candidate template ignored:\s+' r'couldn\'t infer template argument \'FunctionImpl\'') diagnosis = """ @@ -334,7 +334,7 @@ def _OverloadedMethodActionDiagnoser(msg): clang_regex = (_CLANG_FILE_LINE_RE + r'error: no matching function ' r'for call to \'Invoke\'\r?\n' r'(.*\n)*?' - r'.*\bcallback-actions\.h:\d+:\d+: ' + r'.*\bgmock-generated-actions\.h:\d+:\d+: ' r'note: candidate function template not viable: ' r'requires .*, but 2 (arguments )?were provided') diagnosis = """ |