Lines Matching refs:value
628 var value = test_obj.step(func, test_obj, test_obj);
630 if (value !== undefined) {
632 '" passed a function to `test` that returned a value.';
635 if (value && typeof value.then === 'function') {
676 var value = test_obj.step(func, test_obj, test_obj);
679 // to handle the value somehow. Make doing so a harness error to be
686 if (value !== undefined) {
688 '" passed a function to `async_test` that returned a value.';
691 if (value && typeof value.then === 'function') {
737 "test body must return a 'thenable' object (received ${value})",
738 {value:promise});
755 function(value) {
756 if (value instanceof AssertionError) {
757 throw value;
760 "Unhandled rejection with value: ${value}", {value:value});
787 * inherit the value and status from the given promise.
866 * Assert that a Promise is rejected with the provided value.
869 * @param {Any} exception - The expected value of the rejected promise.
951 * on this object has the value 'all', when the Promise
1311 * Convert a value to a nice, human-readable string
1314 * resulting value will be ``"[object Object]"``. This obscures
1315 * helpful information, making the coerced value unsuitable for
1332 * @param {Any} val - The value to convert to a string.
1388 ret += " " + val.attributes[i].name + '="' + val.attributes[i].value + '"';
1494 * Assert that ``actual`` is the same value as ``expected``.
1500 * @param {Any} actual - Test value.
1501 * @param {Any} expected - Expected value.
1523 * Assert that ``actual`` is not the same value as ``expected``.
1527 * @param {Any} actual - Test value.
1528 * @param {Any} expected - The value ``actual`` is expected to be different to.
1534 "got disallowed value ${actual}",
1543 * @param {Any} actual - Test value.
1551 "value ${actual} not in array ${expected}",
1566 * @param {Object} actual - Test value.
1567 * @param {Object} expected - Expected value.
1573 "value is ${actual}, expected object",
1608 * ``actual`` and ``expected`` are all the same value (as for :js:func:`assert_equals`).
1646 "value is ${actual}, expected array",
1678 * between each value in ``actual`` and ``expected``.
1712 * @param {number} actual - Test value.
1743 * @param {number} actual - Test value.
1767 * @param {number} actual - Test value.
1792 * @param {number} actual - Test value.
1818 * @param {number} actual - Test value.
1843 * @param {number} actual - Test value.
1869 * @param {number} actual - Test value.
1963 "provided value is not an object");
1967 "provided value is an object but has no hasOwnProperty method");
2024 object[property_name] = initial_value + "a"; //XXX use some other value here?
2306 * Assert the provided value is thrown.
2308 * @param {value} exception The expected exception.
2361 * Asserts that ``actual`` matches at least one value of ``expected``
2372 * @param {Any} actual - Test value.
2408 * @param {object} condition The truthy value to test
2426 * @param {object} condition The truthy value to test
2556 * value when calling ``func``. Defaults to the :js:class:`Test` object.
2625 * value when calling ``func``. Defaults to the :js:class:`Test` object.
2652 * value when calling `func`. Defaults to the :js:class:`Test` object.
2997 * Determine if the return value of a cleanup function is valid for a given
2998 * test. Any test may return the value `undefined`. Tests created with
3034 " returned a " + type + " value";
3073 var value = this[key];
3084 if (typeof value === "object" && value !== null) {
3085 clone[key] = merge({}, value);
3087 clone[key] = value;
3161 // condition is unnecessary because that value is only set to
3384 // This value is lazily initialized in order to avoid introducing a
3440 var value = properties[p];
3442 this.allow_uncaught_exception = value;
3443 } else if (p == "explicit_done" && value) {
3445 } else if (p == "explicit_timeout" && value) {
3451 } else if (p == "single_test" && value) {
3454 this.timeout_multiplier = value;
3459 this.hide_test_state = value;
3461 this.output = value;
3463 settings.debug = value;
4330 * ["{text}", value]
4620 * @param {array} value Zero or more values to use in the invocation of
4624 * ``value``. Two arguments will
4626 * invocation: the value from
4627 * ``value`` and a function that