-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade GTest/GMock to v1.10 #841
Labels
test
A module/integration/stress/etc test for a component
Comments
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 4, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 4, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 4, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 4, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 4, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 4, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 4, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 4, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 4, 2022
20 tasks
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 7, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 7, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 7, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 7, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 7, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 7, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 7, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 7, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 7, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 7, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 11, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 11, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 11, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 11, 2022
elBoberido
added a commit
to ApexAI/iceoryx
that referenced
this issue
Jan 11, 2022
elBoberido
added a commit
that referenced
this issue
Jan 11, 2022
…v1.10 Iox #841 upgrade gtest gmock to v1.10
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Brief feature description
GTest/GMock v1.10 introduced some new features which makes especially writing mocks a lot easier.
Detailed information
With GMock v1.8 it is quite cumbersome to mock methods with the
noexcept
specifier since it is not possible to use theMOCK_METHOD
directly and a delegation is needed. Since iceoryx uses this specifier all over the place its a PITA to write mocks with GMock v1.8Assuming you want to mock the following class
With GMock v1.8 the mock looks like this
With GMock v1.10 it is much simpler
Furthermore,
override
can also directly be used, which helps to write more robust mocks.Last but not least, we already use GTest/GMock v1.10 for Windows since v1.8 has issues on this platform.
The text was updated successfully, but these errors were encountered: