Class TestOrConfiguration

    • Constructor Detail

      • TestOrConfiguration

        public TestOrConfiguration()
    • Method Detail

      • getDependsOnGroups

        public String[] getDependsOnGroups()
        Description copied from interface: ITestOrConfiguration
        The list of groups this method depends on. Every method member of one of these groups is guaranteed to have been invoked before this method. Furthermore, if any of these methods was not a SUCCESS, this test method will not be run and will be flagged as a SKIP.
        Specified by:
        getDependsOnGroups in interface ITestOrConfiguration
      • getDependsOnMethods

        public String[] getDependsOnMethods()
        Description copied from interface: ITestOrConfiguration
        The list of methods this method depends on. There is no guarantee on the order on which the methods depended upon will be run, but you are guaranteed that all these methods will be run before the test method that contains this annotation is run. Furthermore, if any of these methods was not a SUCCESS, this test method will not be run and will be flagged as a SKIP. If some of these methods have been overloaded, all the overloaded versions will be run.
        Specified by:
        getDependsOnMethods in interface ITestOrConfiguration
      • getParameters

        public String[] getParameters()
        Description copied from interface: IParameterizable
        The list of variables used to fill the parameters of this method. These variables must be defined in the property file.
        Specified by:
        getParameters in interface IParameterizable
      • setParameters

        public void setParameters​(String[] parameters)
      • getPriority

        public int getPriority()
      • setPriority

        public void setPriority​(int priority)
      • getTimeOut

        public long getTimeOut()
        Description copied from interface: ITestOrConfiguration
        Returns the maximum number of milliseconds this test should take. If it hasn't returned after this time, it will be marked as a FAIL.
        Specified by:
        getTimeOut in interface ITestOrConfiguration
        Returns:
        the maximum number of milliseconds this test should take.