net.sf.jameleon
Class TestCaseIdTag

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.TestCaseIdTag
All Implemented Interfaces:
LocationAware, Tag

public class TestCaseIdTag
extends AbstractTestCaseDocAttribute

Describes a unique id of the test case. Can be used to link to an independent system like TestLink. 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-id>

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
TestCaseIdTag()
           
 
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

TestCaseIdTag

public TestCaseIdTag()
Method Detail

setTestCaseValue

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


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