Class AbstractTestBoundaryActionContainer

All Implemented Interfaces:
Described, Named, Completable, TestActionContainer, ReferenceResolverAware, TestAction, TestActorAware
Direct Known Subclasses:
SequenceAfterTest, SequenceBeforeTest

public abstract class AbstractTestBoundaryActionContainer extends AbstractActionContainer implements ReferenceResolverAware
Abstract test action container describes methods to enable/disable container execution based on given test name, package and test groups. This action container is typically used by before and after test action containers.
Since:
2.0
  • Constructor Details

  • Method Details

    • shouldExecute

      public boolean shouldExecute(String testName, String packageName, String[] includedGroups)
      Checks if this suite actions should execute according to suite name and included test groups.
      Parameters:
      testName -
      packageName -
      includedGroups -
      Returns:
    • getTestGroups

      public List<String> getTestGroups()
      Gets the test groups that restrict the container execution.
      Returns:
    • setTestGroups

      public void setTestGroups(List<String> testGroups)
      Sets the test groups that restrict the container execution.
      Parameters:
      testGroups -
    • getNamePattern

      public String getNamePattern()
      Gets the name pattern.
      Returns:
    • setNamePattern

      public void setNamePattern(String namePattern)
      Sets the name pattern.
      Parameters:
      namePattern -
    • getPackageNamePattern

      public String getPackageNamePattern()
      Gets the package name pattern.
      Returns:
    • setPackageNamePattern

      public void setPackageNamePattern(String packageNamePattern)
      Sets the package name pattern.
      Parameters:
      packageNamePattern -
    • getEnv

      public Map<String,String> getEnv()
      Gets the env.
      Returns:
    • setEnv

      public void setEnv(Map<String,String> env)
      Sets the env.
      Parameters:
      env -
    • getSystemProperties

      public Map<String,String> getSystemProperties()
      Gets the systemProperties.
      Returns:
    • setSystemProperties

      public void setSystemProperties(Map<String,String> systemProperties)
      Sets the systemProperties.
      Parameters:
      systemProperties -
    • setReferenceResolver

      public void setReferenceResolver(ReferenceResolver referenceResolver)
      Specified by:
      setReferenceResolver in interface ReferenceResolverAware