TODO: Acceptance tests shall use config.h
[agg.git] / tests_usr / simple_d.sh
blob16f33af349ac0390c819c30f6514ef42a6953864
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 desc item; }
17 echo "Running agg on simple feed (descriptions)..."
18 agg_run simple_d.rss
19 t feed_exists
20 t item_exists
21 t item_date
22 t item_contents