Paste number 19409: WebView and OCUnit

Index of paste annotations: 1

Paste number 19409: WebView and OCUnit
Pasted by: Mike
When:4 years, 3 months ago
Share:Tweet this! | http://paste.lisp.org/+EZ5
Channel:None
Paste contents:
Raw Source | XML | Display As
@implementation LJavaScriptBridgeTest

-(LJavaScriptBridge* )setup
{
	LJavaScriptBridge* fTestBridge = [[LJavaScriptBridge alloc] init];
	
	return fTestBridge;
}

- (void)testRoot
{	
	if([self setup])
	{
		[self performSelector:@selector(parse) withObject:nil afterDelay:4];
	}
	
	
}

-(void )parse
{
	NSString *result = [fTestBridge doCommand:@"Upper" forReference:@"foo"];
	STAssertEqualObjects(result,@"FOO",nil);

	[fTestBridge release];
}

@end

Annotations for this paste:

Annotation number 1: WebView and OCUnit
Pasted by: Mike
When:4 years, 3 months ago
Share:Tweet this! | http://paste.lisp.org/+EZ5/1
Paste contents:
Raw Source | Display As
- (void)testRoot
{	
	if([self setup])
	{	
		NSString *result = [fTestBridge doCommand:@"Upper" forReference:@"foo"];
		STAssertEqualObjects(result,@"FOO",nil);
	}
}

Colorize as:
Show Line Numbers
Index of paste annotations: 1

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.