function checkMultiple(assert, aParts, aExpectedValues) {
			var oControl = this.oControl;

			// test without and with root formatter
			[undefined, this.formatter].forEach(function (fnRootFormatter) {
				var sExpectedText = fnRootFormatter
					? JSON.stringify(aExpectedValues)
					// @see sap.ui.model.CompositeBinding#getExternalValue
					// "default: multiple values are joined together as space separated list if no
					// formatter or type specified"
					: aExpectedValues.join(" ");

				oControl.applySettings({
					"text" : AnnotationHelper.createPropertySetting(aParts, fnRootFormatter)
				});

				assert.strictEqual(oControl.getText(), sExpectedText);
			});
		}
/**
		 * Checks that createPropertySetting() works as expected for multiple bindings.
		 *
		 * @param {object} assert the assertions
		 * @param {any[]} aParts
		 *   non-empty array of constants or data binding expressions
		 * @param {any[]} aExpectedValues
		 *   the expected values of each part
		 */
Checks that createPropertySetting() works as expected for multiple bindings.
@param {object} assert the assertions
@param {any[]} aParts
non-empty array of constants or data binding expressions
@param {any[]} aExpectedValues
the expected values of each part
Checks that createPropertySetting () works as expected for multiple bindings . @param { object } assert the assertions @param { any [] } aParts non - empty array of constants or data binding expressions @param { any [] } aExpectedValues the expected values of each part
function checkMultiple(assert, aParts, aExpectedValues) {
			var oControl = this.oControl;
			[undefined, this.formatter].forEach(function (fnRootFormatter) {
				var sExpectedText = fnRootFormatter
					? JSON.stringify(aExpectedValues)
					: aExpectedValues.join(" ");
				oControl.applySettings({
					"text" : AnnotationHelper.createPropertySetting(aParts, fnRootFormatter)
				});
				assert.strictEqual(oControl.getText(), sExpectedText);
			});
		}
function checkMultiple ( assert , aParts , aExpectedValues ) { var oControl = this . oControl ; [ undefined , this . formatter ] . forEach ( function ( fnRootFormatter ) { var sExpectedText = fnRootFormatter ? JSON . stringify ( aExpectedValues ) : aExpectedValues . join ( " " ) ; oControl . applySettings ( { "text" : AnnotationHelper . createPropertySetting ( aParts , fnRootFormatter ) } ) ; assert . strictEqual ( oControl . getText ( ) , sExpectedText ) ; } ) ; }
Checks that createPropertySetting() works as expected for multiple bindings.
Checks that createPropertySetting () works as expected for multiple bindings .
// test without and with root formatter // @see sap.ui.model.CompositeBinding#getExternalValue // "default: multiple values are joined together as space separated list if no // formatter or type specified"