lanfuchao / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Fix example #499

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Either fix the primer documentation so it compiles or make it clear its not a 
real/working example.

Page:
https://code.google.com/p/googletest/wiki/V1_5_Primer
Section: Writing the main() Function

Issue: The sample primer code will not compile
 Foo f; -> FooTest f;

Issue: 
missing:
#include <string>
using namespace std;

Issue: constructor for FooTest is protected so unless there's another way to 
create object needs to be public

Original issue reported on code.google.com by macfa...@gmail.com on 3 Sep 2015 at 4:43

GoogleCodeExporter commented 9 years ago
This project has moved to http://github.com/google/googletest.
There's no support here.

v1.5.0 is incredibly ancient and we're not going to make any changes to it.
It's just going to be deleted at some point.

Original comment by billydon...@google.com on 4 Sep 2015 at 5:39