net.sf.jameleon
Class TestCaseLevelTag

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by net.sf.jameleon.LocationAwareTagSupport
          extended by net.sf.jameleon.AbstractTestCaseDocAttribute
              extended by net.sf.jameleon.TestCaseLevelTag
All Implemented Interfaces:
LocationAware, Tag

public class TestCaseLevelTag
extends AbstractTestCaseDocAttribute

Describes which test case level the test case should be executed under. This tag is used directly inside the <testcase/> tag. A example might be:


 <testcase xmlns="jelly:jameleon">
     <test-case-summary>Tests some feature</test-case-summary>
     <test-case-bug>3423</test-case-bug>
     <test-case-author>Christian Hargraves</test-case-author>
     <test-case-level>ACCEPTANCE</test-case-level>
     <test-case-level>REGRESSION</test-case-level>
     <functional-point-tested>csv</functional-point-tested>
     <application-tested>framework</application-tested>
     <test-case-requirement>AP-123</test-case-requirement>
     <test-case-id>TC-123</test-case-id>
 </testcase">
 

Tag Name: <test-case-level>

Field Summary
 
Fields inherited from class net.sf.jameleon.AbstractTestCaseDocAttribute
tct
 
Fields inherited from class net.sf.jameleon.LocationAwareTagSupport
columnNumber, elementTagName, lineNumber, scriptFileName
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
TestCaseLevelTag()
           
 
Method Summary
protected  void setTestCaseValue(String text)
           
 
Methods inherited from class net.sf.jameleon.AbstractTestCaseDocAttribute
doTag, setup
 
Methods inherited from class net.sf.jameleon.LocationAwareTagSupport
getColumnNumber, getElementName, getFileName, getLineNumber, setColumnNumber, setElementName, setFileName, setLineNumber
 
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

TestCaseLevelTag

public TestCaseLevelTag()
Method Detail

setTestCaseValue

protected void setTestCaseValue(String text)
Specified by:
setTestCaseValue in class AbstractTestCaseDocAttribute


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