"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "googletest/test/production.h" between
googletest-release-1.11.0.tar.gz and googletest-release-1.12.0.tar.gz

About: GoogleTest is Google's (unit) testing and mocking framework for C++ tests.

production.h  (googletest-release-1.11.0):production.h  (googletest-release-1.12.0)
skipping to change at line 49 skipping to change at line 49
public: public:
// Declares a friend test that does not use a fixture. // Declares a friend test that does not use a fixture.
FRIEND_TEST(PrivateCodeTest, CanAccessPrivateMembers); FRIEND_TEST(PrivateCodeTest, CanAccessPrivateMembers);
// Declares a friend test that uses a fixture. // Declares a friend test that uses a fixture.
FRIEND_TEST(PrivateCodeFixtureTest, CanAccessPrivateMembers); FRIEND_TEST(PrivateCodeFixtureTest, CanAccessPrivateMembers);
PrivateCode(); PrivateCode();
int x() const { return x_; } int x() const { return x_; }
private: private:
void set_x(int an_x) { x_ = an_x; } void set_x(int an_x) { x_ = an_x; }
int x_; int x_;
}; };
#endif // GOOGLETEST_TEST_PRODUCTION_H_ #endif // GOOGLETEST_TEST_PRODUCTION_H_
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)