aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMCarbonEventTest.m
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-02-01 23:05:42 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-02-01 23:05:42 +0000
commite11d9defc1af0936ec49d88b0681ac603a52a4f5 (patch)
treeed829983e9d54e3dae1aa5c41c1db019c9d08980 /AppKit/GTMCarbonEventTest.m
parent76fd218ed7de691f674c73b690c50f64cb8e898d (diff)
[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)
Diffstat (limited to 'AppKit/GTMCarbonEventTest.m')
-rw-r--r--AppKit/GTMCarbonEventTest.m14
1 files changed, 0 insertions, 14 deletions
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