File: cif_ddlm_dic_print_025.tst

package info (click to toggle)
cod-tools 3.11.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 159,136 kB
  • sloc: perl: 58,707; sh: 41,323; ansic: 7,268; xml: 1,982; yacc: 1,117; makefile: 731; python: 166
file content (8 lines) | stat: -rw-r--r-- 558 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
Tests the handling of a complex import situation. In this particular case, a
HEAD category from the same dictionary is imported several times by two
different dictionaries in the import tree (A imports B and C; C imports B).
Since importing a HEAD category changes the parent category of the imported
categories, it is important to deep clone these category definitions.
This test is not expected to output a full merged dictionary, but rather to
raise an error message about the inability to import the BASE_HEAD_CATEGORY
into the EXTENSION_DIC dictionary.