net.sf.jameleon
Class PostconditionTag

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by net.sf.jameleon.PostconditionTag
All Implemented Interfaces:
Tag

public class PostconditionTag
extends TagSupport

This tag is used to mark a group of tags as postconditions. Marking a tag as a postcondition tag guarantees the execution of the tag. If the test case fails at a tag marked as a postcondition, then the results are marked as a postcondition failure.

Tag Name: <postcondition>

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
PostconditionTag()
           
 
Method Summary
 void doTag(XMLOutput out)
           
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostconditionTag

public PostconditionTag()
Method Detail

doTag

public void doTag(XMLOutput out)
           throws MissingAttributeException,
                  JellyTagException
Throws:
MissingAttributeException
JellyTagException


Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.