net.sf.jameleon
Class TestCaseBugTag

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

public class TestCaseBugTag
extends AbstractTestCaseDocAttribute

Describes a bug for a test case. To provide a link in the test case documentation for the both GUI and the HTML results simply set the bugTrackerUrl parameter the Jameleon configuration. 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-bug>

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

TestCaseBugTag

public TestCaseBugTag()
Method Detail

setTestCaseValue

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


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