diff options
author | Harald Musum <musum@verizonmedia.com> | 2019-08-13 11:02:19 +0200 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2019-08-13 11:02:19 +0200 |
commit | b474af64419f87d670ccefbfbba569b73881f8a0 (patch) | |
tree | 08de9ad9ae8b05b14a39d4f3c008e3ea44be3412 /config-model/src/test/configmodel | |
parent | da40dcac37db31e808b4c192e0436b4b491e5ed8 (diff) |
Remove header and body from search definitions
Remove from .sd files used in tests, add test that checks that
header and body still is allowed
Diffstat (limited to 'config-model/src/test/configmodel')
-rw-r--r-- | config-model/src/test/configmodel/types/types.sd | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/config-model/src/test/configmodel/types/types.sd b/config-model/src/test/configmodel/types/types.sd index f34a6776b11..9bd9602008c 100644 --- a/config-model/src/test/configmodel/types/types.sd +++ b/config-model/src/test/configmodel/types/types.sd @@ -90,9 +90,9 @@ search types { #field wildcardfield2 type map<?,?> { #} - field arrarr type array<array<array<string>>> {header} - field maparr type array<map<string, string>> {header} - field complexarray type array< map<int, array<array<string>>> > {body} + field arrarr type array<array<array<string>>> {} + field maparr type array<map<string, string>> {} + field complexarray type array< map<int, array<array<string>>> > {} struct mystruct { field bytearr type array<byte>{} @@ -101,9 +101,9 @@ search types { field structfield type string {} } - field mystructfield type mystruct {header} - field mystructmap type map<int, mystruct> {header} - field mystructarr type array<mystruct> {header} + field mystructfield type mystruct {} + field mystructmap type map<int, mystruct> {} + field mystructarr type array<mystruct> {} struct folder { field Version type int {} @@ -130,7 +130,6 @@ search types { create-if-nonexistent remove-if-zero } - header } # Field defined same way as tag @@ -140,7 +139,6 @@ search types { create-if-nonexistent remove-if-zero } - header } } |