summaryrefslogtreecommitdiff
path: root/qt4/tests/telepathy/managers/test-manager-file-invalid-signature.manager
blob: 5c1434fc05bc55371f93fb10053f4e439076421e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[Protocol foo]
param-account = s required
param-password = s required
param-encryption-key = s secret
param-port = q
param-register = b
param-server-list = as
default-account = foo@default
default-port = 1234
default-server-list = foo;bar;

[Protocol bar]
param-account = s required
param-encryption-key = s required secret
param-password = s required
param-port = q
param-register = b
param-server-list = as
default-account = bar@default
default-port = 4321
default-server-list = bar;foo;

[Protocol somewhat-pathological]
# the value is "hello world"
param-foo = s required
default-foo =    hello world

# the value is "list;of;misc;" (it's not parsed as a list)
param-semicolons=s secret
default-semicolons=list;of;misc;

# the values is a list ["list", "of", "misc"]
param-list = as
default-list = list;of;misc;

# the spec says this is invalid but we should probably be permissive
param-unterminated-list = as
default-unterminated-list = list;of;misc

# the value is a list ["list", " of", " misc "] (spaces significant)
param-spaces-in-list = as
default-spaces-in-list = list; of; misc ;

# the value is a list ["list;of", "misc"]
param-escaped-semicolon-in-list = as
default-escaped-semicolon-in-list = list\;of;misc;

# the value is a list ["list\", "of", "misc"]
param-doubly-escaped-semicolon-in-list = as
default-doubly-escaped-semicolon-in-list = list\\;of;misc;

# the value is a list ["list\;of", "misc"]
param-triply-escaped-semicolon-in-list = as
default-triply-escaped-semicolon-in-list = list\\\;of;misc;

# the value is an empty list
param-empty-list = as
default-empty-list =

# the value is a list of empty string
param-list-of-empty-string = as
default-list-of-empty-string = ;

# this is probably technically a Desktop Entry spec violation?
# we should be permissive, interpreting this as either "foo\;bar" or "foo;bar"
# seems reasonable
param-escaped-semicolon = s
default-escaped-semicolon = foo\;bar

# all the other types
param-object = o
default-object = /misc
param-q = q
default-q = 42
param-u = u
default-u = 42
param-t = t
default-t = 42
param-n = n
default-n = -42
param-i = i
default-i = -42
param-x = x
default-x = -42
param-d = 42.0
default-d = 42.0