source: trunk/moap/test/Makefile.am @ 230

Revision 230, 825 bytes checked in by thomas, 6 years ago (diff)
  • moap/command/doap.py (Rss.do): break into two lines
  • moap/doap/rss.py (doapsToRss, createdToPubDate, cheetah_toRss): Make the two template language's output as similar as possible.
  • moap/test/Makefile.am:
  • moap/test/rss/mach.rss.cheetah:
  • moap/test/rss/mach.rss.genshi: Add two rss feeds based on the two templating languages.
  • moap/test/test_commands_doap.py (TestDoapMach?.setUp, TestDoapMach?.testRssGenshi, TestDoapMach?.testRssCheetah): Add tests for the specific template languages. Coverage: 72 % ( 844 / 1157)
RevLine 
[227]1CLEANFILES = *.py{c,o}
2
[35]3EXTRA_DIST = \
4        __init__.py \
5        common.py \
6        test_commands_cl.py \
[180]7        test_commands_doap.py \
[35]8        test_doap_doap.py \
[129]9        test_util_ctags.py \
[205]10        test_util_distro.py \
[35]11        test_util_util.py \
[58]12        test_vcs_cvs.py \
[185]13        test_vcs_darcs.py \
[35]14        test_vcs_svn.py \
[110]15        test_bash_completion.sh \
[35]16        ChangeLog \
17        ChangeLog/ChangeLog.moap \
[132]18        ChangeLog/ChangeLog.moap.2 \
[35]19        ChangeLog/ChangeLog.gst-plugins-good \
20        ChangeLog/ChangeLog.gstreamer \
[127]21        doap/mach.doap \
[180]22        ical/mach.ical \
[230]23        rss/mach.rss.cheetah \
24        rss/mach.rss.genshi \
[127]25        diff/svn_add_one_line.diff \
[215]26        diff/svn_multiple.diff \
27        prepare/mail.py \
28        prepare/mail.patch
[228]29
30# re-generation of test files when needed
31%.regenerate:
32        rm $*
33        make $*
34
[230]35rss/mach.rss.cheetah:
36        moap doap -f doap/mach.doap rss -t cheetah > $@
37
38rss/mach.rss.genshi:
39        moap doap -f doap/mach.doap rss -t genshi > $@
Note: See TracBrowser for help on using the repository browser.