Updated TODO.
[agg.git] / tests_usr / simple_t.sh
blobbd02ee2a3b0d05e17d0a74d468554198f126bd5f
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() { assert_exists feed; }
12 item_exists() { assert_exists feed/item; }
13 item_date() { assert_date feed/item 0; }
14 item_contents() { assert_value feed/item title item; }
16 echo "Running agg on simple feed (titles)..."
17 agg_run simple_t.rss
18 t feed_exists
19 t item_exists
20 t item_date
21 t item_contents