www/build/tools/csslint-rhino.js
function (needles, haystack,
                           message) {

        YUITest.Assert._increment();

        for (var i=0; i < needles.length; i++){
            if (this._indexOf(haystack, needles[i]) > -1){
                YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Value found in array [" + haystack + "]."));
            }
        }

    }
function (needles, haystack,
                           message) {

        YUITest.Assert._increment();

        for (var i=0; i < needles.length; i++){
            if (this._indexOf(haystack, needles[i]) > -1){
                YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Value found in array [" + haystack + "]."));
            }
        }

    }
function ( needles , haystack , message ) { YUITest . Assert . _increment ( ) ; for ( var i = 0 ; i < needles . length ; i ++ ) { if ( this . _indexOf ( haystack , needles [ i ] ) > - 1 ) { YUITest . Assert . fail ( YUITest . Assert . _formatMessage ( message , "Value found in array [" + haystack + "]." ) ) ; } } }
Asserts that a set of values are not present in an array. This uses the triple equals
sign so no type cohersion may occur. For this assertion to pass, all values must
not be found.
@param {Object[]} needles An array of values that are not expected in the array.
@param {Array} haystack An array of values to check.
@param {String} message (Optional) The message to display if the assertion fails.
@method doesNotContainItems
@static
Asserts that a set of values are not present in an array . This uses the triple equals sign so no type cohersion may occur . For this assertion to pass all values must not be found .