1
# Licensed to the Apache Software Foundation (ASF) under one or more
2
# contributor license agreements. See the NOTICE file distributed with
3
# this work for additional information regarding copyright ownership.
4
# The ASF licenses this file to You under the Apache License, Version 2.0
5
# (the "License"); you may not use this file except in compliance with
6
# the License. You may obtain a copy of the License at
8
# http://www.apache.org/licenses/LICENSE-2.0
10
# Unless required by applicable law or agreed to in writing, software
11
# distributed under the License is distributed on an "AS IS" BASIS,
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
# See the License for the specific language governing permissions and
14
# limitations under the License.
15
configuration.loaded = true
18
propertyInOrder = test.properties
20
include = include.properties
22
include.file = include-interpol.properties
23
include = ${include.file}
25
test.unescape = This \n string \t contains \" escaped \\ character\u0073
26
test.unescape.list-separator = This string contains \, an escaped list separator
29
# Other test properties
32
test.equals = value=one
37
test.mixed.array = b, c, d
39
test.multilines = This is a value spread out across several adjacent \
40
natural lines by escaping the line terminator with \
41
a backslash character.
44
# Test a property that uses a previous property
48
base.reference = ${base}extra
49
base.reference.array = ${base}extra
50
base.reference.array = ${base}extra
53
# Non String Properties
57
test.boolean.array = false
58
test.boolean.array = true
65
test.double.array = 20.35
66
test.double.array = 30.45
69
test.float.array = 30.35
70
test.float.array = 40.45
73
test.integer.array = 20
74
test.integer.array = 30
77
test.long.array = 2000000
78
test.long.array = 3000000
87
# Test complex line ending escaping
90
test.path = C:\\path1\\
91
test.path = C:\\path2\\
92
test.path = C:\\path3\\\
96
# Test for the comment lines
99
#comment = this is not a property but a comment line starting with '#'
100
!comment = this is not a property but a comment line starting with '!'
103
# Tests for the key/value separators ('=', ':' or white space, escaped or not)
106
test.separator\=in.key = foo
107
test.separator\:in.key = bar
108
test.separator\ in.key = foo
109
test.separator\in.key = bar
110
test.separator\ in.key = foo
112
test.separator.equal = foo
113
test.separator.colon : foo
114
test.separator.tab foo
115
test.separator.formfeedfoo
116
test.separator.whitespace foo
117
test.separator.no.space=foo
119
# Tests for backslash escaping in lists
120
test.share1 = \\\\\\\\share1a, \\\\\\\\share1b
121
test.share2 = \\\\share2a
122
test.share2 = \\\\share2b
123
test.share3 = \\\\\\\\share3a\\\\\\\\,\\\\\\\\share3b\\