aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMLogger+ASLTest.m
diff options
context:
space:
mode:
authorGravatar thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2008-08-12 17:21:32 +0000
committerGravatar thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2008-08-12 17:21:32 +0000
commit7063d76a007fbf636250d7199d6f24ec487163b1 (patch)
tree5a1f2f0a4b597f62df3e2fe858d76d37b22bbe89 /Foundation/GTMLogger+ASLTest.m
parent43982f07ba6a0a9839e32e774855c9d2068e9d5e (diff)
- Added GTMNSMakeUncollectable for forcing objects to survive in a GC world.
- Added GTMCFAutorelease to make the [GTMNSMakeCollectable(cfFoo) autorelease] simpler and clearer, it's now just GTMCFAutorelease(cfFoo), and works in both GC and non-GC world. - Added GTMIsGarbageCollectionEnabled to GTMGarbageCollection.h. See the note there for it's usage. - Disabled the unittests for things on top of NSAppleScript in a GC world since Apple has bugs and it can crash. See the unittest for a note about it. - GTMStackTrace now can figure out ObjC symbols. Downside it is now ObjC only. - GTMFourCharCode can now be used with NSAppleEventDescriptors easily. typeType, typeKeyword, typeApplSignature, and typeEnumerated all get turned into GTMFourCharCodes. - Fixed up crash in GTMLoggerRingBufferWriter when used with GC on. - Significant updates to GTMNSAppleScript+Handler allowing you to list all handlers and properties (including inherited) and cleans up several errors in how scripting was being handled.
Diffstat (limited to 'Foundation/GTMLogger+ASLTest.m')
-rw-r--r--Foundation/GTMLogger+ASLTest.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/Foundation/GTMLogger+ASLTest.m b/Foundation/GTMLogger+ASLTest.m
index 97f7e29..cd32484 100644
--- a/Foundation/GTMLogger+ASLTest.m
+++ b/Foundation/GTMLogger+ASLTest.m
@@ -68,7 +68,6 @@ static NSMutableArray *gDummyLog; // weak
// dummy writer will save the messages w/ @level concatenated. The "level"
// will be the ASL level, not the GTMLogger level. GTMLogASLWriter will log
// all
- NSArray *log = gDummyLog;
NSArray *expected = [NSArray arrayWithObjects:
@"unknown@5",
@"debug@5",
@@ -77,7 +76,7 @@ static NSMutableArray *gDummyLog; // weak
@"assert@1",
nil];
- STAssertEqualObjects(log, expected, nil);
+ STAssertEqualObjects(gDummyLog, expected, nil);
gDummyLog = nil;
}