total++;
} else if ( fixture instanceof VerifyFact ) {
VerifyFact verifyFact = (VerifyFact) fixture;
for ( Iterator<VerifyField> fieldIterator = verifyFact.getFieldValues().iterator(); fieldIterator.hasNext(); ) {
total++;
VerifyField verifyField = fieldIterator.next();
HorizontalPanel panel = new HorizontalPanel();
if ( !verifyField.getSuccessResult().booleanValue() ) {
panel.add( new Image( DroolsGuvnorImages.INSTANCE.warning() ) );
failures++;
} else {
panel.add( new Image( DroolsGuvnorImages.INSTANCE.testPassed() ) );
}
panel.add( new SmallLabel( verifyField.getExplanation() ) );
resultsDetail.add( panel );
}
} else if ( fixture instanceof ExecutionTrace ) {
ExecutionTrace ex = (ExecutionTrace) fixture;