Rename custom/callback-actions.h[.pump] =>
custom/gmock-generated-actions.h[.pump].
This commit is contained in:
parent
01db9d469b
commit
6e1087218b
@ -2369,9 +2369,9 @@ ACTION_TEMPLATE(ReturnNew,
|
|||||||
|
|
||||||
} // namespace testing
|
} // 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
|
// We must include this header at the end to make sure it can use the
|
||||||
// declarations from this file.
|
// 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_
|
#endif // GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_ACTIONS_H_
|
||||||
|
@ -789,6 +789,6 @@ ACTION_TEMPLATE(ReturnNew,
|
|||||||
// Include any custom callback actions added by the local installation.
|
// 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
|
// We must include this header at the end to make sure it can use the
|
||||||
// declarations from this file.
|
// 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_
|
#endif // GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_ACTIONS_H_
|
||||||
|
@ -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_
|
|
8
include/gmock/internal/custom/gmock-generated-actions.h
Normal file
8
include/gmock/internal/custom/gmock-generated-actions.h
Normal file
@ -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_
|
@ -4,7 +4,7 @@ $$ it to callback-actions.h.
|
|||||||
$$
|
$$
|
||||||
$var max_callback_arity = 5
|
$var max_callback_arity = 5
|
||||||
$$}} This meta comment fixes auto-indentation in editors.
|
$$}} This meta comment fixes auto-indentation in editors.
|
||||||
#ifndef GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_CALLBACK_ACTIONS_H_
|
#ifndef GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_GENERATED_ACTIONS_H_
|
||||||
#define GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_CALLBACK_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_
|
@ -308,7 +308,7 @@ def _OverloadedFunctionActionDiagnoser(msg):
|
|||||||
clang_regex = (_CLANG_FILE_LINE_RE + r'error: no matching '
|
clang_regex = (_CLANG_FILE_LINE_RE + r'error: no matching '
|
||||||
r'function for call to \'Invoke\'\r?\n'
|
r'function for call to \'Invoke\'\r?\n'
|
||||||
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'note: candidate template ignored:\s+'
|
||||||
r'couldn\'t infer template argument \'FunctionImpl\'')
|
r'couldn\'t infer template argument \'FunctionImpl\'')
|
||||||
diagnosis = """
|
diagnosis = """
|
||||||
@ -334,7 +334,7 @@ def _OverloadedMethodActionDiagnoser(msg):
|
|||||||
clang_regex = (_CLANG_FILE_LINE_RE + r'error: no matching function '
|
clang_regex = (_CLANG_FILE_LINE_RE + r'error: no matching function '
|
||||||
r'for call to \'Invoke\'\r?\n'
|
r'for call to \'Invoke\'\r?\n'
|
||||||
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'note: candidate function template not viable: '
|
||||||
r'requires .*, but 2 (arguments )?were provided')
|
r'requires .*, but 2 (arguments )?were provided')
|
||||||
diagnosis = """
|
diagnosis = """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user