pt.digitalis.dif.sanitycheck.manager
Class SanityCheckTestSuiteDefinition

java.lang.Object
  extended by pt.digitalis.dif.sanitycheck.manager.SanityCheckTestSuiteDefinition

public class SanityCheckTestSuiteDefinition
extends Object

Defines a given test suite for usage by the SanityCheckManager internals

Author:
Pedro Viegas pviegas@digitalis.pt
Created on:
15 de Jul de 2011

Constructor Summary
SanityCheckTestSuiteDefinition(String id, ISanityCheckTestSuite testSuiteInstance)
           
 
Method Summary
 List<SanityCheckTestSuiteDefinition> getDependencies()
           
 SanityCheckResult getExecutionResult()
          Inspector for the 'executionResult' attribute.
 Method getFinalizeMethod()
          Inspector for the 'finalizeMethod' attribute.
 String getId()
          Inspector for the 'id' attribute.
 String getName()
          Inspector for the 'name' attribute.
 Method getSetupMethod()
          Inspector for the 'setupMethod' attribute.
 List<TestMethodDefinition> getTestMethods()
          Inspector for the 'testMethods' attribute.
 ISanityCheckTestSuite getTestSuiteInstance()
          Inspector for the 'testSuiteInstance' attribute.
 void runTestsFinalize()
          Runs the finalize method of the test suite
 void runTestsSetup()
          Runs the setup method of the test suite
 void setExecutionResult(SanityCheckResult executionResult)
          Modifier for the 'executionResult' attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SanityCheckTestSuiteDefinition

public SanityCheckTestSuiteDefinition(String id,
                                      ISanityCheckTestSuite testSuiteInstance)
Parameters:
id -
testSuiteInstance -
Method Detail

getDependencies

public List<SanityCheckTestSuiteDefinition> getDependencies()
Returns:
the dependent list of

getExecutionResult

public SanityCheckResult getExecutionResult()
Inspector for the 'executionResult' attribute.

Returns:
the executionResult value

getFinalizeMethod

public Method getFinalizeMethod()
Inspector for the 'finalizeMethod' attribute.

Returns:
the finalizeMethod value

getId

public String getId()
Inspector for the 'id' attribute.

Returns:
the id value

getName

public String getName()
Inspector for the 'name' attribute.

Returns:
the name value

getSetupMethod

public Method getSetupMethod()
Inspector for the 'setupMethod' attribute.

Returns:
the setupMethod value

getTestMethods

public List<TestMethodDefinition> getTestMethods()
Inspector for the 'testMethods' attribute.

Returns:
the testMethods value

getTestSuiteInstance

public ISanityCheckTestSuite getTestSuiteInstance()
Inspector for the 'testSuiteInstance' attribute.

Returns:
the testSuiteInstance value

runTestsFinalize

public void runTestsFinalize()
                      throws IllegalArgumentException,
                             IllegalAccessException,
                             InvocationTargetException
Runs the finalize method of the test suite

Throws:
InvocationTargetException
IllegalAccessException
IllegalArgumentException

runTestsSetup

public void runTestsSetup()
                   throws IllegalArgumentException,
                          IllegalAccessException,
                          InvocationTargetException
Runs the setup method of the test suite

Throws:
InvocationTargetException
IllegalAccessException
IllegalArgumentException

setExecutionResult

public void setExecutionResult(SanityCheckResult executionResult)
Modifier for the 'executionResult' attribute.

Parameters:
executionResult - the new executionResult value to set


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.