Updated TODO.
[agg.git] / tests_usr / nomtime.sh
blobf0912c2b85b27ce7fc478fa2b728d8a2f9f9fcc4
1 #!/bin/sh
2 # Copyright (C) 2011 Andreas Waidler <arandes@programmers.at>
4 # DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
5 # TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
7 # 0. You just DO WHAT THE FUCK YOU WANT TO.
9 . ./libtests.sh
11 feed_exists_f() { assert_exists "feed '\" feed!?"; }
12 feed_item_exists_f() { assert_exists "feed '\" feed!?/item"; }
13 feed_item_delete_f() { assert_delete "feed '\" feed!?/item"; }
15 feed_item_exists_t() { assert_exists "feed/item '\" !?"; }
16 feed_item_delete_t() { assert_delete "feed/item '\" !?"; }
18 echo "Running agg on feed with special characters in title..."
19 agg_run special_f.rss
20 t feed_exists_f
21 t feed_item_exists_f
22 t feed_item_delete_f
24 echo "Running agg on feed with special characters in item title..."
25 agg_run special_t.rss
26 t feed_item_exists_t
27 t feed_item_delete_t
29 ## FIXME: The following feed could not be handled by agg,
30 ## because date after desc without title.
31 ## write a acceptance test for this case (that
32 ## either fails or passes).
33 #echo "Running agg on feed with special characters in item description..."
34 #agg_run special_d.rss
35 #t feed_item_exists_t
36 #t feed_item_delete_t