diff options
author | thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2008-09-10 21:04:47 +0000 |
---|---|---|
committer | thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2008-09-10 21:04:47 +0000 |
commit | bfaf8705cccb15c0c2a7704b17ba011ddba8242f (patch) | |
tree | b48e104487ee5e29522da1bce6accafa007e29cf /Foundation/GTMNSString+ReplaceTest.m | |
parent | 0f0f40db85a2c295a9b6dc1623cd76106a4448a5 (diff) |
- Added GTMExceptionalInlines for dealing with cases where you get
warning: variable 'r' might be clobbered by 'longjmp' or 'vfork'
when using certain Apple inlined functions in @synchronized/@try blocks.
- Updated to Xcode 3.1 so the GTM and iPhone project have the same baseline.
The code should work in other version of xcode, but the projects and
xcconfig files now use 3.1 features.
- Added GTMABAddressBook which is a cocoa wrapper for the 'C' AddressBook
APIs on the iPhone.
- Added several set environment variable statements to RunIPhoneUnitTest.sh
to encourage bugs to come out of the woodwork.
Diffstat (limited to 'Foundation/GTMNSString+ReplaceTest.m')
-rw-r--r-- | Foundation/GTMNSString+ReplaceTest.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Foundation/GTMNSString+ReplaceTest.m b/Foundation/GTMNSString+ReplaceTest.m index e814040..805136c 100644 --- a/Foundation/GTMNSString+ReplaceTest.m +++ b/Foundation/GTMNSString+ReplaceTest.m @@ -24,6 +24,8 @@ @implementation GTMNSString_ReplaceTest +#if MAC_OS_X_VERSION_MIN_REQUIRED < 1050 + - (void)testStringByReplacingStringWithString { NSString *testString = @"a bc debc gh"; NSString *result; @@ -52,4 +54,6 @@ @"replacing '' with anything should yield the original string"); } +#endif // MAC_OS_X_VERSION_MIN_REQUIRED < 1050 + @end |