Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Googletest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Meng
Googletest
Commits
1a9c3e44
Commit
1a9c3e44
authored
4 years ago
by
vslashg
Browse files
Options
Downloads
Plain Diff
Merge pull request #2830 from keshavgbpecdelhi:patch-1
PiperOrigin-RevId: 309951872
parents
a9f6c1ed
4bab55dc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
googlemock/README.md
+16
-16
16 additions, 16 deletions
googlemock/README.md
with
16 additions
and
16 deletions
googlemock/README.md
+
16
−
16
View file @
1a9c3e44
...
...
@@ -7,26 +7,26 @@ derive better designs of your system and write better tests.
It is inspired by:
*
[
jMock
](
http://www.jmock.org/
)
,
*
[
EasyMock
](
http://www.easymock.org/
)
, and
*
[
Hamcrest
](
http://code.google.com/p/hamcrest/
)
,
*
[
jMock
](
http://www.jmock.org/
)
*
[
EasyMock
](
http://www.easymock.org/
)
*
[
Hamcrest
](
http://code.google.com/p/hamcrest/
)
and
designed with C++'s specifics in mind.
It is
designed with C++'s specifics in mind.
gMock:
-
p
rovides a declarative syntax for defining mocks
,
-
c
an define partial (hybrid) mocks, which are a cross of real and mock
objects
,
-
h
andles functions of arbitrary types and overloaded functions
,
-
c
omes with a rich set of matchers for validating function arguments
,
-
u
ses an intuitive syntax for controlling the behavior of a mock
,
-
d
oes automatic verification of expectations (no record-and-replay needed)
,
-
a
llows arbitrary (partial) ordering constraints on function calls to be
expressed
,
-
l
ets a user extend it by defining new matchers and actions.
-
d
oes not use exceptions
, and
-
i
s easy to learn and use.
-
P
rovides a declarative syntax for defining mocks
.
-
C
an define partial (hybrid) mocks, which are a cross of real and mock
objects
.
-
H
andles functions of arbitrary types and overloaded functions
.
-
C
omes with a rich set of matchers for validating function arguments
.
-
U
ses an intuitive syntax for controlling the behavior of a mock
.
-
D
oes automatic verification of expectations (no record-and-replay needed)
.
-
A
llows arbitrary (partial) ordering constraints on function calls to be
expressed
.
-
L
ets a user extend it by defining new matchers and actions.
-
D
oes not use exceptions
.
-
I
s easy to learn and use.
Details and examples can be found here:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment