diff --git a/tests/15library.tests b/tests/15library.tests index 1c325ca73..927327069 100644 --- a/tests/15library.tests +++ b/tests/15library.tests @@ -214,11 +214,6 @@ return: 0 END -PLANNED "GenNodeBasic_test" GenNodeBasic_test <»|Rec(spam| ham = DataCap|«std::string»|eggs |{}) +out-lit: --spam-- +out-lit: GenNode-ID("baked beans")-DataCap|«lib::diff::Record»|Rec(hasSpam = DataCap|«bool»|1 |{GenNode-ID("_CHILD_char.002")-DataCap|«char»|*, GenNode-ID("_CHILD_string.006")-DataCap|«std::string»|★, GenNode-ID("_CHILD_double.001")-DataCap|«double»|3.1415926535897931, GenNode-ID("spam")-DataCap|«lib::diff::Record»|Rec(ham| |{GenNode-ID("_CHILD_string.003")-DataCap|«std::string»|eggs, GenNode-ID("_CHILD_string.004")-DataCap|«std::string»|spam, GenNode-ID("_CHILD_string.005")-DataCap|«std::string»|spam}), GenNode-ID("_CHILD_TimeSpan.002")-DataCap|«lib::time::TimeSpan»|0:00:00.000[920ms], GenNode-ID("_CHILD_long.001")-DataCap|«long»|42}) +out-lit: GenNode-ID("hasSpam")-DataCap|«bool»|1 +out-lit: GenNode-ID("_CHILD_char.002")-DataCap|«char»|* +out-lit: GenNode-ID("_CHILD_string.006")-DataCap|«std::string»|★ +out-lit: GenNode-ID("_CHILD_double.001")-DataCap|«double»|3.1415926535897931 +out-lit: GenNode-ID("spam")-DataCap|«lib::diff::Record»|Rec(ham| |{GenNode-ID("_CHILD_string.003")-DataCap|«std::string»|eggs, GenNode-ID("_CHILD_string.004")-DataCap|«std::string»|spam, GenNode-ID("_CHILD_string.005")-DataCap|«std::string»|spam}) +out-lit: GenNode-ID("_CHILD_string.003")-DataCap|«std::string»|eggs +out-lit: GenNode-ID("_CHILD_string.004")-DataCap|«std::string»|spam +out-lit: GenNode-ID("_CHILD_string.005")-DataCap|«std::string»|spam +out-lit: GenNode-ID("_CHILD_TimeSpan.002")-DataCap|«lib::time::TimeSpan»|0:00:00.000[920ms] +out-lit: GenNode-ID("_CHILD_long.001")-DataCap|«long»|42 +return: 0 +END + + PLANNED "GenericTreeRepresentation_test" GenericTreeRepresentation_test <isNamed()); // next item in the enclosing scope + CHECK ("0:00:00.000[920ms]" == string(iter->data.get())); + ++iter; + CHECK (!iter->isNamed()); CHECK (42 == iter->data.get()); CHECK (2 == iter.level());