function validateError(assert, oType, oValue, sExpectedErrorKey, sReason) {
		TestUtils.withNormalizedMessages(function () {
			try {
				oType.validateValue(oValue);
				assert.ok(false);
			} catch (e) {
				assert.ok(e instanceof ValidateException, sReason + ": exception");
				assert.strictEqual(e.message, oMessages[sExpectedErrorKey], sReason + ": message");
			}
		});
	}
/*
	 * Tests that the given value leads to a ValidateException.
	 */
Tests that the given value leads to a ValidateException.
Tests that the given value leads to a ValidateException .
function validateError(assert, oType, oValue, sExpectedErrorKey, sReason) {
		TestUtils.withNormalizedMessages(function () {
			try {
				oType.validateValue(oValue);
				assert.ok(false);
			} catch (e) {
				assert.ok(e instanceof ValidateException, sReason + ": exception");
				assert.strictEqual(e.message, oMessages[sExpectedErrorKey], sReason + ": message");
			}
		});
	}
function validateError ( assert , oType , oValue , sExpectedErrorKey , sReason ) { TestUtils . withNormalizedMessages ( function ( ) { try { oType . validateValue ( oValue ) ; assert . ok ( false ) ; } catch ( e ) { assert . ok ( e instanceof ValidateException , sReason + ": exception" ) ; assert . strictEqual ( e . message , oMessages [ sExpectedErrorKey ] , sReason + ": message" ) ; } } ) ; }
Tests that the given value leads to a ValidateException.
Tests that the given value leads to a ValidateException .