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

                this._root = new TestNode(this.masterSuite);
                //this._cur = this._root;

                //iterate over the items in the master suite
                for (var i=0; i < this.masterSuite.items.length; i++){
                    if (this.masterSuite.items[i] instanceof YUITest.TestSuite) {
                        this._addTestSuiteToTestTree(this._root, this.masterSuite.items[i]);
                    } else if (this.masterSuite.items[i] instanceof YUITest.TestCase) {
                        this._addTestCaseToTestTree(this._root, this.masterSuite.items[i]);
                    }
                }

            }
function () {

                this._root = new TestNode(this.masterSuite);
                //this._cur = this._root;

                //iterate over the items in the master suite
                for (var i=0; i < this.masterSuite.items.length; i++){
                    if (this.masterSuite.items[i] instanceof YUITest.TestSuite) {
                        this._addTestSuiteToTestTree(this._root, this.masterSuite.items[i]);
                    } else if (this.masterSuite.items[i] instanceof YUITest.TestCase) {
                        this._addTestCaseToTestTree(this._root, this.masterSuite.items[i]);
                    }
                }

            }
function ( ) { this . _root = new TestNode ( this . masterSuite ) ; //this._cur = this._root; //iterate over the items in the master suite for ( var i = 0 ; i < this . masterSuite . items . length ; i ++ ) { if ( this . masterSuite . items [ i ] instanceof YUITest . TestSuite ) { this . _addTestSuiteToTestTree ( this . _root , this . masterSuite . items [ i ] ) ; } else if ( this . masterSuite . items [ i ] instanceof YUITest . TestCase ) { this . _addTestCaseToTestTree ( this . _root , this . masterSuite . items [ i ] ) ; } } }
Builds the test tree based on items in the master suite. The tree is a hierarchical
representation of the test suites, test cases, and test functions. The resulting tree
is stored in _root and the pointer _cur is set to the root initially.
@return {Void}
@static
@private
@method _buildTestTree
Builds the test tree based on items in the master suite . The tree is a hierarchical representation of the test suites test cases and test functions . The resulting tree is stored in _root and the pointer _cur is set to the root initially .