From e11d9defc1af0936ec49d88b0681ac603a52a4f5 Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Mon, 1 Feb 2010 23:05:42 +0000 Subject: [Author: dmaclach] Removed unit test that was causing a leak that we would never see in run time code. R=thomasvl DELTA=14 (0 added, 14 deleted, 0 changed) --- AppKit/GTMCarbonEventTest.m | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'AppKit/GTMCarbonEventTest.m') diff --git a/AppKit/GTMCarbonEventTest.m b/AppKit/GTMCarbonEventTest.m index f7b4d54..261b2d3 100644 --- a/AppKit/GTMCarbonEventTest.m +++ b/AppKit/GTMCarbonEventTest.m @@ -273,20 +273,6 @@ static const UInt32 kTestParameterValue = 'bam '; action:nil whenPressed:YES], @"Shouldn't have created hotkey"); -#if DEBUG - // This tests debug selector validation, so we only can do it in debug. - [GTMUnitTestDevLogDebug expectPattern:@"RecordedNSAssert in " - @"GTMAssertSelectorNilOrImplementedWithReturnTypeAndArguments - " - @"\"GTMCarbonEventDispatcherHandlerTest\" selector \"badSelector:\" is " - @"unimplemented or misnamed \\(.*/GTMDebugSelectorValidation.h:[0-9]*\\)"]; - STAssertThrowsSpecificNamed([dispatcher registerHotKey:0x5 - modifiers:keyMods - target:self - action:@selector(badSelector:) - whenPressed:YES], - NSException, NSInternalInconsistencyException, - @"Shouldn't have created hotkey"); -#endif hotKey = [dispatcher registerHotKey:0x5 modifiers:keyMods target:self -- cgit v1.2.3