Imported Upstream version 2.5.11
[libapache-mod-security.git] / apache2 / t / tfn / replaceNulls.t
1 ### Empty
2 {
3         type => "tfn",
4         name => "replaceNulls",
5         input => "",
6         output => "",
7         ret => 0,
8 },
9
10 ### Nothing
11 {
12         type => "tfn",
13         name => "replaceNulls",
14         input => "TestCase",
15         output => "TestCase",
16         ret => 0,
17 },
18
19
20 ### Basics
21 {
22         type => "tfn",
23         name => "replaceNulls",
24         input => "\0TestCase",
25         output => " TestCase",
26         ret => 1,
27 },
28 {
29         type => "tfn",
30         name => "replaceNulls",
31         input => "Test\0Case",
32         output => "Test Case",
33         ret => 1,
34 },
35 {
36         type => "tfn",
37         name => "replaceNulls",
38         input => "Test\0\0Case",
39         output => "Test  Case",
40         ret => 1,
41 },
42 {
43         type => "tfn",
44         name => "replaceNulls",
45         input => "TestCase\0",
46         output => "TestCase ",
47         ret => 1,
48 },
49 {
50         type => "tfn",
51         name => "replaceNulls",
52         input => "\0Test\0Case\0",
53         output => " Test Case ",
54         ret => 1,
55 },