You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kp...@apache.org on 2020/07/10 16:36:41 UTC
[qpid-proton] branch array-of-lists-first-list-empty updated:
PROTON-2244: Added some additional arrays of list test cases
This is an automated email from the ASF dual-hosted git repository.
kpvdr pushed a commit to branch array-of-lists-first-list-empty
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
The following commit(s) were added to refs/heads/array-of-lists-first-list-empty by this push:
new e34407f PROTON-2244: Added some additional arrays of list test cases
e34407f is described below
commit e34407f4f65a2e763a36caa29f2ca9e3985f4b6e
Author: Kim van der Riet <kp...@apache.org>
AuthorDate: Fri Jul 10 12:36:27 2020 -0400
PROTON-2244: Added some additional arrays of list test cases
---
c/tests/data_test.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/c/tests/data_test.cpp b/c/tests/data_test.cpp
index e7c91cc..7b4f227 100644
--- a/c/tests/data_test.cpp
+++ b/c/tests/data_test.cpp
@@ -317,7 +317,12 @@ TEST_CASE("array_array") {
TEST_CASE("array_list") {
check_array("@T[]", PN_LIST);
// TODO: PROTON-2248: using S and s reversed
+ // empty list as first array element
check_array("@T[[][oo][][iii][Sosid]]", PN_LIST, true, false, 1, 2, 3, "hello", false, "world", 43210, 2.565e-56);
+ // empty list not as first array element
+ check_array("@T[[Sid][oooo][]]", PN_LIST, "aaa", 123, double(3.2415), true, true, false, true);
+ // only empty lists
+ check_array("@T[[][][][][]]", PN_LIST);
}
TEST_CASE("array_map") {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org