comipayan / googletest

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

TEST macro name conflicts with similar macro in UnitTest++ #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
UnitTest++ also defines macro named TEST. We need to provide a way to hide
gtest's definition.

This is important when gtest is pulled in as gmock's dependency and gmock
is used with UnitTest++.

Original issue reported on code.google.com by vladlosev on 9 Jul 2009 at 8:12

GoogleCodeExporter commented 9 years ago
A related patch is attached, which allows GMock to use GTest without requiring 
the
inclusion of gtest.h. Also, a patch for GMock to accommodate this change.

See 
http://groups.google.com/group/googlemock/browse_thread/thread/a00d4c0b7a8c4ac5

This is by no means the best way of doing it, it's just what I came up with by
tweaking it until it worked. ;)

Original comment by Kibi...@gmail.com on 10 Jul 2009 at 1:33

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by w...@google.com on 26 Feb 2010 at 7:13

GoogleCodeExporter commented 9 years ago
This doesn't affect people.  We don't have the time to do it.

Original comment by w...@google.com on 6 Mar 2010 at 6:14

GoogleCodeExporter commented 9 years ago
Oops, I meant to say "This doesn't affect many people."

Original comment by w...@google.com on 6 Mar 2010 at 6:18