Class JUnitConfigExecutionClass


  • public class JUnitConfigExecutionClass
    extends java.lang.Object
    The definition of a class which executes a list of JUnit @Test methods.
    • Constructor Summary

      Constructors 
      Constructor Description
      JUnitConfigExecutionClass​(com.dkfqs.tools.json.eclipsesource.JsonObject o)
      Create a new instance from a JSON object.
      JUnitConfigExecutionClass​(java.lang.String executingClassName, java.util.ArrayList<java.lang.String> testMethodNamesList)
      Create a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class getExecutingClass()
      Transient: get the executing class.
      java.lang.String getExecutingClassName()
      Get the full class name.
      java.util.List<java.lang.String> getTestMethodNamesList()
      Get the list of @Test method names.
      void setExecutingClass​(java.lang.Class executingClass)
      Transient: set the executing class.
      com.dkfqs.tools.json.eclipsesource.JsonObject toJsonObject()
      Get a JSON object of this instance.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JUnitConfigExecutionClass

        public JUnitConfigExecutionClass​(java.lang.String executingClassName,
                                         java.util.ArrayList<java.lang.String> testMethodNamesList)
        Create a new instance.
        Parameters:
        executingClassName - the full class name, package delimiter = '.'
        testMethodNamesList - the list of @Test method names
      • JUnitConfigExecutionClass

        public JUnitConfigExecutionClass​(com.dkfqs.tools.json.eclipsesource.JsonObject o)
        Create a new instance from a JSON object.
        Parameters:
        o - the JSON object
        See Also:
        toJsonObject()
    • Method Detail

      • setExecutingClass

        public void setExecutingClass​(java.lang.Class executingClass)
        Transient: set the executing class.
        Parameters:
        executingClass - the executing class
      • getExecutingClass

        public java.lang.Class getExecutingClass()
        Transient: get the executing class.
        Returns:
        the executing class
      • getExecutingClassName

        public java.lang.String getExecutingClassName()
        Get the full class name.
        Returns:
        the full class name
      • getTestMethodNamesList

        public java.util.List<java.lang.String> getTestMethodNamesList()
        Get the list of @Test method names.
        Returns:
        the list of @Test method names
      • toJsonObject

        public com.dkfqs.tools.json.eclipsesource.JsonObject toJsonObject()
        Get a JSON object of this instance.
        Returns:
        the JSON object of this instance