Fixes link errors due to an MS VC bug. By Vlad Losev.

This commit is contained in:
zhanyong.wan
2009-02-19 22:30:22 +00:00
parent 4a5330d3d6
commit 38ca64dd5f
9 changed files with 735 additions and 129 deletions

View File

@@ -27,11 +27,14 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Author: wan@google.com (Zhanyong Wan)
// Author: wan@google.com (Zhanyong Wan), vladl@google.com (Vlad Losev)
// This file is for verifying that a header file defining a mock class
// can be included in multiple translation units without causing a
// link error. It doesn't have to actually do anything - we are only
// checking that the test links correctly.
// Google Mock - a framework for writing C++ mock classes.
//
// This file is for verifying that various Google Mock constructs do not
// produce linker errors when instantiated in different translation units.
// Please see gmock_link_test.h for details.
#include "test/gmock-sample.h"
#define LinkTest LinkTest1
#include "test/gmock_link_test.h"