org.apache.commons.jelly.tags.junit
Class CaseTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.junit.CaseTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class CaseTag
extends org.apache.commons.jelly.TagSupport

Represents a single test case in a test suite; this tag is analagous to JUnit's TestCase class.

Version:
$Revision: 155420 $
Author:
James Strachan

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
CaseTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 java.lang.String getName()
           
protected  junit.framework.TestSuite getSuite()
          Strategy method to find the corrent TestSuite to add a new Test case to
 void setName(java.lang.String name)
          Sets the name of this test case
 
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

CaseTag

public CaseTag()
Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.JellyTagException
Throws:
org.apache.commons.jelly.JellyTagException

getName

public java.lang.String getName()
Returns:
the name of this test case

setName

public void setName(java.lang.String name)
Sets the name of this test case


getSuite

protected junit.framework.TestSuite getSuite()
Strategy method to find the corrent TestSuite to add a new Test case to



Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.