Description[Mac] Better handling of nil for testing macros.
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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65710
Patch Set 1 #Patch Set 2 : Comment about unable to test EXPECT_NSNE(nil, nil). #
Messages
Total messages: 2 (0 generated)
|