You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2020/05/06 07:52:25 UTC

[royale-asjs] branch feature/xml_bug created (now e974f05)

This is an automated email from the ASF dual-hosted git repository.

harbs pushed a change to branch feature/xml_bug
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git.


      at e974f05  Assigning empty XMLList should reomve nodes

This branch includes the following new commits:

     new e974f05  Assigning empty XMLList should reomve nodes

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[royale-asjs] 01/01: Assigning empty XMLList should reomve nodes

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch feature/xml_bug
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit e974f056d1048fcb6ce3672cb17786911a4c1a67
Author: Harbs <ha...@in-tools.com>
AuthorDate: Wed May 6 10:52:12 2020 +0300

    Assigning empty XMLList should reomve nodes
---
 .../XML/src/test/royale/flexUnitTests/xml/XMLTesterGeneralTest.as | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/frameworks/projects/XML/src/test/royale/flexUnitTests/xml/XMLTesterGeneralTest.as b/frameworks/projects/XML/src/test/royale/flexUnitTests/xml/XMLTesterGeneralTest.as
index 219b651..1e5512f 100644
--- a/frameworks/projects/XML/src/test/royale/flexUnitTests/xml/XMLTesterGeneralTest.as
+++ b/frameworks/projects/XML/src/test/royale/flexUnitTests/xml/XMLTesterGeneralTest.as
@@ -1319,6 +1319,14 @@ package flexUnitTests.xml
                     '  <foo/>\n' +
                     '  <foo/>\n' +
                     '</root>', 'unexpected  XMLList assignment');
+            xmlList = new XMLList();
+            xml.foobazer = xmlList;
+            assertEquals(xml.toXMLString(), '<root>\n' +
+                    '  <foo/>\n' +
+                    '  <foo/>\n' +
+                    '  <foo/>\n' +
+                    '</root>', 'unexpected  XMLList assignment');
+
         }
         
         //@todo - Passes in Swf, fails in browser: