summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkosak@google.com <kosak@google.com@8415998a-534a-0410-bf83-d39667b30386>2015-07-28 00:53:13 +0000
committerkosak@google.com <kosak@google.com@8415998a-534a-0410-bf83-d39667b30386>2015-07-28 00:53:13 +0000
commit41c96c83a341e0b626b804fa878cbef6c532df68 (patch)
treef2260edc093ffec7cf9715e787ee83e26f99dd36
parenteb9a3eda1eb54751aff12642a6692b92494e46ad (diff)
downloadgooglemock-41c96c83a341e0b626b804fa878cbef6c532df68.tar.gz
Rename custom/callback-actions.h[.pump] =>HEADmaster
custom/gmock-generated-actions.h[.pump]. git-svn-id: http://googlemock.googlecode.com/svn/trunk@566 8415998a-534a-0410-bf83-d39667b30386
-rw-r--r--include/gmock/gmock-generated-actions.h4
-rw-r--r--include/gmock/gmock-generated-actions.h.pump2
-rw-r--r--include/gmock/internal/custom/callback-actions.h8
-rw-r--r--include/gmock/internal/custom/gmock-generated-actions.h8
-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-xscripts/gmock_doctor.py4
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 = """