Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8dad29758b
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (25 sloc) 0.542 kb
//
// GHTestLogTest.m
// GHUnitIPhone
//
// Created by Gabriel Handford on 7/30/09.
// Copyright 2009. All rights reserved.
//
#import "GHTestCase.h"
@interface GHTestLogTest : GHTestCase { }
@end
@implementation GHTestLogTest
- (void)testLog {
for(NSInteger i = 0; i < 30; i++) {
GHTestLog(@"Line: %d", i);
[NSThread sleepForTimeInterval:0.01];
}
}
- (void)testNSLog {
for(NSInteger i = 0; i < 5; i++) {
NSLog(@"Using NSLog: %d", i);
fputs([@"stdout\n" UTF8String], stdout);
fflush(stdout);
}
}
@end
Jump to Line
Something went wrong with that request. Please try again.