Gakaza/googletest

Fix example

Opened this issue · 1 comments

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

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