Updated CMS_HOOK_BLOCK, to provide a better block_identifiers (CMS_RESPONSE): detachable ITERABLE [READABLE_STRING_8] query, to be implemented by CMS_HOOK_RESPONSE_BLOCK descendants.
Added CONFIG_READER.table_keys: detachable LIST [READABLE_STRING_32].
This commit is contained in:
@@ -75,13 +75,21 @@ feature -- Test
|
||||
lst.has ("a") and lst.has ("b") and lst.has ("c") and lst.has ("1") and lst.has ("2") and lst.has ("3")
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
assert ("has_item (table)", cfg.has_item ("table"))
|
||||
assert ("item (table)", attached cfg.text_table_item ("table") as tb and then (
|
||||
tb.item ("a") ~ {STRING_32} "1" and
|
||||
tb.item ("b") ~ {STRING_32} "2" and
|
||||
tb.item ("c") ~ {STRING_32} "3" and
|
||||
tb.item ("d") ~ {STRING_32} "test"
|
||||
tb.item ("a") ~ {STRING_32} "1" and
|
||||
tb.item ("b") ~ {STRING_32} "2" and
|
||||
tb.item ("c") ~ {STRING_32} "3" and
|
||||
tb.item ("d") ~ {STRING_32} "test"
|
||||
)
|
||||
)
|
||||
|
||||
assert ("keys of (table)", attached cfg.table_keys ("table") as tb and then (
|
||||
tb.i_th (1) ~ {STRING_32} "a" and
|
||||
tb.i_th (2) ~ {STRING_32} "b" and
|
||||
tb.i_th (3) ~ {STRING_32} "c" and
|
||||
tb.i_th (4) ~ {STRING_32} "d"
|
||||
)
|
||||
)
|
||||
|
||||
@@ -198,13 +206,21 @@ feature -- Test
|
||||
lst.has ("a") and lst.has ("b") and lst.has ("c") and lst.has ("1") and lst.has ("2") and lst.has ("3")
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
assert ("has_item (table)", cfg.has_item ("table"))
|
||||
assert ("item (table)", attached cfg.text_table_item ("table") as tb and then (
|
||||
tb.item ("a") ~ {STRING_32} "1" and
|
||||
tb.item ("b") ~ {STRING_32} "2" and
|
||||
tb.item ("c") ~ {STRING_32} "3" and
|
||||
tb.item ("d") ~ {STRING_32} "test"
|
||||
tb.item ("a") ~ {STRING_32} "1" and
|
||||
tb.item ("b") ~ {STRING_32} "2" and
|
||||
tb.item ("c") ~ {STRING_32} "3" and
|
||||
tb.item ("d") ~ {STRING_32} "test"
|
||||
)
|
||||
)
|
||||
|
||||
assert ("keys of (table)", attached cfg.table_keys ("table") as tb and then (
|
||||
tb.i_th (1) ~ {STRING_32} "a" and
|
||||
tb.i_th (2) ~ {STRING_32} "b" and
|
||||
tb.i_th (3) ~ {STRING_32} "c" and
|
||||
tb.i_th (4) ~ {STRING_32} "d"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user