diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2013-12-19 21:30:10 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2013-12-19 21:30:10 +0000 |
commit | 9b8635767148b3f95942593bfeefa86f147d2c53 (patch) | |
tree | 357cf2390edbb1d150830133228cda393203ee48 /AppKit/GTMLargeTypeWindowTest.m | |
parent | ca3d74790bcf2d42bc6a9c3dc653c7e8a485705c (diff) |
Fix build of Mac GTM project with static analyzer. Remove GTMGarbageCollection. Remove GC build configs. Remove internal dependence on GTMObjectSingleton.
DELTA=447 (49 added, 296 deleted, 102 changed)
Diffstat (limited to 'AppKit/GTMLargeTypeWindowTest.m')
-rw-r--r-- | AppKit/GTMLargeTypeWindowTest.m | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/AppKit/GTMLargeTypeWindowTest.m b/AppKit/GTMLargeTypeWindowTest.m index 442fbac..a60c791 100644 --- a/AppKit/GTMLargeTypeWindowTest.m +++ b/AppKit/GTMLargeTypeWindowTest.m @@ -20,7 +20,6 @@ #import "GTMLargeTypeWindow.h" #import "GTMNSObject+UnitTesting.h" #import "GTMUnitTestDevLog.h" -#import "GTMGarbageCollection.h" #import "GTMSystemVersion.h" NSString *const kLongTextBlock = @@ -58,21 +57,8 @@ NSString *const kShortTextBlock = @"Short"; @implementation GTMLargeTypeWindowTest - (BOOL)shouldDoAnimateCopy { - // NOTE: Animated copy tests are disabled when GC is on. - // See the comment/warning in the GTMLargeTypeWindow.h for more details, - // but we disable them to avoid the tests failing (crashing) when it's Apple's - // bug. Please bump the system check as appropriate when new systems are - // tested. Currently broken on 10.5.6 and below. - // Radar 6137322 CIFilter crashing when run with GC enabled - SInt32 major, minor, bugfix; - [GTMSystemVersion getMajor:&major minor:&minor bugFix:&bugfix]; - if (!(GTMIsGarbageCollectionEnabled() - && major <= 10 && minor <= 5 && bugfix <= 6)) { - return YES; - } else { - NSLog(@"--- animated copy not run because of GC incompatibilites ---"); - return NO; - } + // This method previously checked for incompatibilities with garbage collection. + return YES; } - (void)setUp { |