function checkXml(assert, oElement, vExpected) {
		var sActual = normalizeXml(jQuery.sap.serializeXML(oElement)),
			sExpected;

		if (Array.isArray(vExpected)) {
			sExpected = vExpected.join("");
			assert.strictEqual(sActual, normalizeXml(sExpected),
					"XML looks as expected: " + sExpected);
		} else {
			assert.ok(vExpected.test(sActual), "XML: " + sActual + " matches " + vExpected);
		}
	}
/**
	 * Checks if document is equal to the concatenation of the given strings.
	 *
	 * @param {object} assert the assertions
	 * @param {Element} oElement the actual XML document's root element
	 * @param {string[]|RegExp} vExpected
	 *   the expected XML as array of String (exact match) or a regular expression
	 */
Checks if document is equal to the concatenation of the given strings.
@param {object} assert the assertions
@param {Element} oElement the actual XML document's root element
@param {string[]|RegExp} vExpected
the expected XML as array of String (exact match) or a regular expression
Checks if document is equal to the concatenation of the given strings . @param { object } assert the assertions @param { Element } oElement the actual XML document ' s root element @param { string [] |RegExp } vExpected the expected XML as array of String ( exact match ) or a regular expression
function checkXml(assert, oElement, vExpected) {
		var sActual = normalizeXml(jQuery.sap.serializeXML(oElement)),
			sExpected;
		if (Array.isArray(vExpected)) {
			sExpected = vExpected.join("");
			assert.strictEqual(sActual, normalizeXml(sExpected),
					"XML looks as expected: " + sExpected);
		} else {
			assert.ok(vExpected.test(sActual), "XML: " + sActual + " matches " + vExpected);
		}
	}
function checkXml ( assert , oElement , vExpected ) { var sActual = normalizeXml ( jQuery . sap . serializeXML ( oElement ) ) , sExpected ; if ( Array . isArray ( vExpected ) ) { sExpected = vExpected . join ( "" ) ; assert . strictEqual ( sActual , normalizeXml ( sExpected ) , "XML looks as expected: " + sExpected ) ; } else { assert . ok ( vExpected . test ( sActual ) , "XML: " + sActual + " matches " + vExpected ) ; } }
Checks if document is equal to the concatenation of the given strings.
Checks if document is equal to the concatenation of the given strings .