Imported Upstream version 2.5.11
[libapache-mod-security.git] / apache2 / t / op / contains.t
1 ### Empty
2 {
3         type => "op",
4         name => "contains",
5         param => "",
6         input => "",
7         ret => 1,
8 },
9 {
10         type => "op",
11         name => "contains",
12         param => "TestCase",
13         input => "",
14         ret => 0,
15 },
16 {
17         type => "op",
18         name => "contains",
19         param => "",
20         input => "TestCase",
21         ret => 1,
22 },
23
24 ### General
25 {
26         type => "op",
27         name => "contains",
28         param => "abc",
29         input => "abcdefghi",
30         ret => 1,
31 },
32 {
33         type => "op",
34         name => "contains",
35         param => "def",
36         input => "abcdefghi",
37         ret => 1,
38 },
39 {
40         type => "op",
41         name => "contains",
42         param => "ghi",
43         input => "abcdefghi",
44         ret => 1,
45 },
46 {
47         type => "op",
48         name => "contains",
49         param => "ghij",
50         input => "abcdefghi",
51         ret => 0,
52 },
53 {
54         type => "op",
55         name => "contains",
56         param => "x",
57         input => "x",
58         ret => 1,
59 },
60 {
61         type => "op",
62         name => "contains",
63         param => "y",
64         input => "xyz",
65         ret => 1,
66 },
67 {
68         type => "op",
69         name => "contains",
70         param => "hiding",
71         input => "hidinX<-not quite, but is later on->hiding",
72         ret => 1,
73 },