提交 dd5b32d5 编写于 作者: X xdmal

Signed-off-by: xdmal <maxiaodong16@huawei.com>

 On branch master
 Your branch is up to date with 'origin/master'.
上级 67cb813f
...@@ -766,7 +766,8 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -766,7 +766,8 @@ describe('XmlSerializerXmlPullParserTest', function () {
thatSer.startElement("note2"); thatSer.startElement("note2");
thatSer.endElement(); thatSer.endElement();
thatSer.endElement(); thatSer.endElement();
var result = '<?xml version="1.0" encoding="utf-8"?>\r\n<h:note1 xmlns:h="http://www.w3.org/TR/html4/">\r\n <h:note2/>\r\n</h:note1>'; var result = '<?xml version="1.0" encoding="utf-8"?>\r\n<h:note1 xmlns:h="http://www.w3.org/TR/html4/">' +
'\r\n <h:note2/>\r\n</h:note1>';
var view = new Uint8Array(arrayBuffer); var view = new Uint8Array(arrayBuffer);
var view1 = ""; var view1 = "";
for (var i = 0; i < result.length; ++i) { for (var i = 0; i < result.length; ++i) {
...@@ -791,7 +792,8 @@ describe('XmlSerializerXmlPullParserTest', function () { ...@@ -791,7 +792,8 @@ describe('XmlSerializerXmlPullParserTest', function () {
thatSer.startElement("note2"); thatSer.startElement("note2");
thatSer.endElement(); thatSer.endElement();
thatSer.endElement(); thatSer.endElement();
var result = '<?xml version="1.0" encoding="utf-8"?>\r\n<h:note1 xmlns:h="http://www.w3.org/TR/html4/">\r\n <h:note2/>\r\n</h:note1>'; var result = '<?xml version="1.0" encoding="utf-8"?>\r\n<h:note1 xmlns:h="http://www.w3.org/TR/html4/">' +
'\r\n <h:note2/>\r\n</h:note1>';
var view = new Uint8Array(arrayBuffer); var view = new Uint8Array(arrayBuffer);
var view1 = ""; var view1 = "";
for (var i = 0; i < result.length; ++i) { for (var i = 0; i < result.length; ++i) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册