diff -r 322d0feea350 -r 89ef5ed3c48b src/cm/media/js/lib/yui/yui_3.10.3/api/classes/Test.ComparisonFailure.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.10.3/api/classes/Test.ComparisonFailure.html Tue Jul 16 14:29:46 2013 +0200 @@ -0,0 +1,1878 @@ + + + + + Test.ComparisonFailure - YUI 3 + + + + + + + + +
+
+
+ +

+ +
+
+ API Docs for: 3.10.3 +
+
+
+ +
+ +
+
+
+ Show: + + + + + + + +
+ + +
+
+
+

Test.ComparisonFailure Class

+
+ + + +
+ Extends AssertionError +
+ + + + + + + + + Module: test + + + + +
+ + + +
+

ComparisonFailure is subclass of Error that is thrown whenever +a comparison between two values fails. It provides mechanisms to retrieve +both the expected and actual value.

+
+ + + +
+ + +
+
+

Item Index

+ + +
+

Methods

+ + +
+ + + +
+

Properties

+ + +
+ + + + + +
+ + +
+

Methods

+ + +
+

getMessage

+ + + () + + + + + String + + + + + + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + test/js/ComparisonFailure.js:49 + +

+ + + + + +
+ +
+

Returns a fully formatted error for an assertion failure. This message +provides information about the expected and actual values.

+
+ + + + +
+

Returns:

+ +
+ + + String: + + A string describing the error. + +
+
+ + + +
+ + +
+ + + +
+

Properties

+ + +
+

actual

+ Object + + + + + + + + + +
+ + + +

+ + Defined in + + + + + test/js/ComparisonFailure.js:27 + +

+ + + + +
+ +
+

The actual value.

+
+ + + + + + +
+ + +
+

expected

+ Object + + + + + + + + + +
+ + + +

+ + Defined in + + + + + test/js/ComparisonFailure.js:20 + +

+ + + + +
+ +
+

The expected value.

+
+ + + + + + +
+ + +
+

name

+ String + + + + + + + + + +
+ + + +

+ + Defined in + + + + + test/js/ComparisonFailure.js:34 + +

+ + + + +
+ +
+

The name of the error that occurred.

+
+ + + + + + +
+ + +
+ + + + + +
+
+ +
+
+
+
+
+
+ + + + + + + + + +