Class CurrentTest


  • public class CurrentTest
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      CurrentTest()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Optional<java.lang.Long> getId()
      This method returns Zebrunner Test id.
      static void revertRegistration()  
      • Methods inherited from class java.lang.Object

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

      • CurrentTest

        public CurrentTest()
    • Method Detail

      • getId

        public static java.util.Optional<java.lang.Long> getId()
        This method returns Zebrunner Test id.
        Returns:
        if test has not been reported yet - empty Optional, otherwise - Optional containing Zebrunner Test id.
      • revertRegistration

        public static void revertRegistration()