aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests/folder
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2001-02-08 11:53:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-02-08 11:53:15 +0800
commit5870f8ab9bf6e0365e34fa270f3b23fac592bd30 (patch)
tree9755ed60d1df1987594edfb8d256ceaab572a425 /camel/tests/folder
parent5e15f4ae88a99e73a1353534ff5630526609dcd3 (diff)
downloadgsoc2013-evolution-5870f8ab9bf6e0365e34fa270f3b23fac592bd30.tar
gsoc2013-evolution-5870f8ab9bf6e0365e34fa270f3b23fac592bd30.tar.gz
gsoc2013-evolution-5870f8ab9bf6e0365e34fa270f3b23fac592bd30.tar.bz2
gsoc2013-evolution-5870f8ab9bf6e0365e34fa270f3b23fac592bd30.tar.lz
gsoc2013-evolution-5870f8ab9bf6e0365e34fa270f3b23fac592bd30.tar.xz
gsoc2013-evolution-5870f8ab9bf6e0365e34fa270f3b23fac592bd30.tar.zst
gsoc2013-evolution-5870f8ab9bf6e0365e34fa270f3b23fac592bd30.zip
Added more test rules.
svn path=/trunk/; revision=8102
Diffstat (limited to 'camel/tests/folder')
-rw-r--r--camel/tests/folder/test3.c2
-rw-r--r--camel/tests/folder/test9.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/camel/tests/folder/test3.c b/camel/tests/folder/test3.c
index c29ef00a43..99369e5317 100644
--- a/camel/tests/folder/test3.c
+++ b/camel/tests/folder/test3.c
@@ -77,6 +77,8 @@ static struct {
int counts[3];
char *expr;
} searches[] = {
+ { { 1, 1, 0 }, "(header-matches \"subject\" \"Test1 message99 subject\")" },
+
{ { 100, 50, 0 }, "(header-contains \"subject\" \"subject\")" },
{ { 0, 0, 0 }, "(header-contains \"subject\" \"Subject\")" },
diff --git a/camel/tests/folder/test9.c b/camel/tests/folder/test9.c
index 46d398d6ab..3b757815b0 100644
--- a/camel/tests/folder/test9.c
+++ b/camel/tests/folder/test9.c
@@ -49,6 +49,7 @@ struct {
{ "stop", "(body-contains \"data2\")", "(stop)" },
{ "notreached1", "(body-contains \"data2\")", "(move-to \"folder2\")" },
{ "count1", "(body-contains \"data3\")", "(move-to \"folder2\")" },
+ { "ustrcasecmp", "(header-matches \"Subject\" \"Test0 message100 subject\")", "(copy-to \"folder2\")" },
};
/* broken match rules */