{
// in_oFormattedOutput.appendln(" - not satisfied: (test goal #" + in_nNumberOfTestGoal + ") " + in_oTestGoal.getElement().toString());
if(in_oTestGoal instanceof TestGoalElements) {
TestGoalElements oTestGoalElement = (TestGoalElements)in_oTestGoal;
if(oTestGoalElement.getElement() instanceof TCGTransition) {
TCGTransition oTransitionGoal = (TCGTransition)oTestGoalElement.getElement();
in_oLogger.getFormattedOutput().appendln(in_sPrefix + " (test goal #" + in_nTestGoalNumber + " - transition) ");
in_oLogger.getFormattedOutput().appendln(" from " + oTransitionGoal.getSourceNode().getName());
in_oLogger.getFormattedOutput().appendln(" to " + oTransitionGoal.getTargetNode().getName());
}
else if(oTestGoalElement.getElement() instanceof TCGNode) {
TCGNode oNodeGoal = (TCGNode)oTestGoalElement.getElement();
in_oLogger.getFormattedOutput().appendln(in_sPrefix + " (test goal #" + in_nTestGoalNumber + " - node) ");
in_oLogger.getFormattedOutput().appendln(" reach state " + oNodeGoal.getName());
}
}
else if(in_oTestGoal instanceof TestGoalGuardConditions) {
TestGoalGuardConditions oTestGoalGuard = (TestGoalGuardConditions)in_oTestGoal;
if(oTestGoalGuard.getElement() instanceof TCGNode) {
if(oTestGoalGuard.getNecessaryTransitionToTraverse() != null) {
TCGTransition oTransition = oTestGoalGuard.getNecessaryTransitionToTraverse();
in_oLogger.getFormattedOutput().appendln(in_sPrefix + " (test goal #" + in_nTestGoalNumber + " - traversed transition) ");
in_oLogger.getFormattedOutput().appendln(" from node " + oTransition.getSourceNode().getName());
in_oLogger.getFormattedOutput().appendln(" to node " + oTransition.getTargetNode().getName());
for(TCGEvent oEvent : oTransition.getEvents()) {
in_oLogger.getFormattedOutput().appendln(" triggered by " + oEvent.getName());
}
}
else {
in_oLogger.getFormattedOutput().appendln(in_sPrefix + " (test goal #" + in_nTestGoalNumber + " - satisfied guard) ");