GoogleTest - Google Testing and Mocking Framework
Find a file
tsunanet b50737183f Change a few visibilities to work around a bug in g++ 3.4.2.
It looks like this version of g++ is confused by the local class generated
by the TEST_F macro and it can't tell that we're in a method that inherits
the class we want to access.

This bug causes the following kind of error:
../samples/../test/gtest_unittest.cc: In static member function `static void
<unnamed>::ExpectFatalFailureTest_CatchesFatalFaliure_Test::TestBody()::GTestExpectFatalFailureHelper::Execute()':
../samples/../test/gtest_unittest.cc:799: error: `static void
<unnamed>::ScopedFakeTestPartResultReporterTest::AddFailure(<unnamed>::ScopedFakeTestPartResultReporterTest::FailureMode)'
is protected
../samples/../test/gtest_unittest.cc:883: error: within this context

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
2009-05-18 20:53:57 +00:00
branches Propagates change in r214 from trunk to branches/release-1.3: 2009-03-18 22:26:03 +00:00
tags Merges changes in r214 from branches/release-1.3 to tags/release-1.3.0: 2009-03-18 22:27:22 +00:00
trunk Change a few visibilities to work around a bug in g++ 3.4.2. 2009-05-18 20:53:57 +00:00
wiki wiki change: fixes an internal link. 2009-05-12 18:11:07 +00:00