From 2f6721bf5bd7d5c853279db40b1fb15ded4745a2 Mon Sep 17 00:00:00 2001 From: NotZed Date: Tue, 29 Feb 2000 20:16:02 +0000 Subject: Added test program. 2000-02-29 NotZed * tests/ui-tests/Makefile.am (filter_LDADD): Added test program. * tests/ui-tests/filterdescription.xml, saveoptions.xml: Data files for test program. * tests/ui-tests/filter.c (main): Test program for filter ui. svn path=/trunk/; revision=1992 --- tests/ui-tests/filterdescription.xml | 81 ++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 tests/ui-tests/filterdescription.xml (limited to 'tests/ui-tests/filterdescription.xml') diff --git a/tests/ui-tests/filterdescription.xml b/tests/ui-tests/filterdescription.xml new file mode 100644 index 0000000000..684e1e085f --- /dev/null +++ b/tests/ui-tests/filterdescription.xml @@ -0,0 +1,81 @@ + + + + + + (match-all (header-contains "From" ${sender})) + + When the from address matches sender(s). + + + + + (match-all (header-contains "To" ${receipient})) + + When the to address matches receipients. + + + + + (match-all (header-contains "CC" ${self-email})) + + When I am in the cc list. + + + + + (& (> message-size (size-lower size-range)) + (< message-size (size-uppwer size-range))) + + When the message is a certain size. + + + + + + + (copy-to ${folder}) + + Send me a copy, to folder. + + + + + + + (match-all (not (header-contains "To" "zucchi@zedzone"))) + + When I am the receipient. + + + + + + + + +