if (tests[i].content == testCase) { 
if (tests[i].content && tests[i].content == testCase) { 
                    testCaseChanged: function(testCase) {                        testCase.addObserver(this._testCaseObserver);                        var tests = self.getTestSuite().tests;                        for (var i = 0; i < tests.length; i++) {                            if (tests[i].content == testCase) {                                self.currentTestCase = testCase;                                self.currentTestCaseIndex = i;                                self.rowUpdated(self.currentTestCaseIndex);                                self.log.debug("testCaseLoaded: i=" + i);                                break;                            }                        }                        //self.refresh();                    },
4983	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4983/86c160799a5ec0ddbcb7fcdd775a9e8ed93a86bb/suiteTreeView.js/clean/src/content/suiteTreeView.js