commit | ecebcc98e796f701420d7f41f02d04e11bd284bf | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Fri Aug 06 02:39:26 2010 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Fri Aug 06 02:39:26 2010 |
tree | a8082cb4f3a0660be60a9c6e5901550e17e48850 | |
parent | 8abe765d6e082259fd79c2c1cb4834733651a677 [diff] |
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