Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
1a9c3e44
Commit
1a9c3e44
authored
May 05, 2020
by
vslashg
Browse files
Merge pull request #2830 from keshavgbpecdelhi:patch-1
PiperOrigin-RevId: 309951872
parents
a9f6c1ed
4bab55dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
googlemock/README.md
googlemock/README.md
+16
-16
No files found.
googlemock/README.md
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:
...
...
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