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

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.apache.commons.jelly.tags.junit.SuiteTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

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

Represents a collection of TestCases.. This tag is analagous to JUnit's TestSuite class.

Version:
$Revision: 1.5 $
Author:
James Strachan

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
SuiteTag()
           
 
Method Summary
 void addTest(junit.framework.Test test)
          Adds a new Test to this suite
protected  junit.framework.TestSuite createSuite()
          Factory method to create a new TestSuite
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 java.lang.String getName()
           
 junit.framework.TestSuite getSuite()
           
 void setName(java.lang.String name)
          Sets the name of this test suite
 void setVar(java.lang.String var)
          Sets the name of the test suite whichi is exported
 
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

SuiteTag

public SuiteTag()
Method Detail

addTest

public void addTest(junit.framework.Test test)
Adds a new Test to this suite

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.JellyTagException
Overrides:
doTag in class org.apache.commons.jelly.TagSupport

getSuite

public junit.framework.TestSuite getSuite()

setVar

public void setVar(java.lang.String var)
Sets the name of the test suite whichi is exported

getName

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

setName

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

createSuite

protected junit.framework.TestSuite createSuite()
Factory method to create a new TestSuite


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