File: RSSKitTests.h

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 (33 lines) | stat: -rw-r--r-- 545 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
31
32
33
/** -*-objc-*-
 * RSSKit Test Suite by Guenther Noack
 *
 */

#import <Foundation/Foundation.h>
#import <UnitKit/UnitKit.h>
#import <RSSKit/RSSKit.h>


/**
 * A category that enables RSS Feeds to read feeds from the resources
 */
@interface RSSFeed (Resources)
+(id)feedWithResource: (NSString*)aResourceName;
-(id)initWithResource: (NSString*)aResourceName;
@end


#define FETCH(x) \
  RSSFeed* feed = \
    [RSSFeed feedWithResource: (x)]; \
  \
  [feed fetch]; \



@interface RSSKitTests : NSObject <UKTest> {
}

- (void) testNothing;
@end