for(int ix = vectorOfTests.size() - 1; ix >= 0 ; ix--){
UnitTest thisTest =
((UnitTest)vectorOfTests.elementAt(ix));
if (thisTest.UnitTestDuration() <= this.testDuration &&
thisTest.UnitTestType() <= this.testType){
if (runATest(thisTest))
passCount++;
else
failCount++;
vectorOfTests.removeElementAt(ix);