Lines Matching defs:YUITest

10 YUITest.Assert = {

83 throw new YUITest.AssertionError(YUITest.Assert._formatMessage(message, "Test force-failed."));
92 YUITest.Assert._increment();
109 YUITest.Assert._increment();
111 throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values should be equal."), expected, actual);
126 YUITest.Assert._increment();
128 throw new YUITest.UnexpectedValue(YUITest.Assert._formatMessage(message, "Values should not be equal."), unexpected);
142 YUITest.Assert._increment();
144 throw new YUITest.UnexpectedValue(YUITest.Assert._formatMessage(message, "Values should not be the same."), unexpected);
158 YUITest.Assert._increment();
160 throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values should be the same."), expected, actual);
177 YUITest.Assert._increment();
179 throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Value should be false."), false, actual);
192 YUITest.Assert._increment();
194 throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Value should be true."), true, actual);
211 YUITest.Assert._increment();
213 throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Value should be NaN."), NaN, actual);
225 YUITest.Assert._increment();
227 throw new YUITest.UnexpectedValue(YUITest.Assert._formatMessage(message, "Values should not be NaN."), NaN);
240 YUITest.Assert._increment();
242 throw new YUITest.UnexpectedValue(YUITest.Assert._formatMessage(message, "Values should not be null."), null);
255 YUITest.Assert._increment();
257 throw new YUITest.UnexpectedValue(YUITest.Assert._formatMessage(message, "Value should not be undefined."), undefined);
270 YUITest.Assert._increment();
272 throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Value should be null."), null, actual);
285 YUITest.Assert._increment();
287 throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Value should be undefined."), undefined, actual);
303 YUITest.Assert._increment();
311 throw new YUITest.UnexpectedValue(YUITest.Assert._formatMessage(message, "Value should be an array."), actual);
323 YUITest.Assert._increment();
325 throw new YUITest.UnexpectedValue(YUITest.Assert._formatMessage(message, "Value should be a Boolean."), actual);
337 YUITest.Assert._increment();
339 throw new YUITest.UnexpectedValue(YUITest.Assert._formatMessage(message, "Value should be a function."), actual);
354 YUITest.Assert._increment();
356 throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Value isn't an instance of expected type."), expected, actual);
368 YUITest.Assert._increment();
370 throw new YUITest.UnexpectedValue(YUITest.Assert._formatMessage(message, "Value should be a number."), actual);
382 YUITest.Assert._increment();
384 throw new YUITest.UnexpectedValue(YUITest.Assert._formatMessage(message, "Value should be an object."), actual);
396 YUITest.Assert._increment();
398 throw new YUITest.UnexpectedValue(YUITest.Assert._formatMessage(message, "Value should be a string."), actual);
411 YUITest.Assert._increment();
413 throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Value should be of type " + expectedType + "."), expectedType, typeof actualValue);
437 YUITest.Assert._increment();
471 throw new YUITest.UnexpectedError(thrown);
478 throw new YUITest.AssertionError(YUITest.Assert._formatMessage(message, "Error should have been thrown."));