www/build/tools/csslint-rhino.js
function (properties, object, message) {
        YUITest.Assert._increment();
        for (var i=0; i < properties.length; i++){
            if (!(properties[i] in object)){
                YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Property '" + properties[i] + "' not found on object."));
            }
        }
    }
function (properties, object, message) {
        YUITest.Assert._increment();
        for (var i=0; i < properties.length; i++){
            if (!(properties[i] in object)){
                YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Property '" + properties[i] + "' not found on object."));
            }
        }
    }
function ( properties , object , message ) { YUITest . Assert . _increment ( ) ; for ( var i = 0 ; i < properties . length ; i ++ ) { if ( ! ( properties [ i ] in object ) ) { YUITest . Assert . fail ( YUITest . Assert . _formatMessage ( message , "Property '" + properties [ i ] + "' not found on object." ) ) ; } } }
Asserts that an object has all properties of a reference object.
@param {Array} properties An array of property names that should be on the object.
@param {Object} object The object to search.
@param {String} message (Optional) The message to display if the assertion fails.
@method ownsOrInheritsKeys
@static
Asserts that an object has all properties of a reference object .