File: RSSKitTests.m

package info (click to toggle)
rsskit 0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 656 kB
  • ctags: 572
  • sloc: objc: 2,041; makefile: 48; sh: 4
file content (30 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#import "RSSKitTests.h"
#import "GNUstep.h"

@implementation RSSFeed (Resources)
+(id)feedWithResource: (NSString*)aResourceName
{
  return AUTORELEASE([[self alloc] initWithResource: aResourceName]);
}
-(id)initWithResource: (NSString*)aResourceName
{
  NSBundle* testsBundle = [NSBundle bundleForClass: [RSSKitTests class]];
  NSString* res = [testsBundle pathForResource: aResourceName ofType: @"xml"];
  
  NSURL* url = [NSURL fileURLWithPath: res];
  
  return [self initWithURL: url];
}
@end



@implementation RSSKitTests

- (void) testNothing
{
//  UKFail();
}

@end