www/build/tools/csslint-rhino.js
function (node) {

                //get relevant information
                var testName = node.testObject,
                    testCase = node.parent.testObject,
                    test = testCase[testName],

                    //get the "should" test cases
                    shouldIgnore = testName.indexOf("ignore:") === 0 ||
                                    !inGroups(testCase.groups, this._groups) ||
                                    (testCase._should.ignore || {})[testName];   //deprecated

                //figure out if the test should be ignored or not
                if (shouldIgnore){

                    //update results
                    node.parent.results[testName] = {
                        result: "ignore",
                        message: "Test ignored",
                        type: "test",
                        name: testName.indexOf("ignore:") === 0 ? testName.substring(7) : testName
                    };

                    node.parent.results.ignored++;
                    node.parent.results.total++;

                    this.fire({ type: this.TEST_IGNORE_EVENT,  testCase: testCase, testName: testName });

                    //some environments don't support setTimeout
                    if (typeof setTimeout != "undefined"){
                        setTimeout(function(){
                            YUITest.TestRunner._run();
                        }, 0);
                    } else {
                        this._run();
                    }

                } else {

                    //mark the start time
                    node._start = new Date();

                    //run the setup
                    this._execNonTestMethod(node.parent, "setUp", false);

                    //now call the body of the test
                    this._resumeTest(test);
                }

            }
function (node) {

                //get relevant information
                var testName = node.testObject,
                    testCase = node.parent.testObject,
                    test = testCase[testName],

                    //get the "should" test cases
                    shouldIgnore = testName.indexOf("ignore:") === 0 ||
                                    !inGroups(testCase.groups, this._groups) ||
                                    (testCase._should.ignore || {})[testName];   //deprecated

                //figure out if the test should be ignored or not
                if (shouldIgnore){

                    //update results
                    node.parent.results[testName] = {
                        result: "ignore",
                        message: "Test ignored",
                        type: "test",
                        name: testName.indexOf("ignore:") === 0 ? testName.substring(7) : testName
                    };

                    node.parent.results.ignored++;
                    node.parent.results.total++;

                    this.fire({ type: this.TEST_IGNORE_EVENT,  testCase: testCase, testName: testName });

                    //some environments don't support setTimeout
                    if (typeof setTimeout != "undefined"){
                        setTimeout(function(){
                            YUITest.TestRunner._run();
                        }, 0);
                    } else {
                        this._run();
                    }

                } else {

                    //mark the start time
                    node._start = new Date();

                    //run the setup
                    this._execNonTestMethod(node.parent, "setUp", false);

                    //now call the body of the test
                    this._resumeTest(test);
                }

            }
function ( node ) { //get relevant information var testName = node . testObject , testCase = node . parent . testObject , test = testCase [ testName ] , //get the "should" test cases shouldIgnore = testName . indexOf ( "ignore:" ) === 0 || ! inGroups ( testCase . groups , this . _groups ) || ( testCase . _should . ignore || { } ) [ testName ] ; //deprecated //figure out if the test should be ignored or not if ( shouldIgnore ) { //update results node . parent . results [ testName ] = { result : "ignore" , message : "Test ignored" , type : "test" , name : testName . indexOf ( "ignore:" ) === 0 ? testName . substring ( 7 ) : testName } ; node . parent . results . ignored ++ ; node . parent . results . total ++ ; this . fire ( { type : this . TEST_IGNORE_EVENT , testCase : testCase , testName : testName } ) ; //some environments don't support setTimeout if ( typeof setTimeout != "undefined" ) { setTimeout ( function ( ) { YUITest . TestRunner . _run ( ) ; } , 0 ) ; } else { this . _run ( ) ; } } else { //mark the start time node . _start = new Date ( ) ; //run the setup this . _execNonTestMethod ( node . parent , "setUp" , false ) ; //now call the body of the test this . _resumeTest ( test ) ; } }
Runs a single test based on the data provided in the node.
@param {TestNode} node The TestNode representing the test to run.
@return {Void}
@static
@private
@name _runTest
Runs a single test based on the data provided in the node .