function checkSingle(assert, sBinding, sExpectedText) {
			var oControl = this.oControl,
				aParts = [sBinding];

			[undefined, this.formatter].forEach(function (fnRootFormatter) {
				if (fnRootFormatter) {
					sExpectedText = JSON.stringify([sExpectedText]);
				}

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

				assert.strictEqual(oControl.getText(), sExpectedText, "sBinding: " + sBinding);
				assert.strictEqual(aParts[0], sBinding, "array argument unchanged");
			});
		}
/*
		 * Checks that createPropertySetting() works as expected for a single binding.
		 *
		 * @param {string} sBinding
		 *   a constant or data binding expression
		 * @param {string} sExpectedText
		 *   the expected value of the test control's "text" property
		 */
Checks that createPropertySetting() works as expected for a single binding.
@param {string} sBinding
a constant or data binding expression
@param {string} sExpectedText
the expected value of the test control's "text" property
Checks that createPropertySetting () works as expected for a single binding . @param { string } sBinding a constant or data binding expression @param { string } sExpectedText the expected value of the test control ' s " text " property
function checkSingle(assert, sBinding, sExpectedText) {
			var oControl = this.oControl,
				aParts = [sBinding];
			[undefined, this.formatter].forEach(function (fnRootFormatter) {
				if (fnRootFormatter) {
					sExpectedText = JSON.stringify([sExpectedText]);
				}
				oControl.applySettings({
					"text" : AnnotationHelper.createPropertySetting(aParts, fnRootFormatter)
				});
				assert.strictEqual(oControl.getText(), sExpectedText, "sBinding: " + sBinding);
				assert.strictEqual(aParts[0], sBinding, "array argument unchanged");
			});
		}
function checkSingle ( assert , sBinding , sExpectedText ) { var oControl = this . oControl , aParts = [ sBinding ] ; [ undefined , this . formatter ] . forEach ( function ( fnRootFormatter ) { if ( fnRootFormatter ) { sExpectedText = JSON . stringify ( [ sExpectedText ] ) ; } oControl . applySettings ( { "text" : AnnotationHelper . createPropertySetting ( aParts , fnRootFormatter ) } ) ; assert . strictEqual ( oControl . getText ( ) , sExpectedText , "sBinding: " + sBinding ) ; assert . strictEqual ( aParts [ 0 ] , sBinding , "array argument unchanged" ) ; } ) ; }
Checks that createPropertySetting() works as expected for a single binding.
Checks that createPropertySetting () works as expected for a single binding .