aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMLargeTypeWindowTest.m
diff options
context:
space:
mode:
Diffstat (limited to 'AppKit/GTMLargeTypeWindowTest.m')
-rw-r--r--AppKit/GTMLargeTypeWindowTest.m18
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 {