diff options
author | Abseil Team <absl-team@google.com> | 2021-04-09 22:04:11 (GMT) |
---|---|---|
committer | Dino Radaković <dinor@google.com> | 2021-04-13 03:14:19 (GMT) |
commit | c3fc92f0b7ad49ce59d804dc644dcb5ecbc0c29c (patch) | |
tree | cb1ce15f3f3d4d70365e9fb6593882d3e7f6c38a /googlemock/include/gmock/gmock-nice-strict.h | |
parent | ec7fa96f2952088aaed1ec0e63a0011befaabb95 (diff) | |
download | googletest-c3fc92f0b7ad49ce59d804dc644dcb5ecbc0c29c.zip googletest-c3fc92f0b7ad49ce59d804dc644dcb5ecbc0c29c.tar.gz googletest-c3fc92f0b7ad49ce59d804dc644dcb5ecbc0c29c.tar.bz2 |
Googletest export
Update docs to point to the github.io pages.
PiperOrigin-RevId: 367711335
Diffstat (limited to 'googlemock/include/gmock/gmock-nice-strict.h')
-rw-r--r-- | googlemock/include/gmock/gmock-nice-strict.h | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/googlemock/include/gmock/gmock-nice-strict.h b/googlemock/include/gmock/gmock-nice-strict.h index f6dbcc5..b03b770 100644 --- a/googlemock/include/gmock/gmock-nice-strict.h +++ b/googlemock/include/gmock/gmock-nice-strict.h @@ -137,12 +137,11 @@ class GTEST_INTERNAL_EMPTY_BASE_CLASS NiceMock : private internal::NiceMockImpl<MockClass>, public MockClass { public: - static_assert( - !internal::HasStrictnessModifier<MockClass>(), - "Can't apply NiceMock to a class hierarchy that already has a " - "strictness modifier. See " - "https://github.com/google/googletest/blob/master/docs/" - "gmock_cook_book.md#the-nice-the-strict-and-the-naggy-nicestrictnaggy"); + static_assert(!internal::HasStrictnessModifier<MockClass>(), + "Can't apply NiceMock to a class hierarchy that already has a " + "strictness modifier. See " + "https://google.github.io/googletest/" + "gmock_cook_book.html#NiceStrictNaggy"); NiceMock() : MockClass() { static_assert(sizeof(*this) == sizeof(MockClass), "The impl subclass shouldn't introduce any padding"); @@ -177,12 +176,11 @@ template <class MockClass> class GTEST_INTERNAL_EMPTY_BASE_CLASS NaggyMock : private internal::NaggyMockImpl<MockClass>, public MockClass { - static_assert( - !internal::HasStrictnessModifier<MockClass>(), - "Can't apply NaggyMock to a class hierarchy that already has a " - "strictness modifier. See " - "https://github.com/google/googletest/blob/master/docs/" - "gmock_cook_book.md#the-nice-the-strict-and-the-naggy-nicestrictnaggy"); + static_assert(!internal::HasStrictnessModifier<MockClass>(), + "Can't apply NaggyMock to a class hierarchy that already has a " + "strictness modifier. See " + "https://google.github.io/googletest/" + "gmock_cook_book.html#NiceStrictNaggy"); public: NaggyMock() : MockClass() { @@ -224,8 +222,8 @@ class GTEST_INTERNAL_EMPTY_BASE_CLASS StrictMock !internal::HasStrictnessModifier<MockClass>(), "Can't apply StrictMock to a class hierarchy that already has a " "strictness modifier. See " - "https://github.com/google/googletest/blob/master/docs/" - "gmock_cook_book.md#the-nice-the-strict-and-the-naggy-nicestrictnaggy"); + "https://google.github.io/googletest/" + "gmock_cook_book.html#NiceStrictNaggy"); StrictMock() : MockClass() { static_assert(sizeof(*this) == sizeof(MockClass), "The impl subclass shouldn't introduce any padding"); |