com.atlassian.jira.functest.framework
Class SuiteListenerWrapper

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

public class SuiteListenerWrapper
extends Object
implements junit.framework.Test, 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(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(JIRAEnvironmentData environmentData)
Specified by:
setEnvironmentData in interface EnvironmentAware


Copyright © 2002-2014 Atlassian. All Rights Reserved.