diff -r 000000000000 -r 40c8f766c9b8 src/cm/media/js/lib/yui/yui3.0.0/api/Assert.UnexpectedValue.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui3.0.0/api/Assert.UnexpectedValue.html Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,357 @@ + + + + + API: test Assert.UnexpectedValue (YUI Library) + + + + + + + + + + +
+
+

Yahoo! UI Library

+

test  3.0.0

+ Yahoo! UI Library + > test + > Assert.UnexpectedValue + +
+
+ Search: +
+   +
+
+
+
+ +
+
+
+
+
+ Filters + + + +
+
+ +

+ + + + + Class Assert.UnexpectedValue + + - extends Assert.Error + + +

+ + + + + +
+ UnexpectedValue is subclass of Error that is thrown whenever +a value was unexpected in its scope. This typically means that a test +was performed to determine that a value was *not* equal to a certain +value. +
+ +
+

Constructor

+
+
+ Assert.UnexpectedValue + + ( + + + + message + + , + unexpected + ) + +
+
+
Parameters:
+
+ message + <String> + + The message to display when the error occurs. +
+
+ unexpected + <Object> + + The unexpected value. +
+
+ + +
+
+
+
+ +
+
+

Properties

+
+
+

name + - String +

+
+
+ The name of the error that occurred. +
+
+ + + + +
+
+
+

unexpected + - Object +

+
+
+ The unexpected value. +
+
+ + + + +
+
+
+
+ +
+
+

Properties inherited from Assert.Error:

+
+ + + + name + + + +
+
+
+
+ +
+
+

Methods

+
+
+

+ getMessage

+
+ + + + + String + getMessage + ( + ) + + +
+ Returns a fully formatted error for an assertion failure. The message +contains information about the unexpected value that was encountered. +
+ +
+ + +
+
Returns: + + String +
+
A string describing the error.
+
+ + + + +
+ +
+
+
+
+
+ +
+
+

Methods inherited from Assert.Error:

+
+ + + getMessage, + + + toString, + + + valueOf + + +
+
+
+
+ +
+ + +
+ +
+ +
+ +
+
+ +
+
+
+ Copyright © 2009 Yahoo! Inc. All rights reserved. +
+
+ + +