Skip to content

Commit 90a4152

Browse files
Abseil Teamcopybara-github
Abseil Team
authored andcommitted
gtest: Remove incorrect documentation of private headers as PIMPL idiom
PiperOrigin-RevId: 753626014 Change-Id: I3ef90e13b08d5a22d3b220a4e8fbb78df92deb0a
1 parent 04ee1b4 commit 90a4152

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/advanced.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1471,10 +1471,7 @@ To test them, we use the following special techniques:
14711471

14721472
Another way to test private members is to refactor them into an
14731473
implementation class, which is then declared in a `*-internal.h` file. Your
1474-
clients aren't allowed to include this header but your tests can. Such is
1475-
called the
1476-
[Pimpl](https://www.gamedev.net/articles/programming/general-and-gameplay-programming/the-c-pimpl-r1794/)
1477-
(Private Implementation) idiom.
1474+
clients aren't allowed to include this header but your tests can.
14781475

14791476
Or, you can declare an individual test as a friend of your class by adding
14801477
this line in the class body:

0 commit comments

Comments
 (0)