OpenCores
URL https://opencores.org/ocsvn/radiohdl/radiohdl/trunk

Subversion Repositories radiohdl

[/] [radiohdl/] [trunk/] [base/] [test/] [cdf_dir/] [correct_files/] [key_value_test.txt] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 danv
# Testfile for testing the CommonDictFile class
2
#
3
# First some keys with different spacing (spaces and tabs)
4
 
5
space_key_0=
6
space_key_1=value_1
7
space_key_2 =value_2
8
space_key_3= value_3
9
space_key_4 = value_4
10
space_key_5     =       value_5
11
 space_key_6 = value_6
12
        space_key_7 = value_7
13
 
14
# Test keys with multiple values
15
multi_key_1 = value10 value11 value12
16
multi_key_2 = value20, value21, value22
17
multi_key_3 = value30
18
value31
19
 value32
20
        value33
21
multi_key_4 = value40 = value41 =
22
value42
23
 
24
# Difference between empty keys and multiline keys
25
tricky_key_1 =
26
tricky_key_2 =
27
tricky_value_2
28
tricky_key_3 =
29
 
30
["my_section"]
31
section_key_1 =
32
section_value_10
33
 
34
section_value_11
35
=      # equal sign without a key is added as value
36
value which is also part of section_key_1
37
 
38
warning_key_1 = Be aware that multiline values can be tricky:
39
 
40
this also belongs
41
to previous
42
key 'warning_key_1'
43
but_this = a new key-value pair

powered by: WebSVN 2.1.0

© copyright 1999-2019 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.