Class InstanceInfo<T>

    • Constructor Detail

      • InstanceInfo

        public InstanceInfo​(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 Class<T> getInstanceClass()
        Specified by:
        getInstanceClass in interface IInstanceInfo<T>
        Returns:
        The class on which the TestNG annotations should be looked for.