summaryrefslogtreecommitdiffstats
path: root/testing/gtest.gyp
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 02:39:26 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 02:39:26 +0000
commitecebcc98e796f701420d7f41f02d04e11bd284bf (patch)
treea8082cb4f3a0660be60a9c6e5901550e17e48850 /testing/gtest.gyp
parent8abe765d6e082259fd79c2c1cb4834733651a677 (diff)
downloadchromium_src-ecebcc98e796f701420d7f41f02d04e11bd284bf.zip
chromium_src-ecebcc98e796f701420d7f41f02d04e11bd284bf.tar.gz
chromium_src-ecebcc98e796f701420d7f41f02d04e11bd284bf.tar.bz2
This adds adds four macros when compiling using GTEST_OS_MAC:
{ASSERT,EXPECT}_NS{NE,EQ}. These test ObjC objects using |-isEqual:| and prints failures using the |-description| selector. This allows for better debugging output with ObjC++ test cases. BUG=http://code.google.com/p/googletest/issues/detail?id=303 TEST=Covered by unit tests. Review URL: http://codereview.chromium.org/3028047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55180 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing/gtest.gyp')
-rw-r--r--testing/gtest.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/gtest.gyp b/testing/gtest.gyp
index c8f64e5..a6b28f0 100644
--- a/testing/gtest.gyp
+++ b/testing/gtest.gyp
@@ -51,6 +51,8 @@
'conditions': [
['OS == "mac"', {
'sources': [
+ 'gtest_mac.h',
+ 'gtest_mac.mm',
'platform_test_mac.mm'
],
'link_settings': {