mirror of
https://github.com/yweber/lodel2.git
synced 2026-03-24 03:52:01 +01:00
More tests on SettingsLoader
This commit is contained in:
parent
397f173571
commit
8dbe6b6234
8 changed files with 68 additions and 25 deletions
|
|
@ -0,0 +1,5 @@
|
|||
[lodel2.merge.fails.duplicate]
|
||||
duplicated = foobar
|
||||
foo = 1337
|
||||
bar = 42
|
||||
foobar = hello world !
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[lodel2.merge.fails.duplicate]
|
||||
duplicated = wrong
|
||||
4
tests/settings/settings_examples/merge.conf.d/file1.ini
Normal file
4
tests/settings/settings_examples/merge.conf.d/file1.ini
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[lodel2]
|
||||
a = a
|
||||
b = b
|
||||
c = c
|
||||
10
tests/settings/settings_examples/merge.conf.d/file2.ini
Normal file
10
tests/settings/settings_examples/merge.conf.d/file2.ini
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[lodel2]
|
||||
d = d
|
||||
e = e
|
||||
f = f
|
||||
|
||||
[lodel2.othersection]
|
||||
a = a
|
||||
b = b
|
||||
c = c
|
||||
d = d
|
||||
3
tests/settings/settings_examples/merge.conf.d/file3.ini
Normal file
3
tests/settings/settings_examples/merge.conf.d/file3.ini
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[lodel2.othersection]
|
||||
e = e
|
||||
f = f
|
||||
11
tests/settings/settings_examples/remains.conf.d/file1.ini
Normal file
11
tests/settings/settings_examples/remains.conf.d/file1.ini
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[lodel2]
|
||||
a = a
|
||||
b = b
|
||||
c = c
|
||||
|
||||
[lodel2.othersection]
|
||||
a = a
|
||||
b = b
|
||||
c = c
|
||||
d = d
|
||||
e = e
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
[lodel2]
|
||||
d = d
|
||||
e = e
|
||||
Loading…
Add table
Add a link
Reference in a new issue