Class JUnitConfigExecution


  • public class JUnitConfigExecution
    extends java.lang.Object
    The definition for the JUnit execution classes for (real load) test.
    See Also:
    JUnit4MainRunner
    • Constructor Detail

      • JUnitConfigExecution

        public JUnitConfigExecution()
        Create a new, empty instance.
      • JUnitConfigExecution

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

        public JUnitConfigExecution​(java.io.File f)
                             throws java.io.IOException
        Create a new instance from a file which contains the JSON object.
        Parameters:
        f - the file which contains the JSON object
        Throws:
        java.io.IOException - if somewhat fails
        See Also:
        writeToFile(File)
    • Method Detail

      • addJUnitConfigExecutionClass

        public void addJUnitConfigExecutionClass​(JUnitConfigExecutionClass jUnitConfigExecutionClass)
        Add the definition of a class which executes a list of JUnit @Test methods.
        Parameters:
        jUnitConfigExecutionClass - the definition of a class which executes a list of JUnit @Test methods
      • getjUnitConfigExecutionClassList

        public java.util.List<JUnitConfigExecutionClass> getjUnitConfigExecutionClassList()
        Get a list of all definition of a class which executes a list of JUnit @Test methods.
        Returns:
        a list of all definition of a class which executes a list of JUnit @Test methods
      • toJsonObject

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

        public void writeToFile​(java.io.File f)
                         throws java.io.IOException
        Write the data of this instance to a file.
        Parameters:
        f - the file
        Throws:
        java.io.IOException - if somewhat fails