Class SilverTestEnvContext.TestExecutionContext

java.lang.Object
org.silverpeas.kernel.test.extension.SilverTestEnvContext.TestExecutionContext
Enclosing class:
SilverTestEnvContext

public static class SilverTestEnvContext.TestExecutionContext extends Object
Execution context of a given test.
Author:
mmoquillon
  • Method Details

    • getInstance

      public Object getInstance()
      Gets the instance of the test.
      Returns:
      an object of a unit test class.
    • getType

      public Class<?> getType()
      Gets the type of the unit test class.
      Returns:
      the unit test class.
    • getTest

      public Method getTest()
      Gets the unit test targeted for execution.
      Returns:
      the method representing the unit test.