summary.numTestTotal++;
if (selenese.isError()) {
summary.numTestFailures++;
break;
}
TestCase testCase = (TestCase) selenese;
switch (testCase.getResult().getLevel()) {
case UNEXECUTED:
// no count.
break;
case SUCCESS:
case WARNING:
summary.numTestPasses++;
break;
case FAILURE:
case ERROR:
summary.numTestFailures++;
break;
}
for (ICommand command : testCase.getCommandList()) {
switch (command.getResult().getLevel()) {
case UNEXECUTED:
// no count
break;
case SUCCESS: