Class TestOrConfiguration

    • Field Detail

      • m_groups

        private java.lang.String[] m_groups
      • m_enabled

        private boolean m_enabled
      • m_dependsOnGroups

        private java.lang.String[] m_dependsOnGroups
      • m_dependsOnMethods

        private java.lang.String[] m_dependsOnMethods
      • m_description

        private java.lang.String m_description
      • m_priority

        private int m_priority
      • m_timeOut

        private long m_timeOut
    • Constructor Detail

      • TestOrConfiguration

        public TestOrConfiguration()
    • Method Detail

      • getGroups

        public java.lang.String[] getGroups()
        Specified by:
        getGroups in interface ITestOrConfiguration
        Returns:
        The list of groups this class/method belongs to.
      • getEnabled

        public boolean getEnabled()
        Description copied from interface: IParameterizable
        Whether this annotation is enabled.
        Specified by:
        getEnabled in interface IParameterizable
        Returns:
        true if enabled
      • getDescription

        public java.lang.String getDescription()
        Specified by:
        getDescription in interface ITestOrConfiguration
        Returns:
        The description for this method, which will be shown in the reports.
      • getDependsOnGroups

        public java.lang.String[] getDependsOnGroups()
        Specified by:
        getDependsOnGroups in interface ITestOrConfiguration
        Returns:
        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.
      • getDependsOnMethods

        public java.lang.String[] getDependsOnMethods()
        Specified by:
        getDependsOnMethods in interface ITestOrConfiguration
        Returns:
        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.

      • getPriority

        public int getPriority()
      • setPriority

        public void setPriority​(int priority)
      • getTimeOut

        public long getTimeOut()
        Specified by:
        getTimeOut in interface ITestOrConfiguration
        Returns:
        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.