Using XCTAssertEqual on NSString* objects is almost always wrong. Unfortunately, we have seen a lot of tests doing this and reyling on pointer equality for strings with the same values (which happens to work sometimes - depending on the linker, but this assumption is not guaranteed by the language) These fixes would make tests less brittle. Differential Revision: https://reviews.llvm.org/D114975 |
||
|---|---|---|
| .. | ||
| AssertEquals.cpp | ||
| AssertEquals.h | ||
| AvoidNSErrorInitCheck.cpp | ||
| AvoidNSErrorInitCheck.h | ||
| CMakeLists.txt | ||
| DeallocInCategoryCheck.cpp | ||
| DeallocInCategoryCheck.h | ||
| ForbiddenSubclassingCheck.cpp | ||
| ForbiddenSubclassingCheck.h | ||
| MissingHashCheck.cpp | ||
| MissingHashCheck.h | ||
| NSInvocationArgumentLifetimeCheck.cpp | ||
| NSInvocationArgumentLifetimeCheck.h | ||
| ObjCTidyModule.cpp | ||
| PropertyDeclarationCheck.cpp | ||
| PropertyDeclarationCheck.h | ||
| SuperSelfCheck.cpp | ||
| SuperSelfCheck.h | ||