]> eyrie.org Git - kerberos/krb5-strength.git/blob - tests/data/passwords/letter.c
b259135025b3ca53554dc25151213d77e3f4b20e
[kerberos/krb5-strength.git] / tests / data / passwords / letter.c
1 /*
2  * Automatically generated -- do not edit!
3  *
4  * This file was automatically generated from the original JSON source file
5  * for the use in C test programs.  To make changes, modify the original
6  * JSON source or (more rarely) the make-c-data script and run it again.
7  *
8  * Copyright 2013
9  *     The Board of Trustees of the Leland Stanford Junior University
10  *
11  * See LICENSE for licensing terms.
12  */
13
14 #include <tests/data/passwords/tests.h>
15
16 const struct password_test letter_tests[] = {
17     {
18
19         "non-ASCII characters",
20         "test@EXAMPLE.ORG",
21         "عربى",
22         KADM5_PASS_Q_GENERIC,
23         "password contains non-ASCII or control characters",
24     },
25     {
26
27         "control character",
28         "test@EXAMPLE.ORG",
29         "ouchD\ 1artetch",
30         KADM5_PASS_Q_GENERIC,
31         "password contains non-ASCII or control characters",
32     },
33     {
34
35         "tab",
36         "test@EXAMPLE.ORG",
37         "       ouchDartetch",
38         KADM5_PASS_Q_GENERIC,
39         "password contains non-ASCII or control characters",
40     },
41     {
42
43         "all alphabetic",
44         "test@EXAMPLE.ORG",
45         "ouchDartetch",
46         KADM5_PASS_Q_CLASS,
47         "password is only letters and spaces",
48     },
49     {
50
51         "all alphabetic with spaces",
52         "test@EXAMPLE.ORG",
53         "the perils of all good dogs",
54         KADM5_PASS_Q_CLASS,
55         "password is only letters and spaces",
56     },
57     {
58
59         "punctuation",
60         "test@EXAMPLE.ORG",
61         "the perils of all good dogs!",
62         0,
63         NULL,
64     },
65     {
66
67         "digits",
68         "test@EXAMPLE.ORG",
69         "the perils 0of all good dogs",
70         0,
71         NULL,
72     },
73     {
74
75         "mindiff (1 character)",
76         "test@EXAMPLE.ORG",
77         "11111111111111111111",
78         KADM5_PASS_Q_CLASS,
79         "password does not contain enough unique characters",
80     },
81     {
82
83         "mindiff (2 characters)",
84         "test@EXAMPLE.ORG",
85         "1b1b1b1b1b1b1b1b1b1b",
86         KADM5_PASS_Q_CLASS,
87         "password does not contain enough unique characters",
88     },
89     {
90
91         "mindiff (3 characters)",
92         "test@EXAMPLE.ORG",
93         "1bc1bc1bc1bc1bc1bc1b",
94         KADM5_PASS_Q_CLASS,
95         "password does not contain enough unique characters",
96     },
97     {
98
99         "mindiff (4 characters)",
100         "test@EXAMPLE.ORG",
101         "1bcd1bcd1bcd1bcd1bcd",
102         KADM5_PASS_Q_CLASS,
103         "password does not contain enough unique characters",
104     },
105     {
106
107         "mindiff (5 characters)",
108         "test@EXAMPLE.ORG",
109         "1bcde1bcde1bcde1bcde",
110         KADM5_PASS_Q_CLASS,
111         "password does not contain enough unique characters",
112     },
113     {
114
115         "mindiff (6 characters)",
116         "test@EXAMPLE.ORG",
117         "1bcdef1bcdef1bcdef1b",
118         KADM5_PASS_Q_CLASS,
119         "password does not contain enough unique characters",
120     },
121     {
122
123         "mindiff (7 characters)",
124         "test@EXAMPLE.ORG",
125         "1cdbfge1cdbeg1fcdbef",
126         KADM5_PASS_Q_CLASS,
127         "password does not contain enough unique characters",
128     },
129     {
130
131         "mindiff (8 characters)",
132         "test@EXAMPLE.ORG",
133         "1dbegchf1cdbfgh1ebcd",
134         0,
135         NULL,
136     },
137     {
138
139         "mindiff (9 characters)",
140         "test@EXAMPLE.ORG",
141         "bcd1fgei1bhdefchig1b",
142         0,
143         NULL,
144     },
145 };