adium/adium
Clone
Summary
Browse
Changes
Graph
Some more fixes to ESObjectWithProperties:
2012-08-08, Thijs Alkemade
f9f4bea878af
Some more fixes to ESObjectWithProperties:
- Remove incorrect cast to NSInteger
- Zero-initialize the buffers
- Remove redundant code where calling methods nil would be work
#define AISimplifiedAssertEqualObjects(objectToTest, objectToExpect, message) \
STAssertEqualObjects((objectToTest), (objectToExpect), @"%s: %@: Expected %C%@%C; got %C%@%C", __PRETTY_FUNCTION__, message,
/*open quote*/
0x201C, (objectToExpect),
/*close quote*/
0x201D,
/*open quote*/
0x201C, (objectToTest),
/*close quote*/
0x201D);