File: RSSTests.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-- 511 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 "RSSTests.h"
#import "GNUstep.h"

@implementation RSSTests

-(void)testChannelTitle
{
  FETCH(@"channel_title");
  UKStringsEqual([feed description], @"Example feed");
}

-(void)testChannelTitleApos
{
  FETCH(@"channel_title");
  UKStringsEqual([feed description], @"Mark's title");
}

-(void)testChannelTitleGt
{
  FETCH(@"channel_title");
  UKStringsEqual([feed description], @"2 > 1");
}

-(void)testChannelTitleLt
{
  FETCH(@"channel_title");
  UKStringsEqual([feed description], @"1 < 2");
}

@end