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

Subversion Repositories radiohdl

[/] [radiohdl/] [trunk/] [base/] [test/] [cdf_dir/] [correct_files/] [key_value_test.txt] - Rev 2

Compare with Previous | Blame | View Log

# Testfile for testing the CommonDictFile class
#
# First some keys with different spacing (spaces and tabs)

space_key_0=
space_key_1=value_1
space_key_2 =value_2
space_key_3= value_3
space_key_4 = value_4
space_key_5     =       value_5
 space_key_6 = value_6
        space_key_7 = value_7

# Test keys with multiple values
multi_key_1 = value10 value11 value12
multi_key_2 = value20, value21, value22
multi_key_3 = value30
value31
 value32
        value33
multi_key_4 = value40 = value41 =
value42

# Difference between empty keys and multiline keys
tricky_key_1 =
tricky_key_2 =
tricky_value_2
tricky_key_3 =

["my_section"]
section_key_1 = 
section_value_10

section_value_11
=      # equal sign without a key is added as value
value which is also part of section_key_1

warning_key_1 = Be aware that multiline values can be tricky:

this also belongs
to previous
key 'warning_key_1'
but_this = a new key-value pair

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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