Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
6e108721
Commit
6e108721
authored
Jul 28, 2015
by
kosak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename custom/callback-actions.h[.pump] =>
custom/gmock-generated-actions.h[.pump].
parent
01db9d46
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
16 deletions
+16
-16
gmock-generated-actions.h
include/gmock/gmock-generated-actions.h
+2
-2
gmock-generated-actions.h.pump
include/gmock/gmock-generated-actions.h.pump
+1
-1
callback-actions.h
include/gmock/internal/custom/callback-actions.h
+0
-8
gmock-generated-actions.h
include/gmock/internal/custom/gmock-generated-actions.h
+8
-0
gmock-generated-actions.h.pump
include/gmock/internal/custom/gmock-generated-actions.h.pump
+3
-3
gmock_doctor.py
scripts/gmock_doctor.py
+2
-2
No files found.
include/gmock/gmock-generated-actions.h
View file @
6e108721
...
...
@@ -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_
include/gmock/gmock-generated-actions.h.pump
View file @
6e108721
...
...
@@ -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_
include/gmock/internal/custom/callback-actions.h
deleted
100644 → 0
View file @
01db9d46
// 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_
include/gmock/internal/custom/gmock-generated-actions.h
0 → 100644
View file @
6e108721
// 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_
include/gmock/internal/custom/
callback
-actions.h.pump
→
include/gmock/internal/custom/
gmock-generated
-actions.h.pump
View file @
6e108721
...
...
@@ -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_
scripts/gmock_doctor.py
View file @
6e108721
...
...
@@ -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'.*\b
callback
-actions\.h:\d+:\d+:\s+'
r'.*\b
gmock-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'.*\b
callback
-actions\.h:\d+:\d+: '
r'.*\b
gmock-generated
-actions\.h:\d+:\d+: '
r'note: candidate function template not viable: '
r'requires .*, but 2 (arguments )?were provided'
)
diagnosis
=
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment