]> eyrie.org Git - kerberos/krb5-strength.git/blob - tests/data/passwords/class.c
Imported Upstream version 2.1
[kerberos/krb5-strength.git] / tests / data / passwords / class.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 class_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 };