~ubuntu-branches/ubuntu/saucy/commons-configuration/saucy

« back to all changes in this revision

Viewing changes to src/test/resources/test.properties

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg
  • Date: 2013-07-01 16:29:44 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130701162944-98waq5gogha5gpn1
Tags: 1.9-1
* New upstream release
* debian/control:
  - Updated Standards-Version to 3.9.4 (no changes)
  - Use canonical URLs for the Vcs-* fields
  - Added new build dependencies (libjavacc-maven-plugin-java, junit4)
  - Upgraded the dependency on the Servlet API (2.5 -> 3.0)
  - Removed the dependency on the Activation Framework (glassfish-activation)
  - Replaced the dependency on glassfish-mail with libgnumail-java
  - Removed the unused dependencies:
    liblog4j1.2-java-doc, libmaven-assembly-plugin-java
  - Replaced the dependency on libcommons-jexl-java by libcommons-jexl2-java
* debian/watch: Changed to point the official Apache distribution server
* Removed the obsolete file debian/ant.properties
* Installed the upstream changelog in the binary packages
* Added the report plugins to maven.ignoreRules
* Added the classpath attribute to the jar manifest

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
7
#
 
8
#       http://www.apache.org/licenses/LICENSE-2.0
 
9
#
 
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
 
16
 
 
17
packages = packagea
 
18
propertyInOrder = test.properties
 
19
 
 
20
include = include.properties
 
21
 
 
22
include.file = include-interpol.properties
 
23
include = ${include.file}
 
24
 
 
25
test.unescape = This \n string \t contains \" escaped \\ character\u0073
 
26
test.unescape.list-separator = This string contains \, an escaped list separator
 
27
 
 
28
#
 
29
# Other test properties
 
30
#
 
31
 
 
32
test.equals = value=one
 
33
 
 
34
test.empty =
 
35
 
 
36
test.mixed.array = a
 
37
test.mixed.array = b, c, d
 
38
 
 
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.
 
42
 
 
43
#
 
44
# Test a property that uses a previous property
 
45
#
 
46
 
 
47
base = base
 
48
base.reference = ${base}extra
 
49
base.reference.array = ${base}extra
 
50
base.reference.array = ${base}extra
 
51
 
 
52
#
 
53
# Non String Properties
 
54
#
 
55
 
 
56
test.boolean       = true
 
57
test.boolean.array = false
 
58
test.boolean.array = true
 
59
 
 
60
test.byte       = 10
 
61
test.byte.array = 20
 
62
test.byte.array = 30
 
63
 
 
64
test.double       = 10.25
 
65
test.double.array = 20.35
 
66
test.double.array = 30.45
 
67
 
 
68
test.float       = 20.25
 
69
test.float.array = 30.35
 
70
test.float.array = 40.45
 
71
 
 
72
test.integer       = 10
 
73
test.integer.array = 20
 
74
test.integer.array = 30
 
75
 
 
76
test.long       = 1000000
 
77
test.long.array = 2000000
 
78
test.long.array = 3000000
 
79
 
 
80
test.short       = 1
 
81
test.short.array = 2
 
82
test.short.array = 3
 
83
 
 
84
test.overwrite = 1
 
85
 
 
86
#
 
87
# Test complex line ending escaping
 
88
#
 
89
 
 
90
test.path = C:\\path1\\
 
91
test.path = C:\\path2\\
 
92
test.path = C:\\path3\\\
 
93
complex\\test\\
 
94
 
 
95
#
 
96
# Test for the comment lines
 
97
#
 
98
 
 
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 '!'
 
101
 
 
102
#
 
103
# Tests for the key/value separators ('=', ':' or white space, escaped or not)
 
104
#
 
105
 
 
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
 
111
 
 
112
test.separator.equal = foo
 
113
test.separator.colon : foo
 
114
test.separator.tab      foo
 
115
test.separator.formfeed foo
 
116
test.separator.whitespace foo
 
117
test.separator.no.space=foo
 
118
 
 
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\\
 
124