summaryrefslogtreecommitdiffstats
path: root/testing/gtest_mac_unittest.mm
Commit message (Collapse)AuthorAgeFilesLines
* Fix GTestMac.AssertNSEQ on Mac 64.avi@chromium.org2013-05-291-4/+4
| | | | | | | | | | | Switch to NSStrings; NSNumbers may be tagged pointers. BUG=244703 TEST=Mac 64 tester goes green Review URL: https://chromiumcodereview.appspot.com/15690016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202944 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Fix a -Wobjc-redundant-literal-use warningthakis@chromium.org2012-03-141-2/+2
| | | | | | | | | | BUG=none TEST=none TBR=rsesek Review URL: http://codereview.chromium.org/9706027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126722 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Better handling of nil for testing macros.shess@chromium.org2010-11-101-0/+10
| | | | | | | | | | | | | | EXPECT_NSEQ() and EXPECT_NSNE() were implemented in terms of [x isEqual:y]. This meant that EXPECT_NSEQ(nil, nil) failed, and EXPECT_NSNE(nil, nil) succeeded. Add additional tests against the raw pointers to resolve this. BUG=none TEST=none Review URL: http://codereview.chromium.org/4697004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65710 0039d316-1c4b-4281-b951-d872f2087c98
* Move scoped_nsdisable_screen_update from base to app/macbrettw@chromium.org2010-10-181-5/+5
| | | | | | | | | | | Move scoped_aedesc from base to base/mac Use namespace and proper Google-style class naming. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3828009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62904 0039d316-1c4b-4281-b951-d872f2087c98
* This adds adds four macros when compiling using GTEST_OS_MAC:rsesek@chromium.org2010-08-061-0/+47
{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