Class InstanceInfo<T>

    • Constructor Summary

      Constructors 
      Constructor Description
      InstanceInfo​(java.lang.Class<T> cls, T instance)  
    • Constructor Detail

      • InstanceInfo

        public InstanceInfo​(java.lang.Class<T> cls,
                            T instance)
    • Method Detail

      • getInstance

        public T getInstance()
        Specified by:
        getInstance in interface IInstanceInfo<T>
        Returns:
        The instance on which the tests will be invoked.
      • getInstanceClass

        public java.lang.Class<T> getInstanceClass()
        Specified by:
        getInstanceClass in interface IInstanceInfo<T>
        Returns:
        The class on which the TestNG annotations should be looked for.