com.atlassian.jira.functest.framework
Class SuiteListenerWrapper

java.lang.Object
  extended by com.atlassian.jira.functest.framework.SuiteListenerWrapper
All Implemented Interfaces:
com.atlassian.jira.webtests.util.EnvironmentAware, junit.framework.Test

public class SuiteListenerWrapper
extends Object
implements junit.framework.Test, com.atlassian.jira.webtests.util.EnvironmentAware

Class to wrap a test so that a WebTestListener can listen to a test.

Since:
v4.2

Constructor Summary
SuiteListenerWrapper(junit.framework.Test delegate, WebTestListener listener)
           
 
Method Summary
 int countTestCases()
           
 junit.framework.Test delegate()
           
 void run(junit.framework.TestResult testResult)
           
 void setEnvironmentData(com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuiteListenerWrapper

public SuiteListenerWrapper(junit.framework.Test delegate,
                            WebTestListener listener)
Method Detail

delegate

public junit.framework.Test delegate()

countTestCases

public int countTestCases()
Specified by:
countTestCases in interface junit.framework.Test

run

public void run(junit.framework.TestResult testResult)
Specified by:
run in interface junit.framework.Test

setEnvironmentData

public void setEnvironmentData(com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
Specified by:
setEnvironmentData in interface com.atlassian.jira.webtests.util.EnvironmentAware


Copyright © 2002-2012 Atlassian. All Rights Reserved.