net.surveyos.sourceforge.bizzjump.core.integrationtests
Class SystemTester

java.lang.Object
  extended by net.surveyos.sourceforge.bizzjump.core.integrationtests.SystemTester

public class SystemTester
extends java.lang.Object

Object that allows integration testing and systems testing to be done within BizzJUMP or by BizzJUMP plug-ins. These tests are different from unit tests because they typically test the interactions between components.


Constructor Summary
SystemTester(boolean argIsTestingActivated)
           
 
Method Summary
 void addTest(IntegrationTest argTest)
           
 TestingEvent getEvent(java.lang.String argName)
           
 java.lang.Integer getState(java.lang.String argFlagName)
           
 boolean hasEvent(java.lang.String argName)
           
 boolean isTestingActivated()
           
 void logEvent(java.lang.String argEventName)
           
 void publishTestResult(IntegrationTestResult argTestResult)
           
 IntegrationTestResult runTest(java.lang.String argName)
           
 void setIntegrationTestPublisher(IntegrationTestResultPublisher argPublisher)
           
 void setStateIndicatorFlag(java.lang.String argFlagName, java.lang.Integer argFlagValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemTester

public SystemTester(boolean argIsTestingActivated)
Method Detail

publishTestResult

public void publishTestResult(IntegrationTestResult argTestResult)

isTestingActivated

public boolean isTestingActivated()

addTest

public void addTest(IntegrationTest argTest)

runTest

public IntegrationTestResult runTest(java.lang.String argName)

setIntegrationTestPublisher

public void setIntegrationTestPublisher(IntegrationTestResultPublisher argPublisher)

logEvent

public void logEvent(java.lang.String argEventName)

getEvent

public TestingEvent getEvent(java.lang.String argName)

hasEvent

public boolean hasEvent(java.lang.String argName)

setStateIndicatorFlag

public void setStateIndicatorFlag(java.lang.String argFlagName,
                                  java.lang.Integer argFlagValue)

getState

public java.lang.Integer getState(java.lang.String argFlagName)